OpenRouter

OpenRouter: Claude Sonnet 5 (OpenRouter)

stable

Claude Sonnet 5 (OpenRouter) is available through Everstack's OpenAI-compatible gateway with routing, fallback, retries, and observability.

anthropic-claude-sonnet-5claude-sonnetreleased Jun 30, 2026
Context
1M
tokens
Max output
128K
tokens
Input
$2.00
per 1M
Output
$10.00
per 1M

Activity

Daily period usage
Aggregated managed Everstack traffic. Buckets below 5 tenants or 100 requests are withheld.

Providers

Pricing

ItemPriceUnit
Input$2.00per 1M tokens
Output$10.00per 1M tokens
Cache read$0.20per 1M tokens
Cache write$2.50per 1M tokens

Performance

Reliability

Compare

Compare usage and performance
Place this model beside up to three other catalog models.

Capabilities

Capabilities
Modalities
Input
Output
Details
Model ID
anthropic-claude-sonnet-5
Family
claude-sonnet
Status
stable
Knowledge
Jan 31, 2026
Released
Jun 30, 2026
Gateway Config
API
2024-01-01
Auth
OPENROUTER_API_KEY
Discovery
dynamic
Provider type
meta

Quick Start

index.ts
import Everstack from "@everstack/node";const client = new Everstack({  apiKey: process.env.EVERSTACK_API_KEY!,  baseUrl: "https://{instance}.{region}.everstack.ai",});const completion = await client.chat.completions.create({  model: "@openrouter/anthropic-claude-sonnet-5",  messages: [{ role: "user", content: "Explain vector cache routing." }],});console.log(completion.choices[0]?.message?.content);

Endpoint

Base URL
https://openrouter.ai/api/v1
Chat completions
https://openrouter.ai/api/v1/chat/completions
Model
anthropic-claude-sonnet-5
Auth env
OPENROUTER_API_KEY

Claude Sonnet 5 (OpenRouter) FAQ

How much does the Claude Sonnet 5 (OpenRouter) API cost?

Through OpenRouter, Claude Sonnet 5 (OpenRouter) costs $2.00 per 1M input tokens and $10.00 per 1M output tokens.

What is the context window of Claude Sonnet 5 (OpenRouter)?

Claude Sonnet 5 (OpenRouter) accepts up to 1M tokens of context and returns up to 128K output tokens on OpenRouter.

Which providers offer Claude Sonnet 5 (OpenRouter)?

Claude Sonnet 5 (OpenRouter) is available from Anthropic, AWS Bedrock, OpenRouter and Vertex AI. Everstack can route between them with automatic fallback when one is unavailable.

What can Claude Sonnet 5 (OpenRouter) do?

Claude Sonnet 5 (OpenRouter) supports chat, function calling, image input and reasoning. It accepts text, image and PDF input.

How do I call Claude Sonnet 5 (OpenRouter) through Everstack?

Point any OpenAI-compatible SDK at your Everstack gateway and set the model to @openrouter/anthropic-claude-sonnet-5. Everstack adds retries, provider fallback, caching, per-tenant budgets and OpenTelemetry traces for every request.