OpenAI: GPT-5.1-Codex-Mini
by OpenAIOpenAI: GPT-5.1-Codex-Mini is a large language model from OpenAI. It costs $0.250 per million input tokens and $2.00 per million output tokens. Its context window is 400K tokens.
- Input / 1M tokens
- $0.250
- Output / 1M tokens
- $2.00
- Cached input / 1M
- $0.030
- Context window
- 400K
On repeated prefixes
tokens
This model also charges $0.01 per search request
That is $10.00 per 1,000 requests, billed on top of the token prices above. On a typical 1,000-in / 500-out exchange the tokens cost $0.0013, so the search fee is 8.0× the token cost. Per-token rankings elsewhere ignore this entirely.
Who serves it cheapest
1 hosts serve GPT-5.1-Codex-Mini. Same weights, same API - the price difference is pure margin and routing.
| Provider | Input / 1M | Output / 1M | Context | Throughput | Uptime 24h |
|---|---|---|---|---|---|
| AzureCheapest | $0.250 | $2.00 | 400K | - | 100.0% |
About GPT-5.1-Codex-Mini
GPT-5.1-Codex-Mini is a smaller and faster version of GPT-5.1-Codex
Specifications
| Model ID | openai/gpt-5.1-codex-mini |
|---|---|
| Provider | OpenAI |
| Context window | 400K tokens |
| Max output | 128K tokens |
| Input modalities | image, text |
| Output modalities | text |
| Knowledge cutoff | - |
| Open weights | No |
| Released | November 13, 2025 |
Cheaper alternatives
Models that cost less than GPT-5.1-Codex-Mini while keeping at least half its context window and every input modality it supports.
Frequently asked
How much does OpenAI: GPT-5.1-Codex-Mini cost?
$0.250 per million input tokens and $2.00 per million output tokens. Cached input reads cost $0.030 per million tokens.
What is the context window of OpenAI: GPT-5.1-Codex-Mini?
400K tokens, with up to 128K tokens of output per request.
Does OpenAI: GPT-5.1-Codex-Mini have extra fees beyond per-token pricing?
Yes. OpenAI: GPT-5.1-Codex-Mini charges $0.01 per search request - $10.00 per 1,000 requests - on top of $0.250 per million input tokens and $2.00 per million output tokens. On a typical 1,000-input / 500-output exchange the search fee alone is 8.0× the token cost.
Confirm against the source: OpenAI official pricing.