anthropic logo
anthropic

Anthropic: Claude Sonnet 4.5 (batch)

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
$1.5
per 1M tokens
  • ≤200K$1.5
  • >200K$3
Output
$7.5
per 1M tokens
  • ≤200K$7.5
  • >200K$11.25
Cache read
$0.15
per 1M tokens
  • ≤200K$0.15
  • >200K$0.3
Cache write
$1.875
per 1M tokens
  • ≤200K$1.875
  • >200K$3.75
Cache write (1h)
$3
per 1M tokens
  • ≤200K$3
  • >200K$6
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.

This submits an asynchronous batch using the base model ID. A job ID confirms submission, not completion.

API documentation

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

# Replace JOB_ID with the returned id to check progress.
curl --fail-with-body "https://openrouter.ai/api/beta/batches/JOB_ID" \
  -H "Authorization: Bearer $OPENROUTER_API_KEY"
Capabilities

InputOutput

Input
textimagefile
Output
text
Reasoning

No

API

Supported API parameters

include_reasoningmax_tokensreasoningresponse_formatstopstructured_outputstemperaturetool_choicetoolstop_ktop_p
Available providers

1 Provider

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

Anthropic

Not provided
Context
1M
Maximum output
64K
Input
$1.5
Output
$7.5
Cache read
$0.15
Cache write
$1.875
anthropic

4 models

All models