← All Comparisons

Gemini 3.1 Pro vs Claude Sonnet 4.5

A detailed comparison of Gemini 3.1 Pro (Google) and Claude Sonnet 4.5 (Anthropic) across pricing, performance, and features.

Pricing Comparison

MetricGemini 3.1 ProClaude Sonnet 4.5Difference
Input / 1M tokens$2.00$3.00+50%
Output / 1M tokens$12.00$15.00+25%
Context window1M200K
Max output64K16K

Benchmark Comparison

BenchmarkGemini 3.1 ProClaude Sonnet 4.5
MMLU-Pro91%84.5%
HumanEval95%93%
GPQA94.3%68.2%

Capabilities

CapabilityGemini 3.1 ProClaude Sonnet 4.5
audio
code
reasoning
text
tool-use
vision

Gemini 3.1 Pro Strengths

  • #1 on 12 of 18 tracked benchmarks
  • 94.3% GPQA Diamond — highest of any model
  • Same price as Gemini 3 Pro (free upgrade)
  • 1M context with configurable thinking levels

Gemini 3.1 Pro Weaknesses

  • Still in preview
  • Context-tiered pricing ($4/$18 above 200K)

Claude Sonnet 4.5 Strengths

  • Well-tested and stable
  • Strong coding and analysis

Claude Sonnet 4.5 Weaknesses

  • Superseded by Sonnet 4.6
  • Same price as the newer model

Quick Verdict

Best value: Gemini 3.1 Pro is the more affordable option at $2/$12 per 1M tokens.

Higher benchmarks: Gemini 3.1 Pro scores higher on average across available benchmarks (93.4% avg).

Larger context: Gemini 3.1 Pro supports 1M tokens.

Choose Gemini 3.1 Pro if cost matters most. Choose Claude Sonnet 4.5 if you need the best possible quality for complex tasks.

More Comparisons