Compare published benchmark results from matching versions and cohorts, API pricing, and technical specifications. Any documented test setup differences remain visible.
shared result series
148
distinct benchmarks
25
latest retrieval
2026-09-04
Change model selection
Specifications
General specifications
Release date, availability, context window, architecture, and published parameter counts at a glance. Undisclosed details remain marked as unavailable.
Specifications for Claude Sonnet 5 and Gemini 3.1 Pro Preview
The table compares official standard API rates per 1M tokens, including published cache pricing. Batch, fast, priority, regional surcharges, tool calls, and cloud platform pricing are excluded.
API pricing for Claude Sonnet 5 and Gemini 3.1 Pro Preview
Key to the marks:better valuebetter, but not conclusivetie
Pricing by provider
Direct developer pricing and provider endpoint tariffs routed through OpenRouter are listed separately. Prices are in USD per 1M tokens. Context-dependent direct tiers plus regional, Flex, Priority, and other OpenRouter tariffs remain individually identifiable.
Provider pricing for Claude Sonnet 5 and Gemini 3.1 Pro Preview
Only published results with the same benchmark version, task, metric, and comparison cohort are paired. Different reasoning levels, agents, harnesses, or output limits appear directly in the table.
Capability profile from matched benchmarks
Each axis averages directly matched benchmark families. A value of 100 means the stronger value within this pair, not a universal quality score.
Claude Sonnet 5
Gemini 3.1 Pro Preview
Coding: 98.6 / 75.5 (5 benchmark families)
Reasoning: 93.1 / 100 (1 benchmark family)
Mathematics: 100 / 33.8 (1 benchmark family)
Knowledge: 96.2 / 100 (1 benchmark family)
Finance: 100 / 90.2 (5 benchmark families)
Legal: 98.7 / 49.8 (3 benchmark families)
Agentic tasks: 100 / 95 (1 benchmark family)
Multimodal: 94.1 / 100 (1 benchmark family)
26 matched rows from 24 benchmark families were considered. The radar shows 8 of 12 comparable categories.
Claude Sonnet 5Gemini 3.1 Pro Preview
Code MigrationOverall. Higher is better. No documented setup difference
Claude Sonnet 5Winner44.392 %
Gemini 3.1 Pro Preview17.313 %
CorpFin v2Overall. Higher is better. No documented setup difference
Claude Sonnet 5Winner66.977 %
Gemini 3.1 Pro Preview64.491 %
EMBOverall. Higher is better. No documented setup difference
Claude Sonnet 5Winner66.316 %
Gemini 3.1 Pro Preview52.616 %
Finance Agent (v2)Overall. Higher is better. No documented setup difference
Claude Sonnet 5Winner53.909 %
Gemini 3.1 Pro Preview42.982 %
GPQA DiamondOverall. Higher is better. No documented setup difference
Claude Sonnet 588.889 %
Gemini 3.1 Pro PreviewWinner95.454 %
Harvey's Legal Agent BenchmarkOverall · Task fully resolved. Higher is better. No documented setup difference
Claude Sonnet 5Winner5 %
Gemini 3.1 Pro Preview0 %
Legal Research BenchOverall · All-pass. Higher is better. No documented setup difference
Claude Sonnet 5Winner41.827 %
Gemini 3.1 Pro Preview20.673 %
LegalBenchOverall. Higher is better. No documented setup difference
Claude Sonnet 583.922 %
Gemini 3.1 Pro PreviewWinner87.398 %
LiveCodeBench v6Overall. Higher is better. No documented setup difference
Claude Sonnet 582.429 %
Gemini 3.1 Pro PreviewWinner88.485 %
LMArena Text, Style ControlOverall. Higher is better. Test setup not documented as identical
Claude Sonnet 51,462.16
Gemini 3.1 Pro PreviewHigher measured value1,486.746
MedCodeOverall. Higher is better. No documented setup difference
Claude Sonnet 547.54 %
Gemini 3.1 Pro PreviewWinner59.062 %
MedScribeOverall. Higher is better. No documented setup difference
Claude Sonnet 576.054 %
Gemini 3.1 Pro PreviewWinner76.114 %
Key to the marks:better valuebetter, but not conclusivetie
Benchmark scores for Claude Sonnet 5 and Gemini 3.1 Pro Preview
Benchmark and task
Claude Sonnet 5
Gemini 3.1 Pro Preview
Source
Code MigrationOverallTest details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
Test setup not documented as identicalNo direct winnerVersion: style-control-v1Metric: style-controlled Bradley-Terry ratingScoring: Higher is betterClaude Sonnet 5: Snapshot: claude-sonnet-5-high, Reasoning: high, Harness: Arena text, style control Gemini 3.1 Pro Preview: Snapshot: gemini-3.1-pro-preview, Harness: Arena text, style controlClaude Sonnet 5: Style-controlled Arena rating from 31,096 anonymous pairwise votes.Gemini 3.1 Pro Preview: Style-controlled Arena rating from 102,763 anonymous pairwise votes.
1,462.16
95% confidence interval: ±4.745The Arena score measures human preference rather than a fixed capability test. The confidence interval and model configuration are part of the result.
Higher measured value1,486.746
95% confidence interval: ±3.217The Arena score measures human preference rather than a fixed capability test. The confidence interval and model configuration are part of the result.
LMArena Text, Style ControlBusiness, management and financeTest details
Test setup not documented as identicalNo direct winnerVersion: style-control-v1Metric: style-controlled Bradley-Terry ratingScoring: Higher is betterClaude Sonnet 5: Snapshot: claude-sonnet-5-high, Reasoning: high, Harness: Arena text, style control Gemini 3.1 Pro Preview: Snapshot: gemini-3.1-pro-preview, Harness: Arena text, style controlClaude Sonnet 5: Style-controlled Arena rating from 6,214 anonymous pairwise votes.Gemini 3.1 Pro Preview: Style-controlled Arena rating from 20,283 anonymous pairwise votes.
1,462.981
95% confidence interval: ±8.229The Arena score measures human preference rather than a fixed capability test. The confidence interval and model configuration are part of the result.
Higher measured value1,476.52
95% confidence interval: ±5.472The Arena score measures human preference rather than a fixed capability test. The confidence interval and model configuration are part of the result.
Test setup not documented as identicalNo direct winnerVersion: style-control-v1Metric: style-controlled Bradley-Terry ratingScoring: Higher is betterClaude Sonnet 5: Snapshot: claude-sonnet-5-high, Reasoning: high, Harness: Arena text, style control Gemini 3.1 Pro Preview: Snapshot: gemini-3.1-pro-preview, Harness: Arena text, style controlClaude Sonnet 5: Style-controlled Arena rating from 2,074 anonymous pairwise votes.Gemini 3.1 Pro Preview: Style-controlled Arena rating from 6,195 anonymous pairwise votes.
1,499.492
95% confidence interval: ±13.64The Arena score measures human preference rather than a fixed capability test. The confidence interval and model configuration are part of the result.
Higher measured value1,530.803
95% confidence interval: ±8.555The Arena score measures human preference rather than a fixed capability test. The confidence interval and model configuration are part of the result.
Key to the marks:better valuebetter, but not conclusivetie
Our model tests
Community tests you can inspect
Compare how the models respond to the same prompt. Each test shows the first attempt, with no subsequent fixes to the generated code. These results do not contribute to an overall score.
Pelican on a bicycle
A community classic for free-form SVG drawing.
Claude Sonnet 5
A community classic for free-form SVG drawing.First attempt
Run date
7 Sept 2026
API provider
openrouter
Requested API model
anthropic/claude-sonnet-5
API model reported in response
anthropic/claude-sonnet-5
Pinned endpoint
Anthropic | anthropic/claude-sonnet-5-20260630
Reasoning setting
high
Temperature
Provider default
Token limit including reasoning
8,192 tokens
Test protocol
community-visual-tests-v1
Technical checks
Passed, not a quality rating
Response time
47.9 s
Visually reviewed. This individual test does not establish overall model quality.
Gemini 3.1 Pro Preview
API access was unavailable for this run. The model was not evaluated.
First attempt
Run date
7 Sept 2026
API provider
openrouter
Requested API model
google/gemini-3.1-pro-preview
Pinned endpoint
Google AI Studio | google/gemini-3.1-pro-preview-20260219
Reasoning setting
high
Temperature
Provider default
Token limit including reasoning
8,192 tokens
Test protocol
community-visual-tests-v1
Technical checks
Not run
Not yet visually reviewed. A successful recording does not confirm correct physics or full compliance with the prompt.
Your workload, budget, and required context length matter most. A coding benchmark says little about visual understanding or agent performance.
The standard price table uses direct developer rates. The provider comparison labels OpenRouter endpoints, regions, and special tariffs separately.
Every result links to its measurement source and retrieval date. Labels distinguish vendor reports, official benchmark leaderboards, and independent evaluations. Disputed or archived results are excluded.
More matchups
Related LLM comparisons
Compare Claude Sonnet 5 and Gemini 3.1 Pro Preview with other leading models using the same data and benchmark logic.