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.
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-6 Astra | 1.1M | 110 | 550 | September 2026 |
| GPT-6 Astra Pro | 1.1M | 110 | 550 | September 2026 |
| GPT-5.6 Luna Pro | 1.1M | 2.2 | 13.2 | July 2026 |
| GPT-5.6 Luna Pro (batch) | 1.1M | 1.1 | 6.6 | July 2026 |
| GPT-5.6 Luna (batch) | 1.1M | 1.1 | 6.6 | July 2026 |
| GPT-5.6 Luna | 1.1M | 2.2 | 13.2 | July 2026 |
| GPT-5.6 Terra Pro (batch) | 1.1M | 11.0 | 66.0 | July 2026 |
| GPT-5.6 Terra Pro | 1.1M | 22.0 | 132 | July 2026 |
| GPT-5.6 Terra | 1.1M | 22.0 | 132 | July 2026 |
| GPT-5.6 Terra (batch) | 1.1M | 11.0 | 66.0 | July 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-6 Astra is OpenAI's flagship model for demanding end-to-end work. It is suited for advanced analysis, software engineering, deep research, scientific work, and document creation, with particular strengths in long-horizon...
GPT-6 Astra Pro is the same underlying model as [GPT-6 Astra](https://openrouter.ai/openai/gpt-6-astra), 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 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 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 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...
More you can do with GPT-5.1-Codex-Mini
- 465 AI skillsReady-to-run expert methods for writing, data, code and more, each running on GPT-5.1-Codex-Mini or any model you pick.
- 997 integrationsConnect Gmail, Slack, GitHub, Notion and hundreds more so the assistant can work in your apps.
- Simple pricingPlus, Pro and Max plans with a monthly credit allowance that works across every model.