AI model comparison
Claude Sonnet 4.6 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
Anthropic
Claude Sonnet 4.6- Context tokens
- 1M
- Input / 1M
- $3.00
- Output / 1M
- $15.00
- Context tokens
- 1.05M
- Input / 1M
- $0.75
- Output / 1M
- $3.75
Percent score · Result source · Test method
The trade-offs
Start with the differences that affect how this model fits your workload.
- Benchmark results
- Claude Sonnet 4.6 and Gemini 3.7 Flash scored 78.261% 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 $6.75 for Claude Sonnet 4.6 and $1.6875 for Gemini 3.7 Flash.
- Context window
- Gemini 3.7 Flash lists 1,048,576 tokens of context. Claude Sonnet 4.6 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.
Source Result source · Test method
Code Completion
Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4-6-thinking-auto-medium-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
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4-6-thinking-auto-medium-effort
- Gemini 3.7 Flash
- gemini-3.7-flash-high
Coding
Coding · Suite release Oct 14, 2026 · run date unavailable · Result source · Test method
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4.6
- Gemini 3.7 Flash
- gemini-3.7-flash
Javascript
Agentic Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4-6-thinking-auto-medium-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
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4.6
- Gemini 3.7 Flash
- gemini-3.7-flash
Python
Agentic Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4-6-thinking-auto-medium-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
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4-6-thinking-auto-medium-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
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4-6-thinking-auto-medium-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
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4.6
- Gemini 3.7 Flash
- gemini-3.7-flash
Connections
Language · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4-6-thinking-auto-medium-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
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4-6-thinking-auto-medium-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
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4.6
- Gemini 3.7 Flash
- gemini-3.7-flash
Design
Design · Suite release Oct 14, 2026 · run date unavailable · Result source · Test method
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4.6
- Gemini 3.7 Flash
- gemini-3.7-flash
Integrals With Game
Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4-6-thinking-auto-medium-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
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4-6-thinking-auto-medium-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
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4-6-thinking-auto-medium-effort
- Gemini 3.7 Flash
- gemini-3.7-flash-high
Olympiad
Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4-6-thinking-auto-medium-effort
- Gemini 3.7 Flash
- gemini-3.7-flash-high
Paraphrase
IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4-6-thinking-auto-medium-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
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4-6-thinking-auto-medium-effort
- Gemini 3.7 Flash
- gemini-3.7-flash-high
Reasoning
Reasoning · Suite release Oct 14, 2026 · run date unavailable · Result source · Test method
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4.6
- Gemini 3.7 Flash
- gemini-3.7-flash
Research
Research · Suite release Oct 14, 2026 · run date unavailable · Result source · Test method
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4.6
- Gemini 3.7 Flash
- gemini-3.7-flash
Simplify
IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4-6-thinking-auto-medium-effort
- Gemini 3.7 Flash
- gemini-3.7-flash-high
Spatial
Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4-6-thinking-auto-medium-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
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4-6-thinking-auto-medium-effort
- Gemini 3.7 Flash
- gemini-3.7-flash-high
Summarize
IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4-6-thinking-auto-medium-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
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4-6-thinking-auto-medium-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
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4-6-thinking-auto-medium-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
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4-6-thinking-auto-medium-effort
- Gemini 3.7 Flash
- gemini-3.7-flash-high
Typos
Language · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4-6-thinking-auto-medium-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
Test configurations
- Claude Sonnet 4.6
- claude-sonnet-4-6-thinking-auto-medium-effort
- Gemini 3.7 Flash
- gemini-3.7-flash-high
View individual benchmark records
These model-level records can include other benchmark releases, test configurations, and vendor-reported results.
Claude Sonnet 4.6
| Benchmark | Score | Configuration | Source model label | Evidence |
|---|---|---|---|---|
| GPQA Diamond | 89.9% | max effort; 10 trials · Feb 17, 2026 | Unavailable | Result source · Test method |
| MMMU-Pro | 74.5% | no tools; max effort; 10 trials · Feb 17, 2026 | Unavailable | Result source · Test method |
| MMMU-Pro | 75.6% | image cropping tool; max effort; 10 trials · Feb 17, 2026 | Unavailable | Result source · Test method |
| OSWorld-Verified | 72.5% | Anthropic infrastructure; max effort · Feb 17, 2026 | Unavailable | Result source · Test method |
| Humanity's Last Exam | 33.2% | no tools; max effort; 10 trials · Feb 17, 2026 | Unavailable | Result source · Test method |
| Humanity's Last Exam | 49% | with tools; max effort; 10 trials · Feb 17, 2026 | Unavailable | Result source · Test method |
| Terminal-Bench 2.0 | 59.1% | Terminus-2; no thinking; 89 tasks x5 · Feb 17, 2026 | Unavailable | Result source · Test method |
| SWE-bench Verified | 79.6% | max effort; 10 trials · Feb 17, 2026 | Unavailable | Result source |
| SWE-bench Multilingual | 75.9% | max effort; 10 trials · Feb 17, 2026 | Unavailable | Result source |
Gemini 3.7 Flash
No additional benchmark results are available for this model ID.
Pricing and token cost
Listed OpenRouter prices in US dollars. Actual charges depend on the endpoint, tier, cache, and token mix.
| USD per million tokens | Claude Sonnet 4.6 | Gemini 3.7 Flash |
|---|---|---|
| Uncached input | $3.00 | $0.75 |
| Output | $15.00 | $3.75 |
| Cache read | $0.30 | $0.075 |
| Cache write | $3.75 | $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.
Gemini 3.7 Flash costs $5.0625 less at this token mix.
Model specifications
Context, output limits, modalities, and supported API parameters from the catalog.
| Specification | Claude Sonnet 4.6 | Gemini 3.7 Flash |
|---|---|---|
| Catalog status | Listed | Listed |
| Catalog model ID | anthropic/claude-sonnet-4.6 | google/gemini-3.7-flash |
| Provider | Anthropic | |
| Context window | 1,000,000 tokens | 1,048,576 tokens |
| Max output | 128,000 tokens | 65,536 tokens |
| Input modalities | Text, Image, File | Text, Image, Video, File, Audio |
| Output modalities | Text | Text |
| Reasoning controls | Listed | Listed |
| Tool calling | Listed | Listed |
| Structured outputs | Listed | Listed |
| 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 date | Feb 17, 2026 | Aug 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 Sonnet 4.6
Listed in the public Router catalog.
claude-sonnet-4-6Gemini 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
Sources
Each benchmark links to its own result and test method when available.
- OpenRouter Models API · token rates and catalog specifications
- Weave Router catalog · verified Router model IDs
- Claude Sonnet 4.6 catalog entry
- Gemini 3.7 Flash catalog entry