Skip to main content
Claude Sonnet 4.5

Claude Sonnet 4.5

Anthropic's high-performance model balancing speed and intelligence for agents and coding.

AgentsCodingBalanced Performance

Context Window

200k tokens (1M beta with header)

Claude Sonnet 4.5

Max Output

64k tokens

MTok

Input

$3

Output

$15

Model Codeclaude-sonnet-4-5

Playground

claude-sonnet-4-5
Reference Images0/5

Click or drag

No output yet

Pricing

PlanContext WindowMax OutputInputOutputCache WriteCache Read
Claude Sonnet 4.5
200k tokens (1M beta with header)64k tokens
$3
$15
5m: $3.75

1h: $6

$0.30

Official Anthropic pricing for Claude Sonnet 4.5 on the Claude API.

With the 1M beta context header, requests over 200k input tokens are billed at $6 input / $22.50 output per MTok.

Cache read or cached input pricing applies to reused prompt tokens.

README

Claude Sonnet 4.5 is Anthropic's model for complex agents and coding, designed to balance strong intelligence with faster latency and more accessible pricing than Opus-tier models.
  • Anthropic positions Claude Sonnet 4.5 as the best combination of speed and intelligence for many production workloads.
  • It is built for coding, complex agents, and broad professional tasks where teams need high quality without Opus-level cost.
  • Sonnet 4.5 supports a standard 200k context window, with 1M context support offered via beta header in the Claude API.

API

Use the API docs for request format, parameters, and integration details.

Anthropic's high-performance model balancing speed and intelligence for agents and coding.

Model Code

claude-sonnet-4-5

View API Docs

API

Endpoint

POST /v1/messages

Authentication

Authorization: Bearer YOUR_REACH_API_KEY
anthropic-version: 2023-06-01
Content-Type: application/json

Example

curl -X POST "https://direct.reachapi.ai/v1/messages" \
  -H "Authorization: Bearer YOUR_REACH_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "YOUR_MODEL_ID",
    "messages": [
      {
        "role": "user",
        "content": "Introduce ReachAPI in one sentence."
      }
    ],
    "max_tokens": 512,
    "temperature": 0.2
  }'