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
- Context
- 400Ktokens
- Released
- 1y ago
GPT-5-Codex is an OpenAI model built as a version of GPT-5 optimized for agentic coding in Codex. The launch announcement frames it as trained for real-world software engineering, suited both to quick interactive sessions and to working independently through long, complex tasks, with code review intended to surface critical bugs before release.
- Multimodal model
- Accepts images
- Reasoning
- Tools
- Structured output
How it compares
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-codex
- Source family
- gpt-codex
- Last updated
- 2025-09-15
- 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
Published benchmarks
Complete source record (JSON)
{
"id": "openai/gpt-5-codex",
"name": "GPT-5-Codex",
"description": "Coding-optimized GPT model for repository edits, reviews, and agentic software work",
"family": "gpt-codex",
"last_updated": "2025-09-15",
"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
},
"benchmarks": [
{
"name": "Artificial Analysis Coding Index",
"score": 38.9,
"source": "https://openrouter.ai/openai/gpt-5-codex/benchmarks",
"metric": "index",
"date": "2026-06-01"
},
{
"name": "SciCode",
"score": 40.9,
"source": "https://openrouter.ai/openai/gpt-5-codex/benchmarks",
"metric": "percent correct",
"date": "2026-06-01"
},
{
"name": "Terminal-Bench Hard",
"score": 37.9,
"source": "https://openrouter.ai/openai/gpt-5-codex/benchmarks",
"metric": "success rate",
"date": "2026-06-01"
}
],
"release_date": "2025-09-15",
"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
Capabilities and specs
GPT-5-Codex has a 400K token context window. It can write up to 128K output tokens per response.
Yes, GPT-5-Codex accepts images as input alongside text.
Yes, GPT-5-Codex supports tool calling (function calling), so it can request calls to tools you define.
Yes, GPT-5-Codex supports structured output, so responses can be constrained to JSON.
Yes, GPT-5-Codex has a reasoning mode.
GPT-5-Codex 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 ERNIE X1.1 (Baidu), Qwen3 Max (Alibaba) and Qwen3-VL Plus (Alibaba). They are the closest matches by kind and release date.
ERNIE X1.1GPT-5-Codex vs ERNIE X1.1Qwen3 MaxGPT-5-Codex vs Qwen3 MaxQwen3-VL PlusGPT-5-Codex vs Qwen3-VL Plus
Kimi K3 is the highest-ranked open-weight model on Arena Text (#22), so it is the strongest open alternative to GPT-5-Codex by that measure.
Versions and lineage
Both have a 400K token context window.
Yes, GPT-5-Codex has been retired as of July 23, 2026, and GPT-5.6 Sol is its replacement.
Licensing and access
No, GPT-5-Codex is a closed model: OpenAI has not published its weights, so it is available only through APIs and apps.
Basics
GPT-5-Codex was made by OpenAI. It was released on September 15, 2025.
Generated from Vertical Tabs data, updated November 21, 2026.
Discussion
No comments yet
Be the first to share your thoughts.