GPT-5.1-Codex-Max
CodingVisionToolsOpenAI · Released December 2025
GPT-5.1-Codex-Max is OpenAI’s latest agentic coding model, designed for long-running, high-context software development tasks.
It is part of OpenAI's GPT family, where GPT-6 Astra leads, GPT-6 Sol and GPT-6 Luna cover the capability and speed tiers below it, the GPT-5.6 generation sits behind them, and Pro servings trade speed for deeper computation.
Facts and pricing
- Provider
- OpenAI
- Context window
- 400K tokens
- Input price
- 15.0 credits / 1M tokens ($1.25 raw)
- Output price
- 120 credits / 1M tokens ($10.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.20x margin. Raw prices shown per 1M tokens.
Try GPT-5.1-Codex-Max now
What GPT-5.1-Codex-Max 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-Max:
- 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.1 Terra Pro | 1.1M | 12.0 | 60.0 | October 2026 |
| GPT-6.1 Terra | 1.1M | 12.0 | 60.0 | October 2026 |
| GPT-6.1 Sol Pro | 1.1M | 24.0 | 120 | September 2026 |
| GPT-6.1 Sol | 1.1M | 24.0 | 120 | September 2026 |
| GPT-6 Luna Pro (batch) | 1.1M | 0.60 | 3.0 | September 2026 |
| GPT-6 Luna Pro | 1.1M | 1.2 | 6.0 | September 2026 |
| GPT-6 Luna | 1.1M | 1.2 | 6.0 | September 2026 |
| GPT-6 Luna (batch) | 1.1M | 0.60 | 3.0 | September 2026 |
| GPT-6 Sol Pro (batch) | 1.1M | 12.0 | 60.0 | September 2026 |
| GPT-6 Sol Pro | 1.1M | 24.0 | 120 | September 2026 |
Model comparisons
- Claude Opus 5.5 vs GPT-6 Astra
- Claude Opus 5.5 vs GPT-6 Sol
- GPT-6 Sol vs GPT-5.6 Sol
- GPT-6 Sol vs GPT-6 Astra
Frequently asked questions
- What is GPT-5.1-Codex-Max?
- GPT-5.1-Codex-Max is an AI model by OpenAI. GPT-5.1-Codex-Max is OpenAI’s latest agentic coding model, designed for long-running, high-context software development tasks.
- How much does GPT-5.1-Codex-Max cost on Zeplik?
- Input tokens cost 15.0 credits per million and output tokens 120 credits per million (1 credit = $0.10; the raw provider rates are $1.25 and $10.00 per million). New accounts start with free credits.
- How long can a conversation with GPT-5.1-Codex-Max be?
- GPT-5.1-Codex-Max has a 400K-token context window (400,000 tokens), which covers the conversation plus any documents you attach.
- Does GPT-5.1-Codex-Max support images and tools?
- GPT-5.1-Codex-Max accepts image input and supports tool calling.
Related models
GPT-6.1 Terra Pro is the same underlying model as [GPT-6.1 Terra](https://openrouter.ai/openai/gpt-6.1-terra), served with `reasoning.mode` set to `pro` for higher-quality responses on complex tasks.
GPT-6.1 Terra is the mid-tier model in OpenAI's GPT-6.1 series, priced below GPT-6.1 Sol.
GPT-6.1 Sol Pro is the same underlying model as [GPT-6.1 Sol](https://openrouter.ai/openai/gpt-6.1-sol), served with `reasoning.mode` set to `pro` for higher-quality responses on complex tasks.
GPT-6.1 Sol is an upgrade to GPT-6 Sol from OpenAI, positioned below the flagship GPT-6 Astra in the GPT-6 series.
GPT-6 Luna Pro is the same underlying model as [GPT-6 Luna](https://openrouter.ai/openai/gpt-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-6 Luna Pro is the same underlying model as [GPT-6 Luna](https://openrouter.ai/openai/gpt-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
More you can do with GPT-5.1-Codex-Max
- 468 AI skillsReady-to-run expert methods for writing, data, code and more, each running on GPT-5.1-Codex-Max 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.