Claude Opus 4.8

Anthropic · On OpenRouter since May 27, 2026 · Pinned version id: anthropic/claude-4.8-opus-20260528

Price

$10.00

mixed / 1M tokens

Mixed price per 1M tokens: 3 input tokens to 1 output token.

in $5.00 · out $25.00 · Cached input $0.50

Models that think before they answer can use many more output tokens, so your real cost can be higher than the figure shown.

US dollars per million tokens, converted to your currency at the NBP rate.

Tasks, with the evidence

Each line names the measurement it rests on. A task that is not listed has no measurement or declared feature we can show.

Writing code Top 10%

Measured by a third party

Coding Index: 74.3 · Rank 5 of 86, among scored models · Top 10% · Artificial Analysis, read November 18, 2026

Code: 1,237 · Rank 46 of 122, among scored models · Design Arena, read November 21, 2026

Cost of this job: $3.84

Models that score at least as high for less in this scenario: 2

Agents that use tools Top 10%

Measured by a third party

Agentic Index: 41.9 · Rank 7 of 64, among scored models · Artificial Analysis, read November 18, 2026

Cost of this job: $27.32

Models that score at least as high for less in this scenario: 5

Websites and apps

Measured by a third party

Websites: 1,246 · Rank 45 of 127, among scored models · Design Arena, read November 21, 2026

UI components: 1,241 · Rank 48 of 118, among scored models · Design Arena, read November 21, 2026

Web apps (agent): 1,204 · Rank 17 of 47, among scored models · Design Arena, read November 21, 2026

Full-stack apps (agent): 1,223 · Rank 11 of 45, among scored models · Top 25% · Design Arena, read November 21, 2026

Mobile apps (agent): 1,207 · Rank 18 of 50, among scored models · Design Arena, read November 21, 2026

Android apps (agent): 1,221 · Rank 11 of 41, among scored models · Top 25% · Design Arena, read November 21, 2026

Cost of this job: $2.37

Models that score at least as high for less in this scenario: 38

Games and 3D

Measured by a third party

Game development: 1,240 · Rank 39 of 121, among scored models · Design Arena, read November 21, 2026

3D scenes: 1,190 · Rank 49 of 114, among scored models · Design Arena, read November 21, 2026

Godot games (agent): 1,203 · Rank 10 of 34, among scored models · Design Arena, read November 21, 2026

Games (agent): 1,183 · Rank 5 of 25, among scored models · Design Arena, read November 21, 2026

Blender 3D (agent): 1,096 · Rank 13 of 25, among scored models · Design Arena, read November 21, 2026

Cost of this job: $2.37

Models that score at least as high for less in this scenario: 33

Slides and spreadsheets

Measured by a third party

PowerPoint files (agent): 1,298 · Rank 2 of 29, among scored models · Design Arena, read November 21, 2026

HTML slides (agent): 1,123 · Rank 8 of 25, among scored models · Design Arena, read November 21, 2026

Spreadsheets (agent): 1,034 · Rank 21 of 32, among scored models · Design Arena, read November 21, 2026

Cost of this job: $2.37

Charts and graphics

Measured by a third party

Data visualization: 1,232 · Rank 43 of 112, among scored models · Design Arena, read November 21, 2026

SVG graphics: 1,176 · Rank 39 of 84, among scored models · Design Arena, read November 21, 2026

ASCII art: 1,261 · Rank 13 of 68, among scored models · Top 25% · Design Arena, read November 21, 2026

Cost of this job: $2.37

Models that score at least as high for less in this scenario: 35

Long documents

Declared, not measured

Context window: 1M tokens as declared. It says how much fits, not how well the model uses it.

Cost of this job: $6.30

Images, files, audio, video in

Declared, not measured

Accepts: images and files. Declared by the provider through OpenRouter; we did not test it.

Cost of this job: $2.25Text-token prices only; images, audio and video may be billed separately.

The size of each job is our assumption; the prices are real.

  • Writing code: Requests: 40. Input tokens per request: 30,000. Output tokens per request: 1,500. Share of input served from cache: 70%.
  • Agents that use tools: Requests: 200. Input tokens per request: 45,000. Output tokens per request: 2,500. Share of input served from cache: 75%.
  • Websites and apps; Games and 3D; Slides and spreadsheets; Charts and graphics: Requests: 8. Input tokens per request: 12,000. Output tokens per request: 10,000. Share of input served from cache: 30%.
  • Long documents: Requests: 3. Input tokens per request: 400,000. Output tokens per request: 4,000. Share of input served from cache: 0%.
  • Images, files, audio, video in: Requests: 15. Input tokens per request: 20,000. Output tokens per request: 3,000. Share of input served from cache: 30%.

Thinking is billed as output tokens; a model that thinks longer costs more than this estimate. Ranks are among all models we list, including older ones. The share is rounded up to whole models, so a rank slightly past the exact share still counts. Models with equal scores share the better rank.

Price by provider

The price used in the catalog is the vendor's own; when the vendor has no API of its own, it is the cheapest regular host.

ProviderInputOutputCached inputMixedNotes
Anthropic Vendor Price used here $5.00$25.00 $0.50 $10.00
Amazon Bedrock $5.00$25.00 $0.50 $10.00
Azure $5.00$25.00 $0.50 $10.00
Claude Platform on AWS $5.00$25.00 $0.50 $10.00
Google $5.00$25.00 $0.50 $10.00

Other pricing modes

Specifications

Context window
1M
Max output
128k
Accepts
text, images, and files
Answers with
text
Tools
Yes
Structured output
Yes
Reasoning
Optional
Thinking effort levels: none, low, medium, high, xhigh, and max
Weights on Hugging Face
Not listed
Knowledge cutoff
No data
On OpenRouter since
May 27, 2026
Price check
confirmed

As listed by OpenRouter. "Not listed" means OpenRouter does not list it for this model.

Benchmark scores

Scores come from third parties and are relayed by OpenRouter. We do not run the tests. Higher is better.

SourceScoreRank among scored
Coding Index
Artificial Analysis, read November 18, 2026
74.3Rank 5 of 86, among scored models Top 10%
Agentic Index
Artificial Analysis, read November 18, 2026
41.9Rank 7 of 64, among scored models Top 10%
Websites
Design Arena, read November 21, 2026
1,246Rank 45 of 127, among scored models
UI components
Design Arena, read November 21, 2026
1,241Rank 48 of 118, among scored models
Game development
Design Arena, read November 21, 2026
1,240Rank 39 of 121, among scored models
3D scenes
Design Arena, read November 21, 2026
1,190Rank 49 of 114, among scored models
Data visualization
Design Arena, read November 21, 2026
1,232Rank 43 of 112, among scored models
SVG graphics
Design Arena, read November 21, 2026
1,176Rank 39 of 84, among scored models
ASCII art
Design Arena, read November 21, 2026
1,261Rank 13 of 68, among scored models Top 25%
Code
Design Arena, read November 21, 2026
1,237Rank 46 of 122, among scored models
Web apps (agent)
Design Arena, read November 21, 2026
1,204Rank 17 of 47, among scored models
Full-stack apps (agent)
Design Arena, read November 21, 2026
1,223Rank 11 of 45, among scored models Top 25%
Mobile apps (agent)
Design Arena, read November 21, 2026
1,207Rank 18 of 50, among scored models
Android apps (agent)
Design Arena, read November 21, 2026
1,221Rank 11 of 41, among scored models Top 25%
Godot games (agent)
Design Arena, read November 21, 2026
1,203Rank 10 of 34, among scored models
Games (agent)
Design Arena, read November 21, 2026
1,183Rank 5 of 25, among scored models
Blender 3D (agent)
Design Arena, read November 21, 2026
1,096Rank 13 of 25, among scored models
PowerPoint files (agent)
Design Arena, read November 21, 2026
1,298Rank 2 of 29, among scored models
HTML slides (agent)
Design Arena, read November 21, 2026
1,123Rank 8 of 25, among scored models
Spreadsheets (agent)
Design Arena, read November 21, 2026
1,034Rank 21 of 32, among scored models
agents/agentichtmlslides
Design Arena, read November 21, 2026
1,227Rating 1,227; rank 3 at the source. Too few scored models for a tier.
agents/agenticslides
Design Arena, read November 21, 2026
1,294Rating 1,294; rank 1 at the source. Too few scored models for a tier.
agents/agenticslides(html)
Design Arena, read November 21, 2026
1,230Rating 1,230; rank 3 at the source. Too few scored models for a tier.
agents/agenticslides(python-pptx)
Design Arena, read November 21, 2026
1,310Rating 1,310; rank 1 at the source. Too few scored models for a tier.
agents/codetovideo
Design Arena, read November 21, 2026
1,191Rating 1,191; rank 13 at the source. Too few scored models for a tier.
agents/pdf
Design Arena, read November 21, 2026
1,173Rating 1,173; rank 29 at the source. Too few scored models for a tier.
agents/pptxslides
Design Arena, read November 21, 2026
1,306Rating 1,306; rank 1 at the source. Too few scored models for a tier.

Intelligence, Coding and Agentic indices: Artificial Analysis (artificialanalysis.ai). Design categories: Design Arena (designarena.ai). Both are relayed by the OpenRouter public model list and were read on November 21, 2026. We compute ranks, tiers and costs from these numbers; the sources have not reviewed them. Scores belong to the model, not to the route it is served on.

Artificial Analysis · Design Arena · Relayed by OpenRouter. opens in a new tab

Sources and dates

Prices: OpenRouter routes and a second price table, checked November 21, 2026. Specifications: OpenRouter, November 21, 2026. Exchange rate: NBP, November 20, 2026. Benchmarks: Artificial Analysis and Design Arena via OpenRouter.