GPT-5 Codex: API pricing, providers and specs
GPT-5 Codex is a text model by OpenAI. 11 providers serve it, from $8 to $10 /1M; the lowest price is at APIMart.
A newer version is out: GPT-5.2 Codex · released Dec 18, 2025
How GPT-5 Codex compares
Against the 737 text models on the site priced the same way.
- Pricey for its class: at $8 /1M, its lowest price is above 83% of comparable models (median $1.10).
- Its 400K-token context window is larger than 62% of them (median 262K), about 600 pages of text.
- 11 providers serve it; 78% of comparable models have fewer.
GPT-5 Codex prices by provider
Every provider's list price, read from its own price page or API. A price marked “from” changes with context length, resolution or mode.
| Provider | Input | Output | Prompt caching | Context |
|---|---|---|---|---|
| APIMart | $1/1M | $8/1M | — | — |
| OpenCode | $1.07/1M | $8.50/1M | $0.107/1M | — |
Jiekou.AI | $1.19/1M | $9.50/1M | $0.119/1M | — |
| ZenMux | $1.25/1M | $10/1M | $0.125/1M | 400K |
| Vercel AI Gateway | $1.25/1M | $10/1M | $0.13/1M | 400K |
| $1.25/1M | From$10/1M | $0.125/1M | — | |
Impossibl | $1.25/1M | $10/1M | $0.125/1M | — |
APIYI | $1.25/1M | $10/1M | — | — |
CrazyRouter | $1.25/1M | $10/1M | — | — |
| $1.25/1M | $10/1M | $0.125/1M | 400K | |
| $1.25/1M | From$10/1M | $0.125/1M | — |
Specs
- Type
- Text
- Maker
- OpenAI
- Inputs
- Image, Text
- Outputs
- Text
- Context
- 400K≈ 600 pages of text
- Max output
- 128K
- Capabilities
- Prompt caching, JSON, Reasoning, Tool calling, Vision
- Released
- Sep 15, 2025
- License
- —
- Open weights
- —
Alternatives to GPT-5 Codex
Same kind of model from other makers, at a similar price.
| Model | Lowest price | Context | Arena | Providers |
|---|---|---|---|---|
| GPT-5 Codexthis model | $8/1M | 400K | — | 11 |
| $8/1M | 1.05M | 1673 | 26 | |
| Kimi K3 | $8.28/1M | 1.05M | 1655 | 47 |
| $16/1M | 1.05M | — | 14 | |
| Claude Opus 5.5 | $16/1M | 1M | 1807 | 33 |
| $4.11/1M | 1M | — | 22 | |
| Grok 4.7 | $4.80/1M | 500K | 1637 | 28 |
| $4.25/1M | 1.05M | 1657 | 11 | |
| Claude Sonnet 5.5 | $8/1M | 1M | 1767 | 32 |
More from OpenAI
GPT-5 Codex FAQ
The lowest price for GPT-5 Codex is $8 /1M, at APIMart.
APIMart, at $8 /1M. 11 providers serve GPT-5 Codex; the table above lists every one with its price.
GPT-5 Codex reads up to 400K tokens per request and writes up to 128K.
We have not found GPT-5 Codex's weights published by its maker.
11 API providers serve GPT-5 Codex. Compare their prices above, or open a provider to see everything it offers.
Can't find what you're looking for? Contact us



