No longer available
The publisher shut this model down on July 23, 2026. It can no longer be used from its own API. Recommended replacement: gpt-5.6-sol. Publisher notice
- input
- $1.25
- cached
- $0.125
- output
- $10.00
- Context
- 400Ktokens
- Released
- 1y ago
Cost/1M tokens
GPT-5.1-Codex-Max is an agentic coding model from OpenAI, built on an updated version of the company's GPT-5.1 foundational reasoning model. OpenAI bills it as its first model trained from the start to carry a single task across multiple context windows using a process called compaction, and says it needs about 30% fewer reasoning tokens than GPT-5.1-Codex. It is intended for long-running software engineering work such as large-scale refactoring, code review, debugging, and extended autonomous coding sessions.
- Multimodal model
- Accepts images
- Reasoning
- Tools
- Structured output
How it compares
Score vs. costTerminal Bench
Each model at its best score · Dashed: the best score at each cost
Terminal Bench
- OpenAI
- Anthropic
- Google DeepMind
- xAI
- Z.ai
- MiniMax
- Moonshot AI
- Qwen
- DeepSeek
FlagshipThe lab's most capable generally available line, priced for hard tasks.
Flagship models from other labs
Add the models you use to see how this one compares.
Sign inAdditional source evidence
- Source model
- openai/gpt-5.1-codex-max
- Source family
- gpt-codex
- Last updated
- 2025-11-13
- Knowledge cutoff
- 2024-09-30
- Model context
- 400K
- Maximum input
- 272K
- Model output limit
- 128K
- Open weights
- No
- File attachments
- Yes
- Reasoning
- Yes
- Tool calling
- Yes
- Temperature control
- No
Complete source record (JSON)
{
"id": "openai/gpt-5.1-codex-max",
"name": "GPT-5.1 Codex Max",
"description": "Coding-optimized GPT model for repository edits, reviews, and agentic software work",
"family": "gpt-codex",
"last_updated": "2025-11-13",
"knowledge": "2024-09-30",
"attachment": true,
"reasoning": true,
"tool_call": true,
"temperature": false,
"modalities": {
"input": [
"text",
"image"
],
"output": [
"text"
]
},
"limit": {
"context": 400000,
"input": 272000,
"output": 128000
},
"release_date": "2025-11-13",
"open_weights": false
}Text provenance
EU · product-scopedOpenAI textGrain watermarking
In the EU, ChatGPT-generated text uses textGrain. OpenAI says API customers can opt in globally for select models, so watermarking depends on the product surface and configuration.
Official explanationFrequently asked questions
API and pricing
GPT-5.1-Codex-Max is listed at $1.25 per 1M input tokens and $10.00 per 1M output tokens.
Yes, cached input for GPT-5.1-Codex-Max costs $0.125 per 1M tokens, compared with $1.25 for uncached input, a 90% discount.
A request with 10,000 input tokens and 1,000 output tokens costs about $0.0225 with GPT-5.1-Codex-Max at the cheapest provider, Azure.
1 of 1 tracked GPT-5.1-Codex-Max endpoints had 99% uptime or better over the last day. The best was Azure at 100.0%.
Privacy and data
Azure offers zero data retention for GPT-5.1-Codex-Max, so prompts are not stored after the request.
Capabilities and specs
GPT-5.1-Codex-Max has a 400K token context window. It can write up to 128K output tokens per response.
Yes, GPT-5.1-Codex-Max accepts images as input alongside text.
Yes, GPT-5.1-Codex-Max supports tool calling (function calling), so it can request calls to tools you define.
Yes, GPT-5.1-Codex-Max supports structured output, so responses can be constrained to JSON.
Yes, GPT-5.1-Codex-Max has a reasoning mode that is always on. Effort levels are xhigh, high, medium and low, with medium as the default. 1 of 1 tracked providers expose it.
GPT-5.1-Codex-Max has a knowledge cutoff of 2024-09-30, so it does not know about later events unless you provide them.
Quality and benchmarks
Similar models from other labs include Sonar Pro Search (Perplexity), Gemini 2.5 Pro (Google DeepMind) and Claude Haiku 4.5 (Anthropic). They are the closest matches by kind, price and release date.
Sonar Pro SearchGPT-5.1-Codex-Max vs Sonar Pro SearchGemini 2.5 ProGPT-5.1-Codex-Max vs Gemini 2.5 ProClaude Haiku 4.5GPT-5.1-Codex-Max vs Claude Haiku 4.5
Kimi K3 is the highest-ranked open-weight model on Arena Text (#22), so it is the strongest open alternative to GPT-5.1-Codex-Max by that measure.
Versions and lineage
GPT-5.1-Codex-Max costs $1.25 input and $10.00 output per 1M tokens, versus $1.25 and $10.00 for GPT-5.1. Both have a 400K token context window.
Yes, GPT-5.1-Codex-Max has been retired as of July 23, 2026, and GPT-5.6 Sol is its replacement.
Licensing and access
No, GPT-5.1-Codex-Max is a closed model: OpenAI has not published its weights, so it is available only through APIs and apps.
Yes, GPT-5.1-Codex-Max is available on Azure. We do not track an endpoint on Amazon Bedrock or Google Vertex AI for it.
Basics
GPT-5.1-Codex-Max was made by OpenAI. It was released on November 13, 2025.
No, GPT-5.1-Codex-Max is a paid API model, listed at $1.25 per 1M input tokens and $10.00 per 1M output tokens.
Generated from Vertical Tabs data, updated November 21, 2026.


Discussion
No comments yet
Be the first to share your thoughts.