AI model comparison

Claude Opus 5 vs Gemini 3.7 Flash

Compare benchmark results, pricing, and API capabilities for each model. Estimate the cost of your own token mix.

Change models
Loading the catalog…
Markdown

Anthropic

Claude Opus 5
Context tokens
1M
Input / 1M
$5.00
Output / 1M
$25.00
Context tokens
1.05M
Input / 1M
$0.75
Output / 1M
$3.75
Benchmark snapshot
Code Completion
Claude Opus 5Gemini 3.7 Flash
82.609%
76.087%

Percent score · Result source · Test method

Catalog checked Nov 27, 202630 shared benchmark resultsRead the methodology

The trade-offs

Start with the differences that affect how this model fits your workload.

Benchmark results
Claude Opus 5 and Gemini 3.7 Flash scored 82.609% and 76.087%, respectively, on Code Completion. Use the test setup below to check whether it matches your workload.
Token cost
For 1 million input tokens and 250,000 output tokens, the listed rates estimate $11.25 for Claude Opus 5 and $1.6875 for Gemini 3.7 Flash.
Context window
Gemini 3.7 Flash lists 1,048,576 tokens of context. Claude Opus 5 lists 1,000,000 tokens. Reserve space for the output before routing long inputs.

Benchmarks

Shared results come from the same published benchmark release. Reasoning effort and serving configuration can differ.

Shared benchmark profilePercentage scores from the first eight shared groups, sorted by the page evidence order.

Source Result source · Test method

Claude Opus 5Gemini 3.7 Flash

Code Completion

Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

82.609%
76.087%
Test configurations
Claude Opus 5
claude-opus-5-max-effort
Gemini 3.7 Flash
gemini-3.7-flash-high

Code Generation

Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

80.282%
81.69%
Test configurations
Claude Opus 5
claude-opus-5-max-effort
Gemini 3.7 Flash
gemini-3.7-flash-high

Coding

Coding · Suite release Oct 14, 2026 · run date unavailable · Result source · Test method

90.8%
80.5%
Test configurations
Claude Opus 5
claude-opus-5
Gemini 3.7 Flash
gemini-3.7-flash

Javascript

Agentic Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

77.273%
68.182%
Test configurations
Claude Opus 5
claude-opus-5-max-effort
Gemini 3.7 Flash
gemini-3.7-flash-high

Long Agentic

Long Agentic · Suite release Oct 14, 2026 · run date unavailable · Result source · Test method

62.1%
28.3%
Test configurations
Claude Opus 5
claude-opus-5
Gemini 3.7 Flash
gemini-3.7-flash

Python

Agentic Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

75%
60%
Test configurations
Claude Opus 5
claude-opus-5-max-effort
Gemini 3.7 Flash
gemini-3.7-flash-high

Typescript

Agentic Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

43.333%
46.667%
Test configurations
Claude Opus 5
claude-opus-5-max-effort
Gemini 3.7 Flash
gemini-3.7-flash-high

Amps Hard

Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

99.01%
98%
Test configurations
Claude Opus 5
claude-opus-5-max-effort
Gemini 3.7 Flash
gemini-3.7-flash-high
Show 22 more shared results

Browser

Browser · Suite release Oct 14, 2026 · run date unavailable · Result source · Test method

84%
56%
Test configurations
Claude Opus 5
claude-opus-5
Gemini 3.7 Flash
gemini-3.7-flash

Connections

Language · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

99.333%
100%
Test configurations
Claude Opus 5
claude-opus-5-max-effort
Gemini 3.7 Flash
gemini-3.7-flash-high

Consecutive Events

Data Analysis · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

77.571%
60.373%
Test configurations
Claude Opus 5
claude-opus-5-max-effort
Gemini 3.7 Flash
gemini-3.7-flash-high

Data Analysis

Data Analysis · Suite release Oct 14, 2026 · run date unavailable · Result source · Test method

74.6%
68%
Test configurations
Claude Opus 5
claude-opus-5
Gemini 3.7 Flash
gemini-3.7-flash

Design

Design · Suite release Oct 14, 2026 · run date unavailable · Result source · Test method

83%
73.2%
Test configurations
Claude Opus 5
claude-opus-5
Gemini 3.7 Flash
gemini-3.7-flash

Integrals With Game

Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

97%
88%
Test configurations
Claude Opus 5
claude-opus-5-max-effort
Gemini 3.7 Flash
gemini-3.7-flash-high

Logic With Navigation

Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

86%
74%
Test configurations
Claude Opus 5
claude-opus-5-max-effort
Gemini 3.7 Flash
gemini-3.7-flash-high

Math Comp

Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

94.118%
96.078%
Test configurations
Claude Opus 5
claude-opus-5-max-effort
Gemini 3.7 Flash
gemini-3.7-flash-high

Olympiad

Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

92.796%
91.794%
Test configurations
Claude Opus 5
claude-opus-5-max-effort
Gemini 3.7 Flash
gemini-3.7-flash-high

Paraphrase

IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

65.733%
78.067%
Test configurations
Claude Opus 5
claude-opus-5-max-effort
Gemini 3.7 Flash
gemini-3.7-flash-high

Plot Unscrambling

Language · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

74.731%
66.365%
Test configurations
Claude Opus 5
claude-opus-5-max-effort
Gemini 3.7 Flash
gemini-3.7-flash-high

Reasoning

Reasoning · Suite release Oct 14, 2026 · run date unavailable · Result source · Test method

91.2%
87.8%
Test configurations
Claude Opus 5
claude-opus-5
Gemini 3.7 Flash
gemini-3.7-flash

Research

Research · Suite release Oct 14, 2026 · run date unavailable · Result source · Test method

88.9%
76.5%
Test configurations
Claude Opus 5
claude-opus-5
Gemini 3.7 Flash
gemini-3.7-flash

Simplify

IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

61.583%
74.617%
Test configurations
Claude Opus 5
claude-opus-5-max-effort
Gemini 3.7 Flash
gemini-3.7-flash-high

Spatial

Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

100%
100%
Test configurations
Claude Opus 5
claude-opus-5-max-effort
Gemini 3.7 Flash
gemini-3.7-flash-high

Story Generation

IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

61.317%
82.25%
Test configurations
Claude Opus 5
claude-opus-5-max-effort
Gemini 3.7 Flash
gemini-3.7-flash-high

Summarize

IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

66.433%
84.767%
Test configurations
Claude Opus 5
claude-opus-5-max-effort
Gemini 3.7 Flash
gemini-3.7-flash-high

Tablejoin

Data Analysis · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

51.962%
45.481%
Test configurations
Claude Opus 5
claude-opus-5-max-effort
Gemini 3.7 Flash
gemini-3.7-flash-high

Tablereformat

Data Analysis · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

94.118%
98.039%
Test configurations
Claude Opus 5
claude-opus-5-max-effort
Gemini 3.7 Flash
gemini-3.7-flash-high

Theory Of Mind

Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

78.846%
82.692%
Test configurations
Claude Opus 5
claude-opus-5-max-effort
Gemini 3.7 Flash
gemini-3.7-flash-high

Typos

Language · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

92%
90%
Test configurations
Claude Opus 5
claude-opus-5-max-effort
Gemini 3.7 Flash
gemini-3.7-flash-high

Zebra Puzzle

Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

100%
94.5%
Test configurations
Claude Opus 5
claude-opus-5-max-effort
Gemini 3.7 Flash
gemini-3.7-flash-high

Pricing and token cost

Listed OpenRouter prices in US dollars. Actual charges depend on the endpoint, tier, cache, and token mix.

USD per million tokensClaude Opus 5Gemini 3.7 Flash
Uncached input$5.00$0.75
Output$25.00$3.75
Cache read$0.50$0.075
Cache write$6.25$0.0417

Rates are a catalog snapshot. OpenRouter Models API

Estimate your workload

Enter total token counts. The estimate uses uncached input and output rates.

Claude Opus 5$11.25
Gemini 3.7 Flash$1.6875

Gemini 3.7 Flash costs $9.5625 less at this token mix.

Model specifications

Context, output limits, modalities, and supported API parameters from the catalog.

SpecificationClaude Opus 5Gemini 3.7 Flash
Catalog statusListedListed
Catalog model IDanthropic/claude-opus-5google/gemini-3.7-flash
ProviderAnthropicGoogle
Context window1,000,000 tokens1,048,576 tokens
Max output128,000 tokens65,536 tokens
Input modalitiesText, Image, FileText, Image, Video, File, Audio
Output modalitiesTextText
Reasoning controlsListedListed
Tool callingListedListed
Structured outputsListedListed
Serving endpoints/api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses/api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses
Catalog listing dateJul 24, 2026Aug 13, 2026

Use with Weave Router

Set a quality bar on your own coding tasks. Then compare cost per completed task and use the same harness when you change models.

Claude Opus 5

Listed in the public Router catalog.

claude-opus-5

Gemini 3.7 Flash

Weave Router availability is unverified for this model ID.

Catalog presence does not guarantee availability for a specific plan or account. Public Weave Router catalog · Nov 27, 2026

Explore Weave Router Read Weave Router benchmark results

Sources

Each benchmark links to its own result and test method when available.

MarkdownFull methodology