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.13
- output
- $10.00
- Context
- 400Ktokens
- Released
- 1y ago
Cost/1M tokens
GPT-5.1-Codex is a model from OpenAI, released alongside GPT-5.1 in the GPT-5 series. OpenAI's launch announcement says that, while GPT-5.1 covers most coding tasks, the gpt-5.1-codex models are optimized for extended, agent-driven coding work in Codex or Codex-like harnesses.
- Multimodal model
- Accepts images
- Reasoning
- Tools
- Structured output
How it compares
Score vs. costArena WebDev
Each model at its best score · Dashed: the best score at each cost
- OpenAI
- Anthropic
- Google DeepMind
- Qwen
- Moonshot AI
- Meta
- Tencent
- Thinking Machines Lab
- DeepSeek
- Z.ai
- Xiaomi
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
- 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",
"name": "GPT-5.1 Codex",
"description": "Codex GPT for repository edits, code review, and practical software agents",
"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 is listed at $1.25 per 1M input tokens and $10.00 per 1M output tokens.
Yes, cached input for GPT-5.1-Codex costs $0.13 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 at the cheapest provider, Azure.
1 of 1 tracked GPT-5.1-Codex 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, so prompts are not stored after the request.
Capabilities and specs
GPT-5.1-Codex has a 400K token context window. It can write up to 128K output tokens per response.
Yes, GPT-5.1-Codex accepts images as input alongside text.
Yes, GPT-5.1-Codex supports tool calling (function calling), so it can request calls to tools you define.
Yes, GPT-5.1-Codex supports structured output, so responses can be constrained to JSON.
Yes, GPT-5.1-Codex has a reasoning mode that is always on. Effort levels are high, medium and low, with medium as the default. 1 of 1 tracked providers expose it.
GPT-5.1-Codex has a knowledge cutoff of 2024-09-30, so it does not know about later events unless you provide them.
Quality and benchmarks
GPT-5.1-Codex ranks #136 on Arena WebDev, using Arena's published ranks.
Mostly yes: on 1 shared benchmarks, GPT-5.1-Codex is ahead of GPT-5-Codex on 1, behind on 0 and level on 0. It leads on Terminal Bench.
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 vs Sonar Pro SearchGemini 2.5 ProGPT-5.1-Codex vs Gemini 2.5 ProClaude Haiku 4.5GPT-5.1-Codex 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 by that measure.
Versions and lineage
GPT-5.1-Codex 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 has been retired as of July 23, 2026, and GPT-5.6 Sol is its replacement.
Licensing and access
No, GPT-5.1-Codex is a closed model: OpenAI has not published its weights, so it is available only through APIs and apps.
Yes, GPT-5.1-Codex is available on Azure. We do not track an endpoint on Amazon Bedrock or Google Vertex AI for it.
Basics
GPT-5.1-Codex was made by OpenAI. It was released on November 13, 2025.
No, GPT-5.1-Codex 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 24, 2026.


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