Codex Mini API via TokenMix

Use Codex Mini from OpenAI as a chat model through the TokenMix AI API relay and multi-model gateway.

OpenAI Codex Mini is a compact coding model with 200K context and 100K max output. Supports text and image input, optimized for code completion, generation, and developer workflows.

API access

  • Base URL: https://api.tokenmix.ai/v1
  • Model ID: codex-mini
  • OpenAI SDK compatible. Change the base URL and use your TokenMix API key.

Pricing

Input $1.455/M tokens, output $5.82/M tokens

Capabilities

Vision, Function calling, JSON mode, Streaming

Model specs

  • Context: 200K tokens
  • Max output: 100K tokens

Availability

1/1 available API endpoints are healthy right now.

Recent performance

TTFT 359ms, latency 2392ms, throughput 78.6 tok/s.

Start using this model

Create an API key, top up from $1 when needed, and call this model through the TokenMix OpenAI-compatible endpoint.

Create API key · View pricing · Quickstart