Skip to main content

Head-to-head comparison

Claude Opus 4.7 vs. Gemini 3.1 Pro Preview

Compare published benchmark results from matching versions and cohorts, API pricing, and technical specifications. Any documented test setup differences remain visible.

shared result series
13
distinct benchmarks
3
latest retrieval
2026-09-02

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 Opus 4.7 and Gemini 3.1 Pro Preview
AttributeClaude Opus 4.7Gemini 3.1 Pro Preview
ProviderAnthropicGoogle
ReleasedApr 2026Feb 19, 2026
AvailabilityActivePreview
Model typeProprietaryProprietary
ParametersNot publishedNot published
ArchitectureNot publishedNot published
Context window1,000,000 tokens1,048,576 tokens
Knowledge cutoffJanuary 2026Not published
Technical sourcesModel, Knowledge cutoffModel

Pricing

API pricing compared

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 Opus 4.7 and Gemini 3.1 Pro Preview
Price typeClaude Opus 4.7Gemini 3.1 Pro Preview
API input$5$2 ≤200K / $4 >200K
API output$25$12 ≤200K / $18 >200K
Cache read$0.5$0.2 ≤200K / $0.4 >200K
Cache write (5 min.)$6.25Not listed
Cache write (1 hr.)$10Not listed
Price verified07/30/2026 Source07/30/2026 Source
Claude Opus 4.7Gemini 3.1 Pro Preview
API inputUSD per 1M tokens, base tier
Claude Opus 4.7$5
Gemini 3.1 Pro PreviewLower price$2
API outputUSD per 1M tokens, base tier
Claude Opus 4.7$25
Gemini 3.1 Pro PreviewLower price$12
Cache readUSD per 1M tokens, base tier
Claude Opus 4.7$0.5
Gemini 3.1 Pro PreviewLower price$0.2

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 Opus 4.7 and Gemini 3.1 Pro Preview
ModelProviderPurchase route and tariffInput per 1M tokensOutput per 1M tokensSource
Claude Opus 4.7AnthropicDirect from developerStandard APILowest listed price: $5Lowest listed price: $25Source07/30/2026
Amazon BedrockVia OpenRouteramazon-bedrock/eu-west-1$5.5$27.5Source09/12/2026
Amazon BedrockVia OpenRouteramazon-bedrock/globalLowest listed price: $5Lowest listed price: $25Source09/12/2026
AnthropicVia OpenRouteranthropicLowest listed price: $5Lowest listed price: $25Source09/12/2026
AzureVia OpenRouterazure/globalLowest listed price: $5Lowest listed price: $25Source09/12/2026
Claude Platform on AWSVia OpenRouterclaude-on-awsLowest listed price: $5Lowest listed price: $25Source09/12/2026
GoogleVia OpenRoutergoogle-vertex/europe$5.5$27.5Source09/12/2026
GoogleVia OpenRoutergoogle-vertex/globalLowest listed price: $5Lowest listed price: $25Source09/12/2026
GoogleVia OpenRoutergoogle-vertex/us$5.5$27.5Source09/12/2026
Gemini 3.1 Pro PreviewGoogleDirect from developerUp to 200,000 context tokens$2$12Source07/30/2026
GoogleDirect from developerAbove 200,000 context tokens$4$18Source07/30/2026
GoogleVia OpenRoutergoogle-vertex/global$2$12Source09/12/2026
GoogleVia OpenRoutergoogle-vertex/global/flexLowest listed price: $1Lowest listed price: $6Source09/12/2026
GoogleVia OpenRoutergoogle-vertex/global/priority$3.6$21.6Source09/12/2026
Google AI StudioVia OpenRoutergoogle-ai-studio$2$12Source09/12/2026
Google AI StudioVia OpenRoutergoogle-ai-studio/flexLowest listed price: $1Lowest listed price: $6Source09/12/2026
Google AI StudioVia OpenRoutergoogle-ai-studio/priority$3.6$21.6Source09/12/2026

Performance

Shared benchmarks

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.

Not enough directly matched categories for a reliable radar

Only 2 of at least 5 categories have comparable, direct model measurements. The benchmark tables below show the available evidence without filling missing axes.

Claude Opus 4.7Gemini 3.1 Pro Preview
GAIA ReliabilityAccuracy. Higher is better. No documented setup difference
Claude Opus 4.773.3 %
Gemini 3.1 Pro PreviewWinner76.2 %
Humanity's Last ExamOverall. Higher is better. No documented setup difference
Claude Opus 4.736.20% ± 1.88
Gemini 3.1 Pro PreviewWinner46.44% ± 1.96
τ-bench Airline CleanAccuracy. Higher is better. No documented setup difference
Claude Opus 4.7Winner84.6 %
Gemini 3.1 Pro Preview82.1 %
GAIA ReliabilityConsistency. Higher is better. No documented setup difference
Claude Opus 4.7Winner0.81 rating points
Gemini 3.1 Pro Preview0.76 rating points
τ-bench Airline CleanConsistency. Higher is better. No documented setup difference
Claude Opus 4.7Winner0.88 rating points
Gemini 3.1 Pro Preview0.81 rating points
GAIA ReliabilityPredictability. Higher is better. No documented setup difference
Claude Opus 4.70.73 rating points
Gemini 3.1 Pro PreviewWinner0.78 rating points
τ-bench Airline CleanPredictability. Higher is better. No documented setup difference
Claude Opus 4.7Winner0.87 rating points
Gemini 3.1 Pro Preview0.83 rating points
GAIA ReliabilityReliability. Higher is better. No documented setup difference
Claude Opus 4.7Winner0.84 rating points
Gemini 3.1 Pro Preview0.82 rating points
τ-bench Airline CleanReliability. Higher is better. No documented setup difference
Claude Opus 4.7Winner0.89 rating points
Gemini 3.1 Pro Preview0.86 rating points
GAIA ReliabilityRobustness. Higher is better. No documented setup difference
Claude Opus 4.7Winner0.99 rating points
Gemini 3.1 Pro Preview0.94 rating points
τ-bench Airline CleanRobustness. Higher is better. No documented setup difference
Claude Opus 4.70.91 rating points
Gemini 3.1 Pro PreviewWinner0.94 rating points
GAIA ReliabilitySafety. Higher is better. No documented setup difference
Claude Opus 4.7Tie1 rating points
Gemini 3.1 Pro PreviewTie1 rating points

Key to the marks:better valuebetter, but not conclusivetie

Benchmark scores for Claude Opus 4.7 and Gemini 3.1 Pro Preview
Benchmark and taskClaude Opus 4.7Gemini 3.1 Pro PreviewSource
GAIA ReliabilityAccuracy
Test details
No documented difference in the test setupVersion: final leak-cleaned public validation setMetric: exact-match accuracyScoring: Higher is betterSettings: Agent: HAL Reliability, Harness: HAL Reliability165 GAIA tasks with repeated runs and perturbations. HAL does not publish cost for this evaluation.
73.3 %
Winner76.2 %
Princeton HAL
Source details
Data as of: 08/06/2026
Humanity's Last ExamOverall
Test details
No documented difference in the test setupVersion: final 2,500-question public setMetric: accuracyScoring: Higher is betterClaude Opus 4.7: Attempts: pass@1
Gemini 3.1 Pro Preview: Snapshot: gemini-3.1-pro-preview-thinking-high, Attempts: pass@1
All 2,500 public questions, temperature 0, and an automatic answer extractor.
36.20% ± 1.88
95% confidence interval: ±1.88
Winner46.44% ± 1.96
95% confidence interval: ±1.96
Scale AI
Source details
Data as of: 09/02/2026
τ-bench Airline CleanAccuracy
Test details
No documented difference in the test setupVersion: 26-task cleaned subsetMetric: task success rateScoring: Higher is betterSettings: Agent: HAL Reliability, Harness: HAL Reliability26 cleaned airline tasks. Princeton HAL recomputed every metric from scratch on this subset.
Winner84.6 %
82.1 %
Princeton HAL
Source details
Data as of: 08/05/2026
GAIA ReliabilityConsistency
Test details
No documented difference in the test setupVersion: final leak-cleaned public validation setMetric: aggregate consistencyScoring: Higher is betterSettings: Agent: HAL Reliability, Harness: HAL Reliability165 GAIA tasks with repeated runs and perturbations. HAL does not publish cost for this evaluation.
Winner0.81 rating points
0.76 rating points
Princeton HAL
Source details
Data as of: 08/06/2026
τ-bench Airline CleanConsistency
Test details
No documented difference in the test setupVersion: 26-task cleaned subsetMetric: aggregate consistencyScoring: Higher is betterSettings: Agent: HAL Reliability, Harness: HAL Reliability26 cleaned airline tasks. Princeton HAL recomputed every metric from scratch on this subset.
Winner0.88 rating points
0.81 rating points
Princeton HAL
Source details
Data as of: 08/05/2026
GAIA ReliabilityPredictability
Test details
No documented difference in the test setupVersion: final leak-cleaned public validation setMetric: aggregate predictabilityScoring: Higher is betterSettings: Agent: HAL Reliability, Harness: HAL Reliability165 GAIA tasks with repeated runs and perturbations. HAL does not publish cost for this evaluation.
0.73 rating points
Winner0.78 rating points
Princeton HAL
Source details
Data as of: 08/06/2026
τ-bench Airline CleanPredictability
Test details
No documented difference in the test setupVersion: 26-task cleaned subsetMetric: aggregate predictabilityScoring: Higher is betterSettings: Agent: HAL Reliability, Harness: HAL Reliability26 cleaned airline tasks. Princeton HAL recomputed every metric from scratch on this subset.
Winner0.87 rating points
0.83 rating points
Princeton HAL
Source details
Data as of: 08/05/2026
GAIA ReliabilityReliability
Test details
No documented difference in the test setupVersion: final leak-cleaned public validation setMetric: aggregate reliabilityScoring: Higher is betterSettings: Agent: HAL Reliability, Harness: HAL Reliability165 GAIA tasks with repeated runs and perturbations. HAL does not publish cost for this evaluation.
Winner0.84 rating points
0.82 rating points
Princeton HAL
Source details
Data as of: 08/06/2026
τ-bench Airline CleanReliability
Test details
No documented difference in the test setupVersion: 26-task cleaned subsetMetric: aggregate reliabilityScoring: Higher is betterSettings: Agent: HAL Reliability, Harness: HAL Reliability26 cleaned airline tasks. Princeton HAL recomputed every metric from scratch on this subset.
Winner0.89 rating points
0.86 rating points
Princeton HAL
Source details
Data as of: 08/05/2026
GAIA ReliabilityRobustness
Test details
No documented difference in the test setupVersion: final leak-cleaned public validation setMetric: aggregate robustnessScoring: Higher is betterSettings: Agent: HAL Reliability, Harness: HAL Reliability165 GAIA tasks with repeated runs and perturbations. HAL does not publish cost for this evaluation.
Winner0.99 rating points
0.94 rating points
Princeton HAL
Source details
Data as of: 08/06/2026
τ-bench Airline CleanRobustness
Test details
No documented difference in the test setupVersion: 26-task cleaned subsetMetric: aggregate robustnessScoring: Higher is betterSettings: Agent: HAL Reliability, Harness: HAL Reliability26 cleaned airline tasks. Princeton HAL recomputed every metric from scratch on this subset.
0.91 rating points
Winner0.94 rating points
Princeton HAL
Source details
Data as of: 08/05/2026
GAIA ReliabilitySafety
Test details
No documented difference in the test setupVersion: final leak-cleaned public validation setMetric: aggregate safetyScoring: Higher is betterSettings: Agent: HAL Reliability, Harness: HAL Reliability165 GAIA tasks with repeated runs and perturbations. HAL does not publish cost for this evaluation.
Tie1 rating points
Tie1 rating points
Princeton HAL
Source details
Data as of: 08/06/2026
τ-bench Airline CleanSafety
Test details
No documented difference in the test setupVersion: 26-task cleaned subsetMetric: aggregate safetyScoring: Higher is betterSettings: Agent: HAL Reliability, Harness: HAL Reliability26 cleaned airline tasks. Princeton HAL recomputed every metric from scratch on this subset.
0.94 rating points
Winner0.97 rating points
Princeton HAL
Source details
Data as of: 08/05/2026

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 Opus 4.7

Not tested yet

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.

Prompt and test conditions

Generate an SVG of a pelican riding a bicycle

Token limit including reasoning: 8,192 tokens

Task origin (Simon Willison)

How to read this comparison

Winning one benchmark is not an overall verdict

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

Compare Claude Opus 4.7 and Gemini 3.1 Pro Preview with other leading models using the same data and benchmark logic.

View the complete LLM comparison