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 Sonnet 5

anthropic/claude-sonnet-5

Compare

Sonnet 5 is Anthropic's most capable Sonnet-class model, with frontier performance across coding, agents, and professional work. It supports adaptive thinking with selectable reasoning effort levels (low, medium, high, max, and x-high), a 1M-token context window, and text, image, and file inputs. Sonnet 5 uses an updated tokenizer and includes real-time cyber safeguards that block certain high-risk dual-use activities.

Modalities

In / Out Price

$2 / $10per 1M

Context

1M

Released

Jun 30, 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 Sonnet 5

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

Anthropic: Claude Sonnet 5 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 Sonnet 5 costs $2.00/M input tokens and $10.00/M output tokens, with separate rates for Cache Read at $0.20/M tokens, Cache Write at $2.50/M tokens, Cache Write (1h) at $4.00/M tokens and Web Search at $10.00/1K calls. Effective pricing can be lower when prompt caching applies. It was released on June 30, 2026.

More models from Anthropic

  • Claude Opus 5 (Fast)
  • Claude Opus 5
  • Claude Fable 5

Frequently asked questions

Sonnet 5 is Anthropic's most capable Sonnet-class model, with frontier performance across coding, agents, and professional work. It supports adaptive thinking with selectable reasoning effort levels (low, medium, high, max, and x-high), a 1M-token context window, and text, image, and file inputs.

Claude Sonnet 5 costs $2.00/M input tokens and $10.00/M output tokens, with separate rates for Cache Read at $0.20/M tokens, Cache Write at $2.50/M tokens, Cache Write (1h) at $4.00/M tokens and Web Search at $10.00/1K calls.

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

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

Claude Sonnet 5 accepts text, images and files such as PDFs as input and returns text.

Claude Sonnet 5 is served by 5 providers on OpenRouter: Claude Platform on AWS, Azure, Anthropic, Amazon Bedrock (US) and Google Vertex (US). 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 Sonnet 5 was released on June 30, 2026.

$2.00$10.00$0.202.63s39 tps
99.89%
$2.00$10.00$0.200.96s70 tps
99.98%
$2.00$10.00$0.203.63s57 tps
99.96%
$2.00$10.00$0.202.53s53 tps
99.53%
$2.00$10.00$0.202.56s65 tps
99.92%
$2.00$10.00$0.202.08s66 tps
99.38%
$2.20$11.00$0.221.69s38 tps
100.00%
$2.20$11.00$0.224.23s93 tps
99.99%
$2.20$11.00$0.221.01s23 tps
--

Throughput

93tok/s

P50, best across providers

Latency

0.96s

P50, best provider

AutoExacto Benchmarks
GPQA DiamondTAU-Bench
Azure
83.8%79.6%
Azure (US)
85.2%78.0%
Claude Platform on AWS
83.3%79.3%
Anthropic
84.6%77.9%
Amazon Bedrock (US)
83.4%78.2%
Google Vertex (Global)
83.4%78.0%
auto-routing
84.2%77.2%
Amazon Bedrock (Global)
83.8%76.5%
Google Vertex (US)
81.5%78.5%
Google Vertex (Europe)
81.6%77.9%
+1 more providers
Uptime (3d)

100.00%

Availability (3d)

99.81%

Availability over the last 3 days

Last 72 hours
Availability 99.81%
3 Days Ago2 Days AgoYesterdayNow

Availability over the last 24 hours

OpenRouter Availability
99.93%
Without Routing
93.76%

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.
660Btokens
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.
525Btokens
3.
Favicon for https://descript.com/
Descript
AI Video & Podcast Editor
487Btokens
4.
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.
146Btokens
5.
Favicon for https://www.framer.com/
Framer
Create a professional website with Framer’s no-code AI website builder. Design freely, manage CMS content, optimize SEO, collaborate, and publish fast.
117Btokens