ClaudevsGemini

Claude Sonnet 4.6 vs Gemini 3.1 Pro Custom Tools

Side-by-side comparison of pricing, task quality, and projected cost at higher scale.

Pricing

Side-by-side pricing

Claude Sonnet 4.6

Mid-tier

Gemini 3.1 Pro Custom Tools

Mid-tier
Input $/MTok
$3.00
$2.00
Output $/MTok
$15.00
$12.00
Cache discount
90% off
90% off
Context
1,000K
1,048.576K

Quality

Task confidence comparison

Confidence score from zero to one hundred by task type, where higher is better.
Code Generation
92
vs
0
Code Review
95
vs
0
Summarization
90
vs
0
Q&A
88
vs
0
Extraction
86
vs
0
Reasoning
88
vs
0
Classification
84
vs
0
Creative Writing
85
vs
0
Claude Sonnet 4.6
Gemini 3.1 Pro Custom Tools

Guidance

When to use Claude Sonnet 4.6 vs Gemini 3.1 Pro Custom Tools

Choose Claude Sonnet 4.6 when...

  • Similar performance; consider provider preference or ecosystem fit.

Choose Gemini 3.1 Pro Custom Tools when...

  • -Cost matters: 33% cheaper on input tokens
  • -You need a larger context window (1,048.576K vs 1,000K)

At scale

Cost at scale

Estimated cost assuming a seventy percent input and thirty percent output token split.
Claude Sonnet 4.6
Gemini 3.1 Pro Custom Tools
100K tokens
$0.66
$0.50Cheaper
1M tokens
$6.60Cheaper
$8.20
10M tokens
$66.00Cheaper
$82.00

FAQ

When should I use Claude Sonnet 4.6 instead of Gemini 3.1 Pro Custom Tools?

Claude Sonnet 4.6 and Gemini 3.1 Pro Custom Tools perform similarly across all tracked tasks. Pick based on pricing and provider preference.

Is Gemini 3.1 Pro Custom Tools cheaper than Claude Sonnet 4.6?

Yes. Gemini 3.1 Pro Custom Tools input costs $2.00/MTok vs $3.00/MTok for Claude Sonnet 4.6, saving 33% on input.

What are the context window sizes for Claude Sonnet 4.6 and Gemini 3.1 Pro Custom Tools?

Claude Sonnet 4.6 has a 1,000K token context window. Gemini 3.1 Pro Custom Tools has a 1,048.576K token context window.

Track your real costs

Comparisons show estimated costs at list price. The dashboard reveals your real spend and savings.