← Back to model catalog
MODEL / CURRENT PRICE
Anthropic

Claude Sonnet 5

claude-sonnet-5

These are Mengbi Router customer prices in USD per 1M tokens. Provider: Anthropic; Context: 1M; Input price: $0.817; Output price: $4.09.

AI models and pricing

Model specs

Provider
Anthropic
Context
1M
Max output
64K
Released
Jun 2026
Input modalities
Text, Image, PDF
Output modalities
Text
Tool calling
Supported
Structured output
Supported
Currency
USD
Model ID
claude-sonnet-5

Model pricing and access details

USD / 1M tokens
ModelOfficialMengbiDiscount
Input price$2$0.81759% OFF
Output price$10$4.0959% OFF
Cache read price$0.20$0.081759% OFF

Estimated cost for common usage

Estimates based on current Mengbi Router prices, so you can plan real request costs.

Token volumeInputOutputInput + output total
10K tokens$0.00817$0.0409$0.049
100K tokens$0.0817$0.409$0.49
1M tokens$0.817$4.09$4.9
10M tokens$8.17$40.86$49.03

Estimates use the current prices above and exclude cache-hit discounts. Your invoice is metered by the actual token usage of each request.

Public benchmark scores

How Claude Sonnet 5 scores on common public benchmarks, so you can compare capability at a glance.

BenchmarkScore
GPQA Diamond91.2
SWE-bench Verified76.3
AIME 202691.8

Curated from vendor-published evaluations (snapshot 2026-09). For reference only; not independently tested by Mengbi.

API protocol compatibility

Keep your SDK. Change one line.

Use the protocol your stack already speaks.

const client = new OpenAI({
  apiKey: process.env.MENGBI_ROUTER_KEY,
  baseURL: process.env.MENGBI_ROUTER_BASE_URL,
})

const response = await client.chat.completions.create({
  model: 'claude-sonnet-5',
  messages,
})

Frequently asked questions

Common questions about the Claude Sonnet 5 API: pricing, capabilities, and integration.

How much does the Claude Sonnet 5 API cost?

Through Mengbi Router, Claude Sonnet 5 costs $0.817 per 1M input tokens and $4.09 per 1M output tokens. Cached input is billed at $0.0817 per 1M tokens.

What is the context window of Claude Sonnet 5?

Claude Sonnet 5 supports a 1M-token context window. A single request can generate up to about 64K output tokens.

Does Claude Sonnet 5 support tool calling and structured output?

Yes. Claude Sonnet 5 supports the tools parameter in chat.completions for function calling. It also supports response_format with a JSON Schema for structured output.

What input and output formats does Claude Sonnet 5 support?

It accepts Text, Image, and PDF and returns Text.

How do I call Claude Sonnet 5 with the OpenAI SDK?

Keep your OpenAI SDK, point the base URL at Mengbi Router, use your Mengbi API key, and set model to claude-sonnet-5 in the request.

Which company provides Claude Sonnet 5?

Claude Sonnet 5 is provided by Anthropic and available through Mengbi Router with one API key and pay-as-you-go billing. The model was first released in Jun 2026.