API pricing and cost
GPT-5-Codex-Mini pricing
GPT 5 Codex Mini official API pricing is $1.50 per million input tokens and $6.00 per million output tokens.
Covers the 2025-11-07 GPT-5-Codex-Mini release. Superseded by GPT-5.1 Codex Mini pricing.
$1.50
Official input / 1M
Standard tier
$6.00
Official output / 1M
Standard tier
$1.59
Blended / 1M
4:1 input/output, 90% input cached
$159.00
Example monthly cost
10K requests, 8K input + 2K output/request, 90% input cached
Token charges only; tool calls, taxes, and other non-token fees are excluded.
Official API pricing
USD / 1M text tokens · Standard · Effective from 2026-01-02 · Last verified 2026-09-25
- InputStandard text tier, per million tokens
- $1.50
- Cached inputInput served from the prompt cache
- $0.375
- Cache writeCharged once when a prompt enters the cache
- $0.00
- OutputStandard text tier, per million tokens
- $6.00
Other modalities
- image input: $1.50 / 1M tokens
Migrated from MODEL_API_PRICE#59 (standard)
- image cache read: $0.375 / 1M tokens
cache_status = hit · Migrated cached input from MODEL_API_PRICE#60
- image cache write: $0.00 / 1M tokens
cache_status = write · Migrated cache write from MODEL_API_PRICE#60
API providers (1)
Published USD text API rates across hosting providers for GPT-5-Codex-Mini. Compare listed rates, effective dates, and service-tier notes for the same model.
| Provider | Input / 1M | Cached / 1M | Output / 1M | Additional tiers & notes |
|---|---|---|---|---|
| OpenAIOfficialEffective from 2026-01-02 · Last verified 2026-09-25 | $1.50 | $0.375 | $6.00 | — |
What GPT-5-Codex-Mini costs to run
Four workloads costed at official standard rates. Cached-input share is an estimation assumption, not a provider guarantee; when no cached rate is published, all input is billed at the uncached rate. Non-token fees are excluded.
| Workload | Per request | Monthly tokens | Input | Output | Per month |
|---|---|---|---|---|---|
| Chatbotshort turns | 1,500 in · 500 out× 100,000 requests | 150M in · 50M out | $225.00 | $300.00 | $525.00$0.00525 / request |
| Assistant8K context · 90% cached | 8,000 in · 2,000 out× 10,000 requests | 80M in · 20M out | $39.00 | $120.00 | $159.00$0.02 / request |
| RAGlong input, cached · 50% cached | 24,000 in · 800 out× 20,000 requests | 480M in · 16M out | $450.00 | $96.00 | $546.00$0.03 / request |
| Coding agentlong output · 70% cached | 15,000 in · 4,000 out× 20,000 requests | 300M in · 80M out | $213.75 | $480.00 | $693.75$0.03 / request |
Monthly cost
$159.00
on GPT-5-Codex-Mini
Per request
$0.02
80M in · 20M out a month
Split
$39.00 + $120.00
input + output
The same workload costs $68.40 on Composer 2.5, the cheapest of the comparable models below.
GPT-5-Codex-Mini against comparable models
Benchmark-overlap peers and price-comparable same-type models, costed on the assistant workload above. All figures use the same workload and caching rule; lower price does not imply equivalent capability or service terms.
| Model | Basis | Blended / 1M | Per month | vs GPT-5-Codex-Mini |
|---|---|---|---|---|
| Composer 2.5Cursor | Lower-cost option | $0.684 | $68.40 | 57%cheaper · 2.3× |
| Doubao Seed 2.0 CodeByteDance Seed Team | Lower-cost option | $0.712 | $71.20 | 55%cheaper · 2.2× |
| Kimi K2.7 CodeMoonshot AI | Lower-cost option | $1.01 | $101.28 | 36%cheaper |
| Grok 4.5xAI | Lower-cost option | $1.58 | $157.60 | 0.9%cheaper |
| GPT-5-Codex-MiniOpenAI · this model | This model | $1.59 | $159.00 | — |
| Grok 4.6xAI | Similar price | $1.72 | $172.00 | 8.2%dearer |
| GPT-5.3 CodexOpenAI | Similar price | $3.07 | $306.60 | 93%dearer |
Catalog price position: #168 cheapest of 252 active priced models in the LLMLearner catalog (cheaper than 33% at the 4:1 mix with 90% of input assumed cached where published; official headline rates).
GPT-5-Codex-Mini pricing questions
- How much does GPT-5-Codex-Mini cost per million tokens?
- GPT 5 Codex Mini official API pricing is $1.50 per million input tokens and $6.00 per million output tokens. Cached input is billed at $0.375 per million tokens. At the default 4:1 input-to-output mix with 90% of input assumed cached, that is $1.59 per million blended tokens.
- What does GPT-5-Codex-Mini cost per month, and what is included?
- On the example Assistant workload (10,000 requests/month, 8,000 input and 2,000 output tokens/request, 90% input cached), GPT-5-Codex-Mini costs about $159.00/month ($0.02/request). This includes token charges at the official rate only; tool calls, off-peak or batch tiers, and taxes are excluded.
- Is there a cheaper alternative to GPT-5-Codex-Mini?
- Among the comparable models shown on this page, Composer 2.5 is cheaper at $0.684 per million blended tokens vs $1.59 for GPT-5-Codex-Mini. Compare benchmarks before switching, as a lower rate does not guarantee equivalent quality or service terms. Across all 252 active priced models in the LLMLearner catalog, GPT-5-Codex-Mini ranks 168th cheapest (cheaper than 33% at the default 4:1 mix).
- Does GPT-5-Codex-Mini charge for cached input?
- Yes, at a discount: $0.375 per million cached input tokens against $1.50 uncached, with cache writes billed at $0.00 per million.