GPT-5.1-Codex-Mini
$0.25 per 1M input tokens and $2.00 per 1M output tokens · 400K context · vision, tools, reasoning, JSON.
Prices checked Dec 6, 2026 · tracked by LLM Cost Index since Oct 21, 2026
What GPT-5.1-Codex-Mini costs per month
Estimated monthly bill for typical workloads, using the cached-input price for repeated context. Try your own numbers in the cost calculator.
| Workload | Per month |
|---|---|
| Customer chatbot 1,000 conversations a day, 8 turns each | $210 |
| Document Q&A (RAG) 500 questions a day over retrieved documents | $35.52 |
| Coding / tool-using agent 200 tasks a day, long tool-heavy contexts | $78.60 |
| Content generation 30 long articles a day | $5.17 |
| Classification / extraction 100,000 short items a day | $315 |
Price history
No input price change since Oct 21, 2026. See all recent price changes.
Cheaper alternatives to GPT-5.1-Codex-Mini
Models with the same tool calling, image input, structured output for at least 20% less (3:1 input/output mix), most capable first.
| Model | Input / 1M | Output / 1M | Context | Capabilities |
|---|---|---|---|---|
| Claude Haiku 5.5 Anthropic | $0.10 | $0.50 | 1M | visiontoolsreasoningJSON |
| Muse Ember Meta | $0.10 | $0.50 | 1.05M | visionaudiotoolsreasoningJSON |
| DeepSeek V4.1 Flash 1017 DeepSeek | $0.02 | $0.20 | 1.05M | visiontoolsreasoningJSONopen weights |
| Inkling 2 Small Thinkingmachines | $0.15 | $0.50 | 1.05M | visiontoolsreasoningJSONopen weights |
| MiMo-V2.6-Pro Xiaomi | $0.435 | $0.87 | 1.05M | visionaudiotoolsreasoningJSONopen weights |
How to pay less for GPT-5.1-Codex-Mini
For a customer chatbot (1,000 conversations a day, 8 turns each) that costs $258 a month at list price without caching:
| Option | Per month | You save |
|---|---|---|
| Move to Claude Haiku 5.5 (similar capabilities) | $58.56 | $199 (77%) |
| Use prompt caching (60% of input cached) | $210 | $47.52 (18%) |
Other workloads: cut-your-bill tool for GPT-5.1-Codex-Mini.
Specifications
| Model ID | openai/gpt-5.1-codex-mini |
| Input | image, text |
| Output | text |
| Tool calling | Yes |
| Structured output | Yes |
| Reasoning mode | Yes |
| Open weights | No |
| Released | Nov 13, 2025 |
FAQ
- How much does GPT-5.1-Codex-Mini cost?
- $0.25 per million input tokens and $2.00 per million output tokens; cached input costs $0.03 per million. Prices as of Dec 6, 2026.
- What is the context window of GPT-5.1-Codex-Mini?
- 400K tokens, with up to 128K output tokens per response.
- Does GPT-5.1-Codex-Mini support images, tools and structured output?
- Images as input: yes. Tool calling: yes. Structured (JSON) output: yes. Reasoning mode: yes.
- What are cheaper alternatives to GPT-5.1-Codex-Mini?
- Models with the same key capabilities for at least 20% less include Claude Haiku 5.5 ($0.10 / $0.50), Muse Ember ($0.10 / $0.50), DeepSeek V4.1 Flash 1017 ($0.02 / $0.20).
More from OpenAI: all OpenAI models · how we collect prices