LIVE Cheapest: GLM-4.7-Flash $0/Mtok in 154 models tracked Updated Jul 1, 2026
Jul 1, 2026
ModelPriceWatch$/Mtok
Pricing / Compare / Claude Sonnet 5 vs Gemini 3.1 Pro

Claude Sonnet 5 vs Gemini 3.1 Pro

Side-by-side comparison of API pricing, specs, benchmarks, and capabilities

🏆 Claude Sonnet 5 is 16.7% cheaper on blended cost ($6.00 vs $7.00/Mtok)
 
Overview
Status Current mid tier Current flagship
Released Jun 30, 2026 Nov 1, 2025
Pricing per million tokens
Input $2.00/Mtok $2.00/Mtok
Output $10.00/Mtok $12.00/Mtok
Blended avg $6.00/Mtok $7.00/Mtok
Cached input $0.200/Mtok
Specifications
Context window 1M tokens 2M tokens
Parameters Proprietary Proprietary
Speed (TPS)
Modalities
Input
textimage
textimageaudiovideo
Benchmarks from Vellum LLM Leaderboard
Avg benchmark score 79.3
Perf / dollar 11.3
GPQA Diamond 88
SWE-Bench 75
HumanEval 93
MATH 500 95
Providers
Available from
Anthropic — $2.00/$10.00/Mtok
Google — $2.00/$12.00/Mtok

Cost at scale — 1M tokens (50/50 input/output)

VolumeClaude Sonnet 5Gemini 3.1 ProSavings
1M tokens $6 $7 $1 (14.3%)
10M tokens $60 $70 $10 (14.3%)
100M tokens $600 $700 $100 (14.3%)
1000M tokens $6000 $7000 $1000 (14.3%)

Summary

Claude Sonnet 5 by Anthropic costs $2.00/Mtok input and $10.00/Mtok output, with a 1M-token context window. It supports text, image input.

Gemini 3.1 Pro by Google costs $2.00/Mtok input and $12.00/Mtok output, with a 2M-token context window. It supports text, image, audio, video input.

On a blended cost basis, Claude Sonnet 5 is 16.7% cheaper than Gemini 3.1 Pro.

On benchmarks, Gemini 3.1 Pro scores higher (79.3 vs ) on average. In terms of value, Gemini 3.1 Pro has better performance per dollar (11.3 vs ).

Note: Pricing is per million tokens. Actual costs vary with usage patterns, prompt caching, and batch discounts. Always verify against official provider pricing pages.