anthropic logo
anthropic

Anthropic: Claude Sonnet 4.5

Source description (English)

Claude Sonnet 4.5 is Anthropic’s most advanced Sonnet model to date, optimized for real-world agents and coding workflows. It delivers state-of-the-art performance on coding benchmarks such as SWE-bench Verified, with...

Overview

Model specifications

Context
1,000,000 tokens
Maximum output
64,000 tokens
Architecture
text+image+file->text
Tokenizer
Claude
Knowledge cutoff
2025-01-31
Moderated
Yes
OPENROUTER

Complete pricing

Synchronized OpenRouter rates. Token prices are shown per one million tokens.

Input
$3
per 1M tokens
  • ≤200K$3
  • >200K$6
Output
$15
per 1M tokens
  • ≤200K$15
  • >200K$22.5
Cache read
$0.3
per 1M tokens
  • ≤200K$0.3
  • >200K$0.6
Cache write
$3.75
per 1M tokens
  • ≤200K$3.75
  • >200K$7.5
Cache write (1h)
$6
per 1M tokens
  • ≤200K$6
  • >200K$12
Web search
$10
per 1,000 calls
API

Model configuration

Default parameters

temperature
1
top_p
1

Reasoning

Reasoning required
No
Default parameters
No
API

Quick start

Set OPENROUTER_API_KEY locally. Python requires requests; JavaScript runs in Node.js. Keep the key on the server.

API documentation

curl --fail-with-body https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"anthropic/claude-sonnet-4.5","messages":[{"role":"user","content":"Hello!"}]}'
Capabilities

InputOutput

Input
textimagefile
Output
text
Reasoning

No

API

Supported API parameters

include_reasoningmax_completion_tokensmax_tokensreasoningresponse_formatstopstructured_outputstemperaturetool_choicetoolstop_ktop_p
Available providers

7 providers

Checked: September 7, 2026

Live providers on OpenRouter

Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.

OpenRouter

Claude Platform on AWS

Not provided
Context
1M
Maximum output
64K
Input
$3
Output
$15
Cache read
$0.3
Cache write
$3.75

Azure

Not provided
Context
200K
Maximum output
64K
Input
$3
Output
$15
Cache read
$0.3
Cache write
$3.75

Amazon Bedrock

Not provided
Context
1M
Maximum output
64K
Input
$3
Output
$15
Cache read
$0.3
Cache write
$3.75

Anthropic

Not provided
Context
1M
Maximum output
64K
Input
$3
Output
$15
Cache read
$0.3
Cache write
$3.75

Google

Not provided
Context
1M
Maximum output
64K
Input
$3
Output
$15
Cache read
$0.3
Cache write
$3.75

Amazon Bedrock

Not provided
Context
1M
Maximum output
64K
Input
$3.3
Output
$16.5
Cache read
$0.33
Cache write
$4.125

Google

Not provided
Context
1M
Maximum output
64K
Input
$3.3
Output
$16.5
Cache read
$0.33
Cache write
$4.125
anthropic

4 models

All models