AI model comparison

Claude Haiku 4.5 vs Gemini 3.8 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
Context tokens
200K
Input / 1M
$1.00
Output / 1M
$5.00
Context tokens
1.05M
Input / 1M
$0.825
Output / 1M
$4.125
Benchmark snapshot
Coding
Claude Haiku 4.5Gemini 3.8 Flash
48.1%
82.2%

Percent score · Result source · Test method

Catalog checked Nov 27, 20267 shared benchmark resultsRead the methodology

The trade-offs

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

Benchmark results
Claude Haiku 4.5 and Gemini 3.8 Flash scored 48.1% and 82.2%, respectively, on Coding. 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 $2.25 for Claude Haiku 4.5 and $1.8563 for Gemini 3.8 Flash.
Context window
Gemini 3.8 Flash lists 1,048,576 tokens of context. Claude Haiku 4.5 lists 200,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 Haiku 4.5Gemini 3.8 Flash

Coding

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

48.1%
82.2%
Test configurations
Claude Haiku 4.5
claude-haiku-4.5
Gemini 3.8 Flash
gemini-3.8-flash

Long Agentic

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

11.1%
30.1%
Test configurations
Claude Haiku 4.5
claude-haiku-4.5
Gemini 3.8 Flash
gemini-3.8-flash

Browser

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

40%
64%
Test configurations
Claude Haiku 4.5
claude-haiku-4.5
Gemini 3.8 Flash
gemini-3.8-flash

Data Analysis

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

59.3%
54%
Test configurations
Claude Haiku 4.5
claude-haiku-4.5
Gemini 3.8 Flash
gemini-3.8-flash

Design

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

59.9%
72.7%
Test configurations
Claude Haiku 4.5
claude-haiku-4.5
Gemini 3.8 Flash
gemini-3.8-flash

Reasoning

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

61.7%
89.3%
Test configurations
Claude Haiku 4.5
claude-haiku-4.5
Gemini 3.8 Flash
gemini-3.8-flash

Research

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

42.2%
79.1%
Test configurations
Claude Haiku 4.5
claude-haiku-4.5
Gemini 3.8 Flash
gemini-3.8-flash
View individual benchmark records

These model-level records can include other benchmark releases, test configurations, and vendor-reported results.

Claude Haiku 4.5

No additional benchmark results are available for this model ID.

Gemini 3.8 Flash

BenchmarkScoreConfigurationSource model labelEvidence
Long Agentic16.5%gemini-3.8-flash · Suite release Oct 25, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Reasoning89.3%gemini-3.8-flash · Suite release Oct 25, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Coding82.2%gemini-3.8-flash · Suite release Oct 25, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Browser45.1%gemini-3.8-flash · Suite release Oct 25, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Data Analysis54%gemini-3.8-flash · Suite release Oct 25, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Research79.1%gemini-3.8-flash · Suite release Oct 25, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Design72.7%gemini-3.8-flash · Suite release Oct 25, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Long Agentic16.5%gemini-3.8-flash · Suite release Nov 6, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Reasoning89.3%gemini-3.8-flash · Suite release Nov 6, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Coding73.3%gemini-3.8-flash · Suite release Nov 6, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Browser45.1%gemini-3.8-flash · Suite release Nov 6, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Data Analysis54%gemini-3.8-flash · Suite release Nov 6, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Research79.4%gemini-3.8-flash · Suite release Nov 6, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Design69.7%gemini-3.8-flash · Suite release Nov 6, 2026 · run date unavailablegemini-3.8-flashResult source · Test method
Amps Hard99%gemini-3.8-flash-high · Suite release Jun 25, 2026 · run date unavailablegemini-3.8-flash-highResult source · Test method
Code Completion71.739%gemini-3.8-flash-high · Suite release Jun 25, 2026 · run date unavailablegemini-3.8-flash-highResult source · Test method
Code Generation73.239%gemini-3.8-flash-high · Suite release Jun 25, 2026 · run date unavailablegemini-3.8-flash-highResult source · Test method
Connections100%gemini-3.8-flash-high · Suite release Jun 25, 2026 · run date unavailablegemini-3.8-flash-highResult source · Test method
Consecutive Events20.612%gemini-3.8-flash-high · Suite release Jun 25, 2026 · run date unavailablegemini-3.8-flash-highResult source · Test method
Integrals With Game80%gemini-3.8-flash-high · Suite release Jun 25, 2026 · run date unavailablegemini-3.8-flash-highResult source · Test method
Javascript72.727%gemini-3.8-flash-high · Suite release Jun 25, 2026 · run date unavailablegemini-3.8-flash-highResult source · Test method
Logic With Navigation82%gemini-3.8-flash-high · Suite release Jun 25, 2026 · run date unavailablegemini-3.8-flash-highResult source · Test method
Math Comp95.098%gemini-3.8-flash-high · Suite release Jun 25, 2026 · run date unavailablegemini-3.8-flash-highResult source · Test method
Olympiad92.159%gemini-3.8-flash-high · Suite release Jun 25, 2026 · run date unavailablegemini-3.8-flash-highResult source · Test method
Paraphrase80%gemini-3.8-flash-high · Suite release Jun 25, 2026 · run date unavailablegemini-3.8-flash-highResult source · Test method
Plot Unscrambling73.378%gemini-3.8-flash-high · Suite release Jun 25, 2026 · run date unavailablegemini-3.8-flash-highResult source · Test method
Python50%gemini-3.8-flash-high · Suite release Jun 25, 2026 · run date unavailablegemini-3.8-flash-highResult source · Test method
Simplify75.4%gemini-3.8-flash-high · Suite release Jun 25, 2026 · run date unavailablegemini-3.8-flash-highResult source · Test method
Spatial100%gemini-3.8-flash-high · Suite release Jun 25, 2026 · run date unavailablegemini-3.8-flash-highResult source · Test method
Story Generation82.75%gemini-3.8-flash-high · Suite release Jun 25, 2026 · run date unavailablegemini-3.8-flash-highResult source · Test method
Summarize87.5%gemini-3.8-flash-high · Suite release Jun 25, 2026 · run date unavailablegemini-3.8-flash-highResult source · Test method
Tablejoin45.327%gemini-3.8-flash-high · Suite release Jun 25, 2026 · run date unavailablegemini-3.8-flash-highResult source · Test method
Tablereformat96.078%gemini-3.8-flash-high · Suite release Jun 25, 2026 · run date unavailablegemini-3.8-flash-highResult source · Test method
Theory Of Mind76.923%gemini-3.8-flash-high · Suite release Jun 25, 2026 · run date unavailablegemini-3.8-flash-highResult source · Test method
Typescript40%gemini-3.8-flash-high · Suite release Jun 25, 2026 · run date unavailablegemini-3.8-flash-highResult source · Test method
Typos90%gemini-3.8-flash-high · Suite release Jun 25, 2026 · run date unavailablegemini-3.8-flash-highResult source · Test method
Zebra Puzzle98.25%gemini-3.8-flash-high · Suite release Jun 25, 2026 · run date unavailablegemini-3.8-flash-highResult source · Test method

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 Haiku 4.5Gemini 3.8 Flash
Uncached input$1.00$0.825
Output$5.00$4.125
Cache read$0.10$0.0825
Cache write$1.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 Haiku 4.5$2.25
Gemini 3.8 Flash$1.8563

Gemini 3.8 Flash costs $0.3938 less at this token mix.

Model specifications

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

SpecificationClaude Haiku 4.5Gemini 3.8 Flash
Catalog statusListedListed
Catalog model IDanthropic/claude-haiku-4.5google/gemini-3.8-flash
ProviderAnthropicGoogle
Context window200,000 tokens1,048,576 tokens
Max output64,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 dateOct 15, 2025Sep 2, 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 Haiku 4.5

Listed in the public Router catalog.

claude-haiku-4-5

Gemini 3.8 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