OpenAI · Released Nov 13, 2025

GPT-5.1-Codex

GPT-5.1-Codex is a specialized version of GPT-5.1 optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks....

ReasoningVision
  • Top 33%Terminal-Bench
Released
Nov 13 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 on OpenRouter right now.

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

Value

Price vs. performance

3 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-Codex-Max (OpenAI) — 60.5% · $1.25/1M in GPT-5.1 (OpenAI) — 47.6% · $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 (OpenAI) — 57.8% · $1.25/1M in GPT-5.1-Codex

GPT-5.1-Codex 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

2 benchmark scores

BenchmarkScoreRankLeader
Terminal-BenchSoftware engineering · Tasks completed with the programs in a real terminal (best agent) 57.8% #13of 40 GPT-5.584.7%
WebDev ArenaDesign & visual · People vote on which model builds the better website (Elo) 1336 #79of 88 Claude Opus 5.51820

Specs

Details

Model ID
openai/gpt-5.1-codex
Developer
OpenAI
Release date
Nov 13, 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.