AiCostCompare

Claude Sonnet 5 vs Gemini 4 Carbon

Side-by-side API pricing and Artificial Analysis performance for Claude Sonnet 5 (Anthropic) and Gemini 4 Carbon (Google). Green cells mark the better value in each row.

Prices updated Nov 17, 2026, 12:06 PM UTC · refreshed nightly

Claude Sonnet 5

Anthropic

Gemini 4 Carbon

Google

Pricing
Input $/1M$2.00$2.00
Output $/1M$10.00$10.00
Blended $/1M (3:1)$4.00$4.00
RAG example (30K in / 2K out)$0.08$0.08
Quality & speed
Intelligence Index—60
Coding Index71.5—
Agentic Index43.6—
Output speed (tok/s)——
Time to first token——
Specs
Context window1M1.05M
Input modalitiestext, image, fileaudio, file, image, text, video

FAQ

Which is cheaper, Claude Sonnet 5 or Gemini 4 Carbon?

Claude Sonnet 5 and Gemini 4 Carbon currently have the same blended API price of $4.00 per 1M tokens.

Which is better for RAG workloads?

Both models cost about $0.08 for a 30K/2K RAG request at current rates. Context windows are 1M (Claude Sonnet 5) and 1.05M (Gemini 4 Carbon).

Which scores higher on Artificial Analysis benchmarks?

Gemini 4 Carbon leads on the Artificial Analysis Intelligence Index (60 vs —). Check coding and agentic indices on this page for workload-specific tradeoffs.