GPT-5 vs Claude vs Gemini: a 2026 comparison (price, speed, quality)
A direct comparison of the 2026 flagship models from OpenAI, Anthropic and Google. Price per 1M tokens, latency, context window, strengths and weaknesses, and when to pick which.
In 2026 OpenAI, Anthropic and Google offer three very different flagship models. Price, speed and strengths differ by orders of magnitude, and picking the wrong model can triple the invoice. Here is a direct comparison.
Flagship prices (USD / 1M tokens)
- GPT-5 — input
$1.25/ output$10.00 - Claude Sonnet 4.5 — input
$3.00/ output$15.00 - Claude Opus 4 — input
$15.00/ output$75.00 - Gemini 2.5 Pro — input
$1.25/ output$10.00
Run a specific use case through the LLM cost calculator, or see the detailed GPT price list and the Claude price list.
Context window
- GPT-5 — 400k tokens
- Claude Sonnet 4.5 — 200k tokens (1M in beta)
- Gemini 2.5 Pro — 1M tokens, with 2M planned
A large context is not free. See token window strategy.
Strengths
GPT-5
The most even. Strong reasoning, good coding, solid multimodality. Thinking mode (extended reasoning) handles complex tasks, and you pay for the thinking tokens, so watch the price. The best choice when you do not yet know what to pick.
Claude Sonnet 4.5 / Opus 4
A strong fit for coding and agent workflows. Excellent instruction following, and the best tone of voice for writing people will read. Sonnet is the price/performance sweet spot. Opus is for the hardest jobs (and deep pockets).
Gemini 2.5 Pro
The best multimodality (video, audio, image), and a 1M context without a compromise on the input price. Excellent for large documents and media. Reasoning sometimes lags GPT-5.
When to pick which
- Chatbot / FAQ — GPT-5 mini or Claude Haiku. Not a flagship.
- Coding agent — Claude Sonnet 4.5. The highest tool-use accuracy.
- Large PDF or video analysis — Gemini 2.5 Pro. Nothing else is close.
- Complex reasoning — GPT-5 thinking or Claude Opus.
- Prose for people — Claude Sonnet. The most natural output.
- High-volume classification — GPT-5 nano or Gemini 2.5 Flash-Lite.
A quick cost example
10,000 requests a month, 2,000 in / 500 out:
- GPT-5: $25 + $50 = $75/month
- Claude Sonnet 4.5: $60 + $75 = $135/month
- Gemini 2.5 Pro: $25 + $50 = $75/month
- Claude Opus 4: $300 + $375 = $675/month
Recommendation
Do not pick one model for everything. A multi-model setup (router + flagship + nano) typically saves 40–70% against a naive “everything through GPT-5”. Detail is in 10 ways to cut AI costs.
Related: Monitoring AI costs · Prompt optimization · How to calculate LLM cost
Related guides and price pages
Estimate across 11 models
Per-token prices for OpenAI models
Haiku, Sonnet, Opus pricing
The formula, step by step
Caching, routing, batch APIs
Cut tokens by 30–60%
RAG, sliding window, pruning
Track real AI spend, not just estimates
Upload a CSV from Cursor, Grok Bot or OpenRouter and see daily spend in USD and CZK. The account is free and does not ask for a card.