Model detail
codex-mini-latest
Codex Mini is OpenAI's lightweight agentic coding model, optimized for smaller-scale coding tasks.
Model specs
- Model ID
-
codex-mini
- Context length
- 200K
- Max output
- 100K
- I/O modalities
- Released
- 2025-05
02
API endpoints
One MixRoute gateway, OpenAI-compatible
-
OpenAI-compatible
/v1/chat/completionsPOST
03
Pricing
Flat rate, unit: /1M Tokens
Input
$75.0000 /1M Tokens
Completion
$75.0000 /1M Tokens
05
Selection summary
Quickly judge whether it fits your workload
What is this model good for?
Codex Mini is OpenAI's lightweight agentic coding model
Codex Mini is OpenAI's lightweight agentic coding model, optimized for smaller-scale coding tasks.
What should you check before using it?
200,000 context, 100,000 output tokens
OpenAI model that supports reasoning, tool calling and structured output. Knowledge cutoff: 2024-06-01. Released 2025-05-16.
Why use it through MixRoute?
codex-mini-latest keeps its 200,000-token context on one route
The full 200,000-token context stays reachable on the same route. MixRoute serves codex-mini-latest on the OpenAI-compatible endpoint /v1/chat/completions; point your existing client at https://api.mixroute.ai/v1 with the model ID codex-mini and re-run your integration tests.
07
Capabilities & compatibility
Unconfirmed capabilities stay "Unknown," no guesses
Tool calling
codex-mini-latest supports function and tool calls.
tools definition; the response returns tool_calls to execute and feed results back.
Structured output
codex-mini-latest can produce JSON-formatted output on demand.
response_format: { type: "json_schema" } forces valid JSON output.
Streaming
codex-mini-latest supports streamed responses.
stream: true streams tokens incrementally, so chat UIs render as they arrive.
Prompt caching
codex-mini-latest supports prompt caching under supported routing conditions.
Vision input
codex-mini-latest can process image inputs alongside text.
image_url content part alongside text messages.
OpenAI SDK
Call codex-mini-latest through MixRoute's OpenAI-compatible endpoint.
base_url to https://api.mixroute.ai/v1; everything else follows the OpenAI style.
08
Token cost estimator
Live estimate from this page's pricing, not an actual bill
This model has no cache-read price; caching is not counted
09
FAQ
The current model record does not publish a numeric rate limit for codex-mini-latest. Confirm the quota for your plan in the console, then run a short load test at your expected concurrency to establish the effective ceiling before production.
One endpoint, a testable decision
Test this model and alternate routes with the same request format
Start from a real workload, then let quality, total cost, and failure conditions decide whether to send production traffic.