GPT-5.1 Codex mini API pricing
Standard tier, blended at 3:1 input to output: $0.688 per million tokens.
OpenRouter charges $0.250 per million input tokens and $2.00 per million output tokens for GPT-5.1 Codex mini. 2 of the models nearest it in price are cheaper on a blended basis.
Against the models nearest in price
Standard tiers, blended at a 3:1 input to output ratio.
| Source | ||||||
|---|---|---|---|---|---|---|
| GPT-5.1 Codex mini This model | OpenRouter | $0.250 | $2.00 | 400,000 | $0.688 | ↗ |
| GPT-5 mini | OpenAI | $0.250 | $2.00 | 272,000 | $0.688 | ↗ |
| GPT-4.1 mini | OpenAI | $0.400 | $1.60 | 1,047,576 | $0.700 | ↗ |
| Mistral Large 3 | Mistral AI | $0.500 | $1.50 | 262,144 | $0.750 | ↗ |
| Command A Plus | OpenRouter | $0.300 | $1.50 | 192,000 | $0.600 | ↗ |
| Gemini 2.5 Flash | Google AI | $0.300 | $2.50 | 1,048,576 | $0.850 | ↗ |
| DeepSeek V3.1 | Together AI | $0.600 | $1.70 | 131,072 | $0.875 | ↗ |
| Llama 3.1 Nemotron 70B Instruct Hf | Together AI | $0.880 | $0.880 | 32,768 | $0.880 | ↗ |
| DeepSeek V3 | DeepSeek | $0.270 | $1.10 | 65,536 | $0.477 | ↗ |
Prices last checked: . Methodology
Questions
How much does GPT-5.1 Codex mini cost per million tokens?
$0.250 per million input tokens and $2.00 per million output tokens, with cached input at $0.030. At a 3:1 input to output mix that blends to $0.688. Checked 28 Oct 2026.
What would GPT-5.1 Codex mini cost for a real workload?
A thousand requests a day at 2,000 input and 600 output tokens each comes to $51.00 a month on the standard tier.
What is the context window for GPT-5.1 Codex mini?
400,000 tokens of input, with up to 128,000 tokens of output.
GPT-5 mini · GPT-4.1 mini · Mistral Large 3 · Command A Plus · Gemini 2.5 Flash · All OpenRouter models · Cost calculator