Skip to content

GPT-4.1 vs GPT-5

GPT-4.1 is cheaper on output tokens, while GPT-4.1 offers a larger context window. Choose GPT-4.1 or GPT-5 based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecGPT-4.1GPT-5
ProviderOpenAIOpenAI
Input / 1M tokens$2.00$1.25
Output / 1M tokens$8.00$10.00
Context window1M400K
Parameters——
Open weightsNoNo
ReleasedApr 2025Aug 2025
Aider Polyglot score52.488.0
GPQA Diamond score66.986.2
FrontierMath score5.532.4
SWE-bench Verified score39.675.6
SWE-bench Multimodal score31.1—
Epoch Capabilities Index score137150
LMArena (Chatbot Arena) Elo score13831406
LMArena Vision Elo score12111208
LMArena WebDev Elo score—1417

FAQ

Is GPT-4.1 or GPT-5 cheaper?

GPT-4.1 is cheaper on output tokens ($8.00 vs $10.00 per 1M).

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

GPT-4.1 has the larger context window (1M tokens).

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