The two leading premium AI models, priced head-to-head. Gemini 2.5 Pro is 2.4x cheaper on input โ but Claude Sonnet remains the benchmark for coding and agentic tasks. Here's the full breakdown.
โฑ Pricing verified May 2026| Model | Input (per 1M) | Output (per 1M) | Context | Provider |
|---|---|---|---|---|
| Gemini 2.5 Pro | $1.25 | $10.00 | 1M | |
| Claude 3.5 Sonnet | $3.00 | $15.00 | 200K | Anthropic |
| Nearby models for context | ||||
| Gemini 2.5 Flash | $0.30 | $2.50 | 1M | |
| Claude 3.5 Haiku | $0.80 | $4.00 | 200K | Anthropic |
| GPT-4o | $2.50 | $10.00 | 128K | OpenAI |
| Use Case | Recommended Model | Reason |
|---|---|---|
| Agentic coding / SWE tasks | Claude 3.5 Sonnet | Top SWE-bench score; best tool-use reliability |
| Long codebase analysis (>200K tokens) | Gemini 2.5 Pro | 1M context fits entire repos; no chunking needed |
| Document summarization (standard length) | Gemini 2.5 Pro | Comparable quality at 2.4x lower input cost |
| Complex multi-step reasoning | Claude 3.5 Sonnet | More reliable on intricate instruction chains |
| High-volume RAG pipelines | Gemini 2.5 Pro | Lower input cost; 1M context reduces chunking overhead |
| Customer-facing chat / support | Claude 3.5 Sonnet | More consistent, on-brand responses; fewer edge failures |
| Video / audio analysis | Gemini 2.5 Pro | Only model with native video + audio support |
| Creative writing / copywriting | Claude 3.5 Sonnet | Consistently higher prose quality and style adherence |
| Data extraction / structured output | Gemini 2.5 Pro | Strong JSON extraction; significant cost advantage at volume |
Premium AI model prices shift frequently. Get notified when Claude Sonnet, Gemini 2.5 Pro, or any major model updates its pricing.
See costs across 30+ models. Enter your token volume and compare Claude Sonnet, Gemini 2.5 Pro, GPT-4o, DeepSeek, and more side-by-side.
Open the AI Calculator โ