OpenAI
GPT-5.1-Codex-Mini
GPT-5.1-Codex-Mini is a smaller and faster version of GPT-5.1-Codex
At a glance
- Input / 1M
- $0.25
- Output / 1M
- $2
- Context
- 400K
- Max output
- 128K
- Intelligence
- 20.4
- Released
- Nov 2025
Pricing
GPT-5.1-Codex-Mini API pricing
Per-token rates, plus what common tasks actually cost.
| Input tokensPer 1M tokens | $0.25 |
|---|---|
| Output tokensPer 1M tokens | $2 |
| Cached input (read)Per 1M tokens | $0.03 |
| Cache writePer 1M tokens | Not available |
| Web searchPer request | $0.01 |
Chat message
2K in, 500 out
$1.50
per 1,000 requests
Coding task
30K in, 4K out
$15.50
per 1,000 requests
Long document summary
150K in, 2K out
$41.50
per 1,000 requests
Benchmarks
GPT-5.1-Codex-Mini benchmark scores
Independent scores from Artificial Analysis. Higher is better.
Intelligence index
20.4
Coding index
Not available
Agentic index
Not available
Specs
Context window and capabilities
What it can read, what it can write, and which API features it supports.
- Context window
- 400K tokens
- Max output
- 128K tokens
- Input types
- Image, Text
- Output types
- Text
- Reasoning effort
- High, Medium, Low
- Release date
- November 13, 2025
- Tool calling
- Structured outputs
- JSON mode
- Reasoning
- Temperature
- Stop sequences
- Deterministic seed
- Verbosity control
Compare
GPT-5.1-Codex-Mini vs other models
See how GPT-5.1-Codex-Mini stacks up head to head on price, benchmarks, and features.
GPT-5.1-Codex-Mini vs DeepSeek V4 Flash 0423
OpenAI vs DeepSeek
See comparisonGPT-5.1-Codex-Mini vs GPT-5.4 Mini
OpenAI vs OpenAI
See comparisonGPT-5.1-Codex-Mini vs Nemotron 3 Ultra
OpenAI vs NVIDIA
See comparisonGPT-5.1-Codex-Mini vs Gemini 3.5 Flash Lite
OpenAI vs Google
See comparisonGPT-5.1-Codex-Mini vs GLM 4.7
OpenAI vs Z.ai
See comparisonGPT-5.1-Codex-Mini vs Qwen3.5 397B A17B
OpenAI vs Qwen
See comparisonAlternatives
GPT-5.1-Codex-Mini alternatives
Similar models worth considering, and where each one has the edge.
DeepSeek
DeepSeek V4 Flash 0423
OpenAI
GPT-5.4 Mini
NVIDIA
Nemotron 3 Ultra
Want to learn about other models? Browse all models
FAQ
Frequently asked questions
How much does GPT-5.1-Codex-Mini cost?
GPT-5.1-Codex-Mini costs $0.25 per 1M input tokens and $2 per 1M output tokens through the API. A typical chat message costs about $1.50 per 1,000 messages.
What is the context window of GPT-5.1-Codex-Mini?
GPT-5.1-Codex-Mini accepts up to 400K tokens of input and can write up to 128K tokens in a single response.
What is the best alternative to GPT-5.1-Codex-Mini?
DeepSeek V4 Flash 0423 from DeepSeek is a strong alternative. It offers: 1.6x cheaper output, higher intelligence score, larger 1.05m context.
Can I use GPT-5.1-Codex-Mini alongside other models?
Yes. Shortcut Chat sends one prompt to GPT-5.1-Codex-Mini and any other models you pick at the same time, so you can compare answers side by side.
Try GPT-5.1-Codex-Mini next to every other model.
Use GPT-5.1-Codex-Mini alongside all the other models. Use one at a time, or multiple together. Get the best answer from every AI.