GPT-5.1 Codex mini: API pricing, providers and specs
GPT-5.1 Codex mini is a text model by OpenAI. 16 providers serve it, from $1.60 to $5 /1M; the lowest price is at APIMart.
How GPT-5.1 Codex mini compares
Against the 737 text models on the site priced the same way.
- Mid-priced: its lowest price is $1.60 /1M against a median of $1.10; 59% of comparable models cost less.
- Its 400K-token context window is larger than 62% of them (median 262K), about 600 pages of text.
- On LMArena's WebDev board it ranks #63 of the 64 comparable models scored there.
- 16 providers serve it; 85% of comparable models have fewer.
GPT-5.1 Codex mini 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 | $0.20/1M | $1.60/1M | — | — |
Jiekou.AI | $0.237/1M | $1.90/1M | $0.024/1M | — |
| ZenMux | $0.25/1M | $2/1M | $0.025/1M | 400K |
| $0.25/1M | $2/1M | $0.03/1M | 256K | |
| OpenCode | $0.25/1M | $2/1M | $0.025/1M | — |
OrcaRouter | $0.25/1M | $2/1M | $0.025/1M | 400K |
| Vercel AI Gateway | $0.25/1M | $2/1M | $0.03/1M | 400K |
| $0.25/1M | From$2/1M | $0.025/1M | — | |
| $0.25/1M | $2/1M | $0.025/1M | 400K | |
Impossibl | $0.25/1M | $2/1M | $0.025/1M | — |
| OpenRouter | $0.25/1M | From$2/1M | $0.03/1M | 400K |
| DevPass (LLM Gateway) | $0.25/1M | From$2/1M | $0.025/1M | — |
| $0.25/1M | From$2/1M | $0.025/1M | — | |
| AI/ML API | $0.325/1M | $2.60/1M | — | — |
APIYI | $1.25/1M | $3.75/1M | — | — |
CrazyRouter | $1.25/1M | $5/1M | — | — |
- APIMart$1.60
- Jiekou.AI$1.90
- ZenMux$2
- Ofox$2
- OpenCode$2
- OrcaRouter$2
- Vercel AI Gateway$2
- AIHubMix$2
- Impossibl$2
- HeliconeFrom$2
- OpenRouterFrom$2
- DevPass (LLM Gateway)From$2
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
- Nov 12, 2025
- License
- —
- Open weights
- —
- Arena score
- 1244WebDev
Alternatives to GPT-5.1 Codex mini
Same kind of model from other makers, at a similar price.
| Model | Lowest price | Context | Arena | Providers |
|---|---|---|---|---|
| GPT-5.1 Codex minithis model | $1.60/1M | 400K | 1244 | 16 |
| $1.10/1M | 1.05M | 1623 | 49 | |
| $4.11/1M | 1M | — | 22 | |
| Grok 4.7 | $4.80/1M | 500K | 1637 | 28 |
| $2.40/1M | 1.05M | 1466 | 5 | |
| $2.09/1M | 1.05M | 1543 | 13 | |
| $4.25/1M | 1.05M | 1657 | 11 | |
| $1/1M | 127K | — | 9 | |
| $1.80/1M | 1M | 1604 | 44 |
More from OpenAI
GPT-5.1 Codex mini FAQ
The lowest price for GPT-5.1 Codex mini is $1.60 /1M, at APIMart.
APIMart, at $1.60 /1M. 16 providers serve GPT-5.1 Codex mini; the table above lists every one with its price.
GPT-5.1 Codex mini reads up to 400K tokens per request and writes up to 128K.
We have not found GPT-5.1 Codex mini's weights published by its maker.
16 API providers serve GPT-5.1 Codex mini. Compare their prices above, or open a provider to see everything it offers.
Can't find what you're looking for? Contact us




