GPT-5.1-Codex-Mini
CodingVisionToolsOpenAI · Released November 2025
GPT-5.1-Codex-Mini is a smaller and faster version of GPT-5.1-Codex
It is part of OpenAI's GPT family, where Sol, Luna and Terra mark the current generation's capability tiers and Pro servings trade speed for deeper computation.
Facts and pricing
- Provider
- OpenAI
- Context window
- 400K tokens
- Input price
- 2.8 credits / 1M tokens ($0.25 raw)
- Output price
- 22.0 credits / 1M tokens ($2.00 raw)
- Vision (image input)
- Yes
- Tool calling
- Yes
- Extended reasoning
- No
Credits are what Zeplik bills: 1 credit = $0.10, computed from the raw provider rate with a 1.10x margin. Raw prices shown per 1M tokens.
Try GPT-5.1-Codex-Mini now
What GPT-5.1-Codex-Mini is best for
- Writing, reviewing and refactoring code; agentic coding workflows
- Long documents: the 400K-token window holds lengthy reports, contracts or papers whole
- Working with images: screenshots, charts, photos and scanned documents alongside text
- Tool use and agents: reliably calls functions, so it can search, run skills and drive workflows
Example prompts
Prompts that suit a coding model like GPT-5.1-Codex-Mini:
- Refactor this function to be testable and write the tests
- Explain what this regex does and rewrite it to be readable
- Design a database schema for a multi-tenant invoicing app
- Review this pull request diff for correctness and edge cases
OpenAI family
| Model | Context | Input cr/M | Output cr/M | Released |
|---|---|---|---|---|
| GPT-5.6 Luna Pro | 1.1M | 11.0 | 66.0 | July 2026 |
| GPT-5.6 Luna | 1.1M | 11.0 | 66.0 | July 2026 |
| GPT-5.6 Terra Pro | 1.1M | 27.5 | 165 | July 2026 |
| GPT-5.6 Terra | 1.1M | 27.5 | 165 | July 2026 |
| GPT-5.6 Sol Pro | 1.1M | 55.0 | 330 | July 2026 |
| GPT-5.6 Sol | 1.1M | 55.0 | 330 | July 2026 |
| GPT Chat Latest | 400K | 55.0 | 330 | May 2026 |
| GPT-5.5 Pro | 1.1M | 330 | 1980 | April 2026 |
| GPT-5.5 | 1.1M | 55.0 | 330 | April 2026 |
| GPT-5.4 Image 2 | 272K | 88.0 | 165 | April 2026 |
Frequently asked questions
- What is GPT-5.1-Codex-Mini?
- GPT-5.1-Codex-Mini is an AI model by OpenAI. GPT-5.1-Codex-Mini is a smaller and faster version of GPT-5.1-Codex
- How much does GPT-5.1-Codex-Mini cost on Zeplik?
- Input tokens cost 2.8 credits per million and output tokens 22.0 credits per million (1 credit = $0.10; the raw provider rates are $0.25 and $2.00 per million). New accounts start with free credits.
- How long can a conversation with GPT-5.1-Codex-Mini be?
- GPT-5.1-Codex-Mini has a 400K-token context window (400,000 tokens), which covers the conversation plus any documents you attach.
- Does GPT-5.1-Codex-Mini support images and tools?
- GPT-5.1-Codex-Mini accepts image input and supports tool calling.
Related models
GPT-5.6 Luna Pro is the same underlying model as [GPT-5.6 Luna](https://openrouter.ai/openai/gpt-5.6-luna), served with `reasoning.mode` set to `pro` for higher-quality responses on complex tasks. Learn more in OpenAI's docs: https://developers.openai.com/api/docs/guides/reasoning#reasoning-mode
GPT-5.6 Luna is a fast, cost-efficient model in OpenAI's GPT-5.6 series. It is suited for high-volume, latency-sensitive tasks such as chat, classification, and lightweight agentic workflows, providing capable reasoning for...
GPT-5.6 Terra Pro is the same underlying model as [GPT-5.6 Terra](https://openrouter.ai/openai/gpt-5.6-terra), served with `reasoning.mode` set to `pro` for higher-quality responses on complex tasks. Learn more in OpenAI's docs: https://developers.openai.com/api/docs/guides/reasoning#reasoning-mode
GPT-5.6 Terra is a balanced model in OpenAI's GPT-5.6 series, positioned between the flagship Sol tier and the cost-efficient Luna tier. It is suited for everyday coding, reasoning, and agentic...
GPT-5.6 Sol Pro is the same underlying model as [GPT-5.6 Sol](https://openrouter.ai/openai/gpt-5.6-sol), served with `reasoning.mode` set to `pro` for higher-quality responses on complex tasks. Learn more in OpenAI's docs: https://developers.openai.com/api/docs/guides/reasoning#reasoning-mode
GPT-5.6 Sol is the flagship model in OpenAI's GPT-5.6 series. It is suited for complex reasoning, coding, and agentic workflows, and is particularly strong at command-line and multi-step coding tasks...