AI model comparison

Claude Haiku 4.5 vs Claude Opus 4.8

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
1M
Input / 1M
$5.00
Output / 1M
$25.00
Benchmark snapshot
Coding
Claude Haiku 4.5Claude Opus 4.8
48.1%
77.3%

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 Claude Opus 4.8 scored 48.1% and 77.3%, 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 $11.25 for Claude Opus 4.8.
Context window
Claude Opus 4.8 lists 1,000,000 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.5Claude Opus 4.8

Coding

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

48.1%
77.3%
Test configurations
Claude Haiku 4.5
claude-haiku-4.5
Claude Opus 4.8
claude-opus-4.8

Long Agentic

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

11.1%
48.3%
Test configurations
Claude Haiku 4.5
claude-haiku-4.5
Claude Opus 4.8
claude-opus-4.8

Browser

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

40%
96%
Test configurations
Claude Haiku 4.5
claude-haiku-4.5
Claude Opus 4.8
claude-opus-4.8

Data Analysis

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

59.3%
66%
Test configurations
Claude Haiku 4.5
claude-haiku-4.5
Claude Opus 4.8
claude-opus-4.8

Design

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

59.9%
78.8%
Test configurations
Claude Haiku 4.5
claude-haiku-4.5
Claude Opus 4.8
claude-opus-4.8

Reasoning

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

61.7%
89.2%
Test configurations
Claude Haiku 4.5
claude-haiku-4.5
Claude Opus 4.8
claude-opus-4.8

Research

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

42.2%
81.8%
Test configurations
Claude Haiku 4.5
claude-haiku-4.5
Claude Opus 4.8
claude-opus-4.8
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.

Claude Opus 4.8

BenchmarkScoreConfigurationSource model labelEvidence
Amps Hard98%claude-opus-4-8-max-effort · Suite release Jun 25, 2026 · run date unavailableclaude-opus-4-8-max-effortResult source · Test method
Code Completion84.783%claude-opus-4-8-max-effort · Suite release Jun 25, 2026 · run date unavailableclaude-opus-4-8-max-effortResult source · Test method
Code Generation78.873%claude-opus-4-8-max-effort · Suite release Jun 25, 2026 · run date unavailableclaude-opus-4-8-max-effortResult source · Test method
Connections99.333%claude-opus-4-8-max-effort · Suite release Jun 25, 2026 · run date unavailableclaude-opus-4-8-max-effortResult source · Test method
Consecutive Events52.905%claude-opus-4-8-max-effort · Suite release Jun 25, 2026 · run date unavailableclaude-opus-4-8-max-effortResult source · Test method
Integrals With Game89%claude-opus-4-8-max-effort · Suite release Jun 25, 2026 · run date unavailableclaude-opus-4-8-max-effortResult source · Test method
Javascript68.182%claude-opus-4-8-max-effort · Suite release Jun 25, 2026 · run date unavailableclaude-opus-4-8-max-effortResult source · Test method
Logic With Navigation78%claude-opus-4-8-max-effort · Suite release Jun 25, 2026 · run date unavailableclaude-opus-4-8-max-effortResult source · Test method
Math Comp98.039%claude-opus-4-8-max-effort · Suite release Jun 25, 2026 · run date unavailableclaude-opus-4-8-max-effortResult source · Test method
Olympiad92.227%claude-opus-4-8-max-effort · Suite release Jun 25, 2026 · run date unavailableclaude-opus-4-8-max-effortResult source · Test method
Paraphrase67.867%claude-opus-4-8-max-effort · Suite release Jun 25, 2026 · run date unavailableclaude-opus-4-8-max-effortResult source · Test method
Plot Unscrambling61.645%claude-opus-4-8-max-effort · Suite release Jun 25, 2026 · run date unavailableclaude-opus-4-8-max-effortResult source · Test method
Python50%claude-opus-4-8-max-effort · Suite release Jun 25, 2026 · run date unavailableclaude-opus-4-8-max-effortResult source · Test method
Simplify62%claude-opus-4-8-max-effort · Suite release Jun 25, 2026 · run date unavailableclaude-opus-4-8-max-effortResult source · Test method
Spatial98%claude-opus-4-8-max-effort · Suite release Jun 25, 2026 · run date unavailableclaude-opus-4-8-max-effortResult source · Test method
Story Generation80.6%claude-opus-4-8-max-effort · Suite release Jun 25, 2026 · run date unavailableclaude-opus-4-8-max-effortResult source · Test method
Summarize77.667%claude-opus-4-8-max-effort · Suite release Jun 25, 2026 · run date unavailableclaude-opus-4-8-max-effortResult source · Test method
Tablejoin51.077%claude-opus-4-8-max-effort · Suite release Jun 25, 2026 · run date unavailableclaude-opus-4-8-max-effortResult source · Test method
Tablereformat94.118%claude-opus-4-8-max-effort · Suite release Jun 25, 2026 · run date unavailableclaude-opus-4-8-max-effortResult source · Test method
Theory Of Mind80.769%claude-opus-4-8-max-effort · Suite release Jun 25, 2026 · run date unavailableclaude-opus-4-8-max-effortResult source · Test method
Typescript33.333%claude-opus-4-8-max-effort · Suite release Jun 25, 2026 · run date unavailableclaude-opus-4-8-max-effortResult source · Test method
Typos78%claude-opus-4-8-max-effort · Suite release Jun 25, 2026 · run date unavailableclaude-opus-4-8-max-effortResult source · Test method
Zebra Puzzle100%claude-opus-4-8-max-effort · Suite release Jun 25, 2026 · run date unavailableclaude-opus-4-8-max-effortResult 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.5Claude Opus 4.8
Uncached input$1.00$5.00
Output$5.00$25.00
Cache read$0.10$0.50
Cache write$1.25$6.25

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
Claude Opus 4.8$11.25

Claude Haiku 4.5 costs $9.00 less at this token mix.

Model specifications

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

SpecificationClaude Haiku 4.5Claude Opus 4.8
Catalog statusListedListed
Catalog model IDanthropic/claude-haiku-4.5anthropic/claude-opus-4.8
ProviderAnthropicAnthropic
Context window200,000 tokens1,000,000 tokens
Max output64,000 tokens128,000 tokens
Input modalitiesText, Image, FileText, Image, File
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, 2025May 27, 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

Claude Opus 4.8

Listed in the public Router catalog.

claude-opus-4-8

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