OpenAI · Released Dec 4, 2025

GPT-5.1-Codex-Max

GPT-5.1-Codex-Max is OpenAI’s latest agentic coding model, designed for long-running, high-context software development tasks. It is based on an updated version of the 5.1 reasoning stack and trained on agentic...

ReasoningVision
  • Top 30%Terminal-Bench
Released
Dec 4 2025
Context window
400K 128K out
Input / 1M tokens
$1.25
Output / 1M tokens
$10.00

Where to run it

Providers

Only Azure serves GPT-5.1-Codex-Max on OpenRouter right now.

ProviderInputOutputCache readContextMax outputUptimevs. best
Azure $1.25 $10.00 $0.13400K128K100%24h Cheapest

Value

Price vs. performance

2 models score higher for the same price or lesson Terminal-Bench, e.g. Gemini 3 Flash Preview.
3.4%30.5%57.6%84.7% $0.01$0.10$1.00$10.00$100.00 Qwen3.6 35B A3B (Qwen) — 24.6% · $0.10/1M in Claude Opus 4.7 (Anthropic) — 80.2% · $5.00/1M in Grok 4.20 (xAI) — 57.3% · $1.25/1M in MiniMax M2.7 (MiniMax) — 45.1% · $0.30/1M in Qwen3.5-9B (Qwen) — 9.2% · $0.10/1M in Gemini 3.1 Pro Preview (Google) — 80.2% · $2.00/1M in Claude Sonnet 4.6 (Anthropic) — 53.4% · $3.00/1M in MiniMax M2.5 (MiniMax) — 42.7% · $0.27/1M in GLM 5 (Z.ai) — 52.4% · $0.60/1M in Claude Opus 4.6 (Anthropic) — 79.8% · $5.00/1M in Kimi K2.5 (Moonshot AI) — 43.2% · $0.50/1M in MiniMax M2.1 (MiniMax) — 36.6% · $0.30/1M in GLM 4.7 (Z.ai) — 33.4% · $0.54/1M in Gemini 3 Flash Preview (Google) — 64.3% · $0.50/1M in DeepSeek V3.2 (DeepSeek) — 39.6% · $0.28/1M in Claude Opus 4.5 (Anthropic) — 63.1% · $5.00/1M in Kimi K2 Thinking (Moonshot AI) — 35.7% · $0.60/1M in MiniMax M2 (MiniMax) — 30.0% · $0.26/1M in Claude Haiku 4.5 (Anthropic) — 35.5% · $1.00/1M in GLM 4.6 (Z.ai) — 24.5% · $0.55/1M in Claude Sonnet 4.5 (Anthropic) — 46.5% · $3.00/1M in DeepSeek V3.2 Exp (DeepSeek) — 39.6% · $0.27/1M in Claude Opus 4.1 (Anthropic) — 38.0% · $15.00/1M in Gemini 2.5 Flash (Google) — 17.1% · $0.30/1M in Gemini 2.5 Pro (Google) — 32.6% · $1.25/1M in Gemini 2.5 Pro Preview 06-05 (Google) — 32.6% · $1.25/1M in GPT-5.5 (OpenAI) — 84.7% · $5.00/1M in GPT-5.4 (OpenAI) — 81.8% · $2.50/1M in GPT-5.3-Codex (OpenAI) — 78.4% · $1.75/1M in GPT-5.2-Codex (OpenAI) — 66.5% · $1.75/1M in GPT-5.2 (OpenAI) — 64.9% · $1.75/1M in GPT-5.1 (OpenAI) — 47.6% · $1.25/1M in GPT-5.1-Codex (OpenAI) — 57.8% · $1.25/1M in GPT-5.1-Codex-Mini (OpenAI) — 61.6% · $0.25/1M in GPT-5 (OpenAI) — 49.6% · $1.25/1M in GPT-5 Mini (OpenAI) — 34.8% · $0.25/1M in GPT-5 Nano (OpenAI) — 21.8% · $0.05/1M in gpt-oss-120b (OpenAI) — 18.7% · $0.15/1M in gpt-oss-20b (OpenAI) — 3.4% · $0.018/1M in GPT-5.1-Codex-Max (OpenAI) — 60.5% · $1.25/1M in GPT-5.1-Codex-Max

GPT-5.1-Codex-Max Other OpenAI Other labs Value frontier · Terminal-Bench vs. input price per 1M tokens (log scale) · Drag to pan, pinch or Ctrl + scroll to zoom, double-click to zoom in.

Benchmarks

3 benchmark scores

BenchmarkScoreRankLeader
Terminal-BenchSoftware engineering · Tasks completed with the programs in a real terminal (best agent) 60.5% #12of 40 GPT-5.584.7%
METR time horizonSoftware engineering · Length of software task solved more often than not 3.7 h #7of 13 Claude Opus 4.612 h
ProofBenchMaths · Graduate maths proofs verified in Lean 4 9.0% #65of 70 Claude Sonnet 5.5100.0%

Specs

Details

Model ID
openai/gpt-5.1-codex-max
Developer
OpenAI
Release date
Dec 4, 2025 ·
Context window
400,000 tokens
Max output
128,000 tokens
API price
$1.25 / $10.00 per 1M input / output tokens
Providers
1
Input types
text, image
Reasoning
Yes
Tool calling
Yes
Open weights
No
Free tier
No

Release date, prices and providers from OpenRouter's catalog; buying directly from a provider can cost a little differently. Uptime is the share of OpenRouter requests each provider served over the last day. Benchmark scores are the best result per benchmark from Epoch AI, licensed CC BY 4.0. Rank counts every model tracked here with a score.