Claude Sonnet 5 vs Gemini 3.1 Pro
Benchmark Performance
Available Benchmarks
| Benchmark | Claude Sonnet 5 | Gemini 3.1 Pro |
|---|---|---|
| LMArena Agent Arenaagent-2026-08-31-011508720696 · outcome_score · leader | 7.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 · leader | 1,470.22100% of row best · rating · claude-sonnet-5-high; 95% CI [1459.84859101, 1480.59820001]; votes 3601; rank 14 | 1,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 · leader | 1,442.9597% of row best · rating · claude-sonnet-5-high; 95% CI [1438.22001632, 1447.67497803]; votes 31096; rank 56 | 1,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 · leader | 1,277.9499% of row best · rating · claude-sonnet-5-high; 95% CI [1269.73992861, 1286.14906472]; votes 8522; rank 29 | 1,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 above | 2 benchmark winsTied overall | 2 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.
Technical Differences
Side-by-Side Facts
| Field | Claude Sonnet 5 | Gemini 3.1 Pro |
|---|---|---|
| Developer | Anthropic | Google DeepMind |
| Family | Claude 5 | Gemini 3 |
| Model | Claude Sonnet 5 | Gemini 3.1 Pro |
| Version | Claude Sonnet 5 | Gemini 3.1 Pro |
| Lifecycle | active | preview |
| Released | 2026-06-30 | Unknown |
| Knowledge cutoff | Unknown | Unknown |
| Input modalities | Text, Image | Text, Image, Video, Audio, Document |
| Output modalities | Text | Text |
| Context window | 1,000K | 1,049K |
| Total parameters | Unknown | Unknown |
| Active parameters | Unknown | Unknown |
| License | Unknown | Unknown |
| Open weights | No | No |
| API available | Yes | Yes |
| Self-hostable | No | No |
| Provider access | Anthropic (Standard), Deepinfra (Standard), Openrouter (Standard) | Google AI (Standard), Google Gemini (Standard) |
| Capabilities | chat, generation, reasoning, tools | chat, generation, reasoning, tools |
13 comparable fields · 8 material differences · Pair passes the primary-source comparison gate
Claude Sonnet 5 Capabilities
Gemini 3.1 Pro Capabilities
Internal Comparison Graph
Related Comparisons
| A | Pair | B | Context |
|---|---|---|---|
Claude Sonnet 4.6Anthropic | vs | Claude Sonnet 5Anthropic | family variantsimage, text |
Claude Sonnet 5Anthropic | vs | GPT-6 AstraOpenAI | cross-developer peersimage, text |
Claude Fable 5.1Anthropic | vs | Claude Sonnet 5Anthropic | family variantsimage, text |
Claude Sonnet 5Anthropic | vs | DeepSeek-V4-ProDeepSeek | cross-developer peerstext |
Claude Sonnet 5Anthropic | vs | Grok 4.6xAI | cross-developer peersimage, text |
Claude Sonnet 5Anthropic | vs | Qwen3.8-MaxQwen | cross-developer peersimage, text |
Claude Sonnet 5Anthropic | vs | Kimi-K3Moonshot AI | cross-developer peersimage, text |
MiniMax-M3MiniMax | vs | Claude Sonnet 5Anthropic | cross-developer peersimage, text |
Claude Sonnet 5Anthropic | vs | GLM-5.3Z.ai | cross-developer peerstext |
Claude Sonnet 5Anthropic | vs | Hy4 previewTencent | cross-developer peerstext |
Claude Sonnet 5Anthropic | vs | Seed 2.1 ProByteDance Seed | cross-developer peersimage, text |
Claude Sonnet 5Anthropic | vs | Mistral Large 3Mistral AI | cross-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.