# Claude Sonnet 5 vs Gemini 3.7 Flash

Canonical: https://weaveos.com/models/compare/anthropic--claude-sonnet-5-vs-google--gemini-3.7-flash

Catalog checked: Nov 27, 2026.

Methodology: https://weaveos.com/models/methodology.

## Routing trade-offs

- **Benchmark results.** Claude Sonnet 5 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 $4.50 for Claude Sonnet 5 and $1.6875 for Gemini 3.7 Flash.
- **Context window.** Gemini 3.7 Flash lists 1,048,576 tokens of context. Claude Sonnet 5 lists 1,000,000 tokens. Reserve space for the output before routing long inputs.

## Model specifications

| Specification | Claude Sonnet 5 | Gemini 3.7 Flash |
| --- | --- | --- |
| Catalog status | Listed | Listed |
| Catalog model ID | anthropic/claude-sonnet-5 | google/gemini-3.7-flash |
| Provider | Anthropic | Google |
| 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 | Jun 30, 2026 | Aug 13, 2026 |

## Token pricing

OpenRouter snapshot rates in USD per million tokens. Rates and billing can vary with API endpoint, volume, tier, tools, and cache settings. Prices do not represent Weave plans. Catalog source: https://openrouter.ai/api/v1/models.

| USD per million tokens | Claude Sonnet 5 | Gemini 3.7 Flash |
| --- | --- | --- |
| Uncached input | $2.00 | $0.75 |
| Output | $10.00 | $3.75 |
| Cache read | $0.20 | $0.075 |
| Cache write | $2.50 | $0.0417 |

Cost estimate formula: ((input tokens × uncached input USD per million) + (output tokens × output USD per million)) ÷ 1,000,000. The overview uses 1,000,000 input tokens and 250,000 output tokens.

## Shared benchmark results

Shared rows require the same benchmark source snapshot, metric, score unit, and evaluation group. Reasoning settings and test configurations can differ. Benchmarks describe the published runs.

| Benchmark | Claude Sonnet 5 | Gemini 3.7 Flash | Evaluation group | Claude Sonnet 5 date or snapshot | Gemini 3.7 Flash date or snapshot | Claude Sonnet 5 configuration | Gemini 3.7 Flash configuration | Result source | Methodology |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Code Completion | 78.261% | 76.087% | livebench:v1:20260625:code\_completion:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | claude-sonnet-5-xhigh-effort | gemini-3.7-flash-high | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Code Generation | 83.099% | 81.69% | livebench:v1:20260625:code\_generation:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | claude-sonnet-5-xhigh-effort | gemini-3.7-flash-high | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Coding | 74.7% | 80.5% | livebench:v2:20261014:coding:% | Suite release Oct 14, 2026 · run date unavailable | Suite release Oct 14, 2026 · run date unavailable | claude-sonnet-5 | gemini-3.7-flash | https://livebench.ai/data/20261014/table.csv | https://github.com/LiveBench/LiveBench |
| Javascript | 68.182% | 68.182% | livebench:v1:20260625:javascript:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | claude-sonnet-5-xhigh-effort | gemini-3.7-flash-high | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Long Agentic | 39% | 28.3% | livebench:v2:20261014:long\_agentic:% | Suite release Oct 14, 2026 · run date unavailable | Suite release Oct 14, 2026 · run date unavailable | claude-sonnet-5 | gemini-3.7-flash | https://livebench.ai/data/20261014/table.csv | https://github.com/LiveBench/LiveBench |
| Python | 60% | 60% | livebench:v1:20260625:python:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | claude-sonnet-5-xhigh-effort | gemini-3.7-flash-high | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Typescript | 50% | 46.667% | livebench:v1:20260625:typescript:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | claude-sonnet-5-xhigh-effort | gemini-3.7-flash-high | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Amps Hard | 98% | 98% | livebench:v1:20260625:AMPS\_Hard:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | claude-sonnet-5-xhigh-effort | gemini-3.7-flash-high | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Browser | 72% | 56% | livebench:v2:20261014:browser:% | Suite release Oct 14, 2026 · run date unavailable | Suite release Oct 14, 2026 · run date unavailable | claude-sonnet-5 | gemini-3.7-flash | https://livebench.ai/data/20261014/table.csv | https://github.com/LiveBench/LiveBench |
| Connections | 95.5% | 100% | livebench:v1:20260625:connections:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | claude-sonnet-5-xhigh-effort | gemini-3.7-flash-high | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Consecutive Events | 74.741% | 60.373% | livebench:v1:20260625:consecutive\_events:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | claude-sonnet-5-xhigh-effort | gemini-3.7-flash-high | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Data Analysis | 71.7% | 68% | livebench:v2:20261014:data\_analysis:% | Suite release Oct 14, 2026 · run date unavailable | Suite release Oct 14, 2026 · run date unavailable | claude-sonnet-5 | gemini-3.7-flash | https://livebench.ai/data/20261014/table.csv | https://github.com/LiveBench/LiveBench |
| Design | 82% | 73.2% | livebench:v2:20261014:design:% | Suite release Oct 14, 2026 · run date unavailable | Suite release Oct 14, 2026 · run date unavailable | claude-sonnet-5 | gemini-3.7-flash | https://livebench.ai/data/20261014/table.csv | https://github.com/LiveBench/LiveBench |
| Integrals With Game | 88% | 88% | livebench:v1:20260625:integrals\_with\_game:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | claude-sonnet-5-xhigh-effort | gemini-3.7-flash-high | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Logic With Navigation | 86% | 74% | livebench:v1:20260625:logic\_with\_navigation:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | claude-sonnet-5-xhigh-effort | gemini-3.7-flash-high | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Math Comp | 95.098% | 96.078% | livebench:v1:20260625:math\_comp:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | claude-sonnet-5-xhigh-effort | gemini-3.7-flash-high | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Olympiad | 90.671% | 91.794% | livebench:v1:20260625:olympiad:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | claude-sonnet-5-xhigh-effort | gemini-3.7-flash-high | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Paraphrase | 61.25% | 78.067% | livebench:v1:20260625:paraphrase:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | claude-sonnet-5-xhigh-effort | gemini-3.7-flash-high | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Plot Unscrambling | 53.411% | 66.365% | livebench:v1:20260625:plot\_unscrambling:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | claude-sonnet-5-xhigh-effort | gemini-3.7-flash-high | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Reasoning | 88.7% | 87.8% | livebench:v2:20261014:reasoning:% | Suite release Oct 14, 2026 · run date unavailable | Suite release Oct 14, 2026 · run date unavailable | claude-sonnet-5 | gemini-3.7-flash | https://livebench.ai/data/20261014/table.csv | https://github.com/LiveBench/LiveBench |
| Research | 82.8% | 76.5% | livebench:v2:20261014:research:% | Suite release Oct 14, 2026 · run date unavailable | Suite release Oct 14, 2026 · run date unavailable | claude-sonnet-5 | gemini-3.7-flash | https://livebench.ai/data/20261014/table.csv | https://github.com/LiveBench/LiveBench |
| Simplify | 60.65% | 74.617% | livebench:v1:20260625:simplify:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | claude-sonnet-5-xhigh-effort | gemini-3.7-flash-high | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Spatial | 100% | 100% | livebench:v1:20260625:spatial:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | claude-sonnet-5-xhigh-effort | gemini-3.7-flash-high | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Story Generation | 62.317% | 82.25% | livebench:v1:20260625:story\_generation:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | claude-sonnet-5-xhigh-effort | gemini-3.7-flash-high | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Summarize | 71.217% | 84.767% | livebench:v1:20260625:summarize:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | claude-sonnet-5-xhigh-effort | gemini-3.7-flash-high | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Tablejoin | 42.442% | 45.481% | livebench:v1:20260625:tablejoin:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | claude-sonnet-5-xhigh-effort | gemini-3.7-flash-high | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Tablereformat | 98.039% | 98.039% | livebench:v1:20260625:tablereformat:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | claude-sonnet-5-xhigh-effort | gemini-3.7-flash-high | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Theory Of Mind | 80.769% | 82.692% | livebench:v1:20260625:theory\_of\_mind:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | claude-sonnet-5-xhigh-effort | gemini-3.7-flash-high | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Typos | 76% | 90% | livebench:v1:20260625:typos:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | claude-sonnet-5-xhigh-effort | gemini-3.7-flash-high | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Zebra Puzzle | 88% | 94.5% | livebench:v1:20260625:zebra\_puzzle:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | claude-sonnet-5-xhigh-effort | gemini-3.7-flash-high | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |

## Individual benchmark evidence

### Claude Sonnet 5

No additional benchmark rows are available for this model ID.

### Gemini 3.7 Flash

No additional benchmark rows are available for this model ID.

## Weave Router catalog

| Model | Exact public catalog status | Router model ID |
| --- | --- | --- |
| Claude Sonnet 5 | Listed | claude-sonnet-5 |
| Gemini 3.7 Flash | Unverified | Unavailable |

Public catalog source: https://router.weaveos.com/v1/router/models?scope=catalog. Checked Nov 27, 2026. Catalog presence does not determine plan or account eligibility.

## Visual assets

- Summary image (1200x630 PNG): https://weaveos.com/models/compare/anthropic--claude-sonnet-5-vs-google--gemini-3.7-flash/opengraph-image
- Anthropic logo: https://weaveos.com/models/logos/anthropic.svg
- Claude Sonnet 5 product mark: https://weaveos.com/models/logos/claude.svg
- Google logo: https://weaveos.com/models/logos/google-color.svg
- Gemini 3.7 Flash product mark: https://weaveos.com/models/logos/gemini.svg

## Model identities and sources

- Claude Sonnet 5 model ID: anthropic/claude-sonnet-5.
- Catalog revision ID: anthropic/claude-sonnet-5-20260630.
- Knowledge cutoff: Unavailable.
- Endpoint variant: Standard model record.
- Advertised API parameters: include\_reasoning, max\_completion\_tokens, max\_tokens, reasoning, reasoning\_effort, response\_format, stop, structured\_outputs, tool\_choice, tools, verbosity.
- batch endpoint anthropic/claude-sonnet-5:batch. Input $1.00 and output $5.00 per million tokens. Source: https://openrouter.ai/api/v1/models
- Source: https://openrouter.ai/anthropic/claude-sonnet-5

- Gemini 3.7 Flash model ID: google/gemini-3.7-flash.
- Catalog revision ID: google/gemini-3.7-flash-20260813.
- Knowledge cutoff: Unavailable.
- Endpoint variant: Standard model record.
- Advertised API parameters: include\_reasoning, max\_tokens, reasoning, reasoning\_effort, response\_format, seed, stop, structured\_outputs, temperature, tool\_choice, tools, top\_p.
- batch endpoint google/gemini-3.7-flash:batch. Input $0.375 and output $1.875 per million tokens. Source: https://openrouter.ai/api/v1/models
- Source: https://openrouter.ai/google/gemini-3.7-flash

- Claude Sonnet 5 profile: https://weaveos.com/models/anthropic--claude-sonnet-5
- Gemini 3.7 Flash profile: https://weaveos.com/models/google--gemini-3.7-flash
