Skip to content
Not available in this workspace
OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Collections
  • Providers
  • Pricing
  • Enterprise
  • Labs

Company

  • About
  • Blog
  • Careers
    Hiring
  • Privacy
  • Terms of Service
  • Support
  • Works With OR
  • Data

Developer

  • Documentation
  • API Reference
  • Developer Platform
  • Status

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube
Favicon for anthropic

Anthropic: Claude Opus 4.8

anthropic/claude-opus-4.8

Compare

Claude Opus 4.8 is Anthropic's most capable generally available model in the Opus family. It supports text, image, and file inputs with text output, with reasoning support and a 1M-token context window. It is suited for highly autonomous agents, long-horizon agentic work, knowledge work, and memory-driven tasks where coherence over extended sessions matters.

It is particularly strong on multi-step reasoning, complex coding, and end-to-end project orchestration - large codebases, multi-stage debugging, and long-running asynchronous agent pipelines. Beyond coding, it handles knowledge work such as drafting documents, building presentations, and analyzing data, maintaining quality across very long outputs.

Modalities

In / Out Price

$5 / $25per 1M

Context

1M

Released

May 27, 2026

Compare
ProvidersPricingPerformanceUptimeBenchmarksAppsActivityFAQ

Providers

Different companies host the same model. OpenRouter routes your request to one of them based on the routing mode you pick — Balanced (price + speed), Nitro (fastest), or Exacto (highest tool-calling accuracy).

Pricing

The average price customers actually pay for this model, next to the prices providers post. Caching and discounts mean the price actually paid is often well below the listed one.

Performance

Throughput is how fast the model writes (tokens per second — higher is better). Latency is total round-trip time (lower is better). TTFT is time-to-first-token — how long before you see anything appear (lower is better).

Uptime

Uptime is the percentage of the past 3 days that at least one provider was responding to requests. Availability is the percentage of time that inference was successfully served. OpenRouter continuously monitors and uses the next-best provider when one returns an error.

Benchmarks

Scores on standardized evaluations. Higher percentages are better — and rank percentile shows where this model lands among all models on OpenRouter.

Apps

Public apps that send the most traffic to this model. Good signal for what real production workloads look like — and a hint at which use cases this model is best suited for.

Activity

Token volume and request traffic to this model over time.

Quick Start

Drop-in code to call this model. OpenRouter's API is OpenAI-compatible — most SDKs work by just swapping the base URL. The only thing that changes between models is the model slug below.

About Anthropic: Claude Opus 4.8

OpenRouter makes Anthropic: Claude Opus 4.8 available through a unified, OpenAI-compatible API using the model ID anthropic/claude-opus-4.8. Requests can be routed across 5 providers, including Amazon Bedrock (US), Azure (US), Google Vertex (US), Anthropic and Claude Platform on AWS, with automatic failover when an endpoint is unavailable.

Anthropic: Claude Opus 4.8 accepts text, images and files such as PDFs and returns text. It has a 1,000,000-token context window and a maximum output of 128,000 tokens.

On OpenRouter, Anthropic: Claude Opus 4.8 costs $5.00/M input tokens and $25.00/M output tokens, with separate rates for Cache Read at $0.50/M tokens, Cache Write at $6.25/M tokens and Cache Write (1h) at $10.00/M tokens. Effective pricing can be lower when prompt caching applies. It was released on May 27, 2026.

More models from Anthropic

  • Claude Opus 5 (Fast)
  • Claude Opus 5
  • Claude Sonnet 5

Frequently asked questions

Claude Opus 4.8 is Anthropic's most capable generally available model in the Opus family. It supports text, image, and file inputs with text output, with reasoning support and a 1M-token context window. It is suited for highly autonomous agents, long-horizon agentic work, knowledge work, and memory-driven tasks where coherence over extended sessions matters.

Claude Opus 4.8 costs $5.00/M input tokens and $25.00/M output tokens, with separate rates for Cache Read at $0.50/M tokens, Cache Write at $6.25/M tokens and Cache Write (1h) at $10.00/M tokens.

Claude Opus 4.8 has a 1,000,000 token context window. It supports up to 128,000 completion tokens.

Yes. Claude Opus 4.8 accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.

Claude Opus 4.8 accepts text, images and files such as PDFs as input and returns text.

Claude Opus 4.8 is served by 5 providers on OpenRouter: Amazon Bedrock (US), Azure (US), Google Vertex (US), Anthropic and Claude Platform on AWS. Requests are routed to the best available provider, with automatic failover to the others, and you can pin or exclude providers with provider routing.

Claude Opus 4.8 was released on May 27, 2026.

$5.00$25.00$0.502.47s42 tps
99.94%
$5.00$25.00$0.504.57s91 tps
99.62%
$5.00$25.00$0.501.44s63 tps
99.94%
$5.00$25.00$0.502.31s46 tps
99.77%
$5.00$25.00$0.506.40s55 tps
--
$5.00$25.00$0.501.42s28 tps
99.61%
$5.50$27.50$0.551.05s60 tps
100.00%
$5.50$27.50$0.554.12s57 tps
100.00%
$5.50$27.50$0.55----
--
$5.50$27.50$0.554.96s9 tps
--

Throughput

91tok/s

P50, best across providers

Latency

1.05s

P50, best provider

AutoExacto Benchmarks
GPQA DiamondTAU-Bench
Azure (US)
90.2%82.7%
Claude Platform on AWS
88.2%81.3%
Google Vertex
89.3%79.6%
Anthropic
89.6%79.2%
Amazon Bedrock (EU)
89.9%78.7%
Amazon Bedrock
90.6%77.6%
Azure
89.9%77.0%
Claude Platform on AWS
89.4%77.2%
Amazon Bedrock (US)
89.8%76.4%
Google Vertex (US)
89.6%75.8%
Google Vertex (Europe)
89.3%76.2%
+1 more providers
Uptime (3d)

100.00%

Availability (3d)

99.96%

Availability over the last 3 days

Last 72 hours
Availability 99.96%
3 Days Ago2 Days AgoYesterdayNow

Availability over the last 24 hours

OpenRouter Availability
99.94%
Without Routing
78.89%

When an error occurs in an upstream provider, we can recover by routing to another healthy provider, if your request filters allow it. You can access per-provider uptime data programmatically through the Endpoints API. Learn more about our load balancing and customization options.

1.
Favicon for https://claude.ai/apple-touch-icon.png
Claude Code
Claude Code is Anthropic's agentic coding tool that reads your entire codebase, plans and executes changes across files, runs tests, and iterates on failures, all from natural language prompts.
421Btokens
2.
Favicon for https://nousresearch.com
Hermes Agent
Hermes Agent is an open-source, self-improving AI agent by Nous Research that runs persistently with memory across sessions, and builds reusable skills from experience. It comes with 40+ built-in tools, including web search, browser automation, and vision, plus scheduled automations and subagents.
172Btokens
3.
Favicon for https://openclaw.ai/
OpenClaw
OpenClaw is an open-source AI agent that connects to your messaging apps and takes real actions on your behalf, from running commands and browsing the web to managing files and sending emails.
55.1Btokens
4.
Favicon for https://pi.dev/
pi
There are many coding agents, but this one is yours.
46.3Btokens
5.
Favicon for https://cline.bot/
Cline
Cline is an open-source AI coding agent that lives inside your IDE, autonomously exploring your codebase, editing files, running terminal commands, and using browser automation.
36.9Btokens