Skip to content

GPT-5 vs GPT-5.1-Codex

Both have similar output pricing. Choose GPT-5 or GPT-5.1-Codex based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecGPT-5GPT-5.1-Codex
ProviderOpenAIOpenAI
Input / 1M tokens$1.25$1.25
Output / 1M tokens$10.00$10.00
Context window400K400K
Parameters——
Open weightsNoNo
ReleasedAug 2025Nov 2025
SWE-bench Verified score75.666.0
Aider Polyglot score88.0—
LMArena (Chatbot Arena) Elo score1406—
LMArena WebDev Elo score14171337
LMArena Vision Elo score1208—
GPQA Diamond score86.2—
FrontierMath score32.4—
Epoch Capabilities Index score150—
LiveBench score—69.3

FAQ

Is GPT-5 or GPT-5.1-Codex cheaper?

GPT-5 and GPT-5.1-Codex have comparable output pricing.

Which has the larger context window, GPT-5 or GPT-5.1-Codex?

Both models offer a similar context window.

Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.