Claude Sonnet 5 vs Gemini 3.1 Pro

Benchmark Performance

Available Benchmarks

BenchmarkClaude Sonnet 5Gemini 3.1 Pro
LMArena Agent Arenaagent-2026-08-31-011508720696 · outcome_score · leader7.48100% of row best · score · Claude Sonnet 5 (High); 95% CI [5.31247081, 9.65098366]; sessions 27467; observations 2696236; rank 8-3.1390% of row best · score · Gemini 3.1 Pro Preview; 95% CI [-4.00806078, -2.24630473]; sessions 83248; observations 2709356; rank 40
LMArena Document Arenadocument-2026-07-30-011508720696 · arena_rating · leader1,470.22100% of row best · rating · claude-sonnet-5-high; 95% CI [1459.84859101, 1480.59820001]; votes 3601; rank 141,445.3298% of row best · rating · gemini-3.1-pro-preview; 95% CI [1439.35538449, 1451.29339146]; votes 45162; rank 23
LMArena Text Arenatext-2026-09-01-011508720696 · arena_rating · leader1,442.9597% of row best · rating · claude-sonnet-5-high; 95% CI [1438.22001632, 1447.67497803]; votes 31096; rank 561,480.10100% of row best · rating · gemini-3.1-pro-preview; 95% CI [1476.89767236, 1483.30025658]; votes 102763; rank 11
LMArena Vision Arenavision-2026-08-27-011508720696 · arena_rating · leader1,277.9499% of row best · rating · claude-sonnet-5-high; 95% CI [1269.73992861, 1286.14906472]; votes 8522; rank 291,295.39100% of row best · rating · gemini-3.1-pro-preview; 95% CI [1289.75236576, 1301.03738662]; votes 39412; rank 17
Overall ResultCounted from the protocol-matched rows above2 benchmark winsTied overall2 benchmark winsTied overall

Third-party benchmark Only like-for-like primary-publisher results are shown; raw scores, relative scores, configuration, and token spend remain visible.

FieldAt a Glance
Anthropic · activeClaude Sonnet 5Verified Aug 28, 2026
Google DeepMind · previewGemini 3.1 ProVerified Aug 29, 2026

Technical Differences

Side-by-Side Facts

Indexable
FieldClaude Sonnet 5Gemini 3.1 Pro
DeveloperAnthropicGoogle DeepMind
FamilyClaude 5Gemini 3
ModelClaude Sonnet 5Gemini 3.1 Pro
VersionClaude Sonnet 5Gemini 3.1 Pro
Lifecycleactivepreview
Released2026-06-30Unknown
Knowledge cutoffUnknownUnknown
Input modalitiesText, ImageText, Image, Video, Audio, Document
Output modalitiesTextText
Context window1,000K1,049K
Total parametersUnknownUnknown
Active parametersUnknownUnknown
LicenseUnknownUnknown
Open weightsNoNo
API availableYesYes
Self-hostableNoNo
Provider accessAnthropic (Standard), Deepinfra (Standard), Openrouter (Standard)Google AI (Standard), Google Gemini (Standard)
Capabilitieschat, generation, reasoning, toolschat, generation, reasoning, tools

13 comparable fields · 8 material differences · Pair passes the primary-source comparison gate

Claude Sonnet 5 Capabilities

chatgenerationreasoningtools
Input price$2.00
Output price$10.00
Serving providers3
Canonical IDanthropic/claude-sonnet-5

Gemini 3.1 Pro Capabilities

chatgenerationreasoningtools
Input price$2.00
Output price$12.00
Serving providers2
Canonical IDgoogle-deepmind/gemini-3.1-pro-preview

Internal Comparison Graph

Related Comparisons

All text comparisons →
APairBContext
vsfamily variantsimage, text
vscross-developer peersimage, text
vsfamily variantsimage, text
vscross-developer peerstext
vscross-developer peersimage, text
vscross-developer peersimage, text
vscross-developer peersimage, text
vscross-developer peersimage, text
vscross-developer peerstext
vscross-developer peerstext
vscross-developer peersimage, text
vscross-developer peersimage, text

Primary Evidence

Sources and Freshness

Questions

Claude Sonnet 5 vs Gemini 3.1 Pro FAQs

Is Claude Sonnet 5 or Gemini 3.1 Pro better for coding?+

This comparison does not currently contain a protocol-matched coding benchmark for both Claude Sonnet 5 and Gemini 3.1 Pro, so Model Markets cannot name a coding leader from pricing, context size, or capability labels alone.

Which is cheaper, Claude Sonnet 5 or Gemini 3.1 Pro?+

Claude Sonnet 5 is $2.00 and Gemini 3.1 Pro is $2.00 per million tokens, so they are tied on this metric. Claude Sonnet 5 is $10.00 and Gemini 3.1 Pro is $12.00 per million tokens, so Claude Sonnet 5 is cheaper on this metric.

Which has a larger context window, Claude Sonnet 5 or Gemini 3.1 Pro?+

Gemini 3.1 Pro has the larger sourced context window. Claude Sonnet 5 supports 1,000K and Gemini 3.1 Pro supports 1,049K.

Which performs better in benchmarks, Claude Sonnet 5 or Gemini 3.1 Pro?+

There is no overall benchmark winner: An overall winner requires at least two decisive benchmarks from at least two original publishers.

Can Claude Sonnet 5 or Gemini 3.1 Pro be self-hosted?+

Both models have the same recorded self-hosting status: unsupported. Claude Sonnet 5 is not marked open weight; Gemini 3.1 Pro is not marked open weight.

Can Claude Sonnet 5 and Gemini 3.1 Pro understand images?+

Claude Sonnet 5 is documented with image input; Gemini 3.1 Pro is documented with image input. This reflects supported input modalities, not vision quality.

Which can generate longer answers, Claude Sonnet 5 or Gemini 3.1 Pro?+

Claude Sonnet 5 has the larger sourced maximum output: Claude Sonnet 5 supports 128K and Gemini 3.1 Pro supports 66K output tokens.

Do Claude Sonnet 5 and Gemini 3.1 Pro support reasoning and tool use?+

Claude Sonnet 5: reasoning, tool calling, and image input. Gemini 3.1 Pro: reasoning, tool calling, and image input. Feature support does not establish relative quality.

Which is available from more inference providers, Claude Sonnet 5 or Gemini 3.1 Pro?+

Claude Sonnet 5 has 3 sourced provider routes; Gemini 3.1 Pro has 2, so Claude Sonnet 5 has broader tracked availability.

Which offers better value, Claude Sonnet 5 or Gemini 3.1 Pro?+

There is no universal value winner. Compare the input and output prices above with the matched benchmark result for your workload: cheaper tokens can be offset by different quality, token usage, latency, or provider availability.

Send Feedback