Models
Enterprise
Subscribe
Resource
Documentation
Console

/anthropic/claude-sonnet-4.5

Claude.Color

Anthropic: Claude Sonnet 4.5

Claude Sonnet 4.5 is an advanced Anthropic model designed for coding, complex reasoning, agentic workflows, computer use, vision, and tool-enabled applications. It supports a 200K-token context window, up to 64K output tokens, extended thinking, image understanding, and structured tool use.

Modetext、image → text
Input price$3 per M tokens
Output price$15 per M tokens
Context length200K tokens
Listed at2025-09-29T00:00:00Z

Anthropic

Latency
Throughput
Upload rate
Context length200K tokens
Max output64K tokens
Input price$3per 1M tokens
Output price$15per 1M tokens
Cache read$0.3per 1M tokens
Cache write$3.75per 1M tokens

Performance

Avg TPS
Avg latency
Avg success rate
TPS
TTFT
Latency
Success rate

Success rate

Speed

Code Example

curl ${API_BASE_URL}/v1/messages \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-4.5",
    "messages": [
      {
        "role": "user",
        "content": "Hello"
      }
    ]
  }'

Replace <YOUR_API_KEY> with the API key generated on your token management page.

Authentication

All requests must include the Authorization: Bearer <TOKEN> header.

Endpoint Path

POST
anthropic

Supported Parameters

ParameterTypeDefaultDescription
integer-Maximum number of output tokens. Claude Sonnet 4.5 supports up to 64K output tokens.
object-Enables extended thinking for complex reasoning tasks.
integer-Maximum token budget for extended thinking. The minimum supported value is 1024 and it must normally be lower than max_tokens.
booleanfalseWhether to stream the response incrementally using server-sent events.

Rate Limits

GroupRPMTPMRPD

RPM = requests per minute, TPM = tokens per minute, RPD = requests per day. Limits apply by token group.

Pricing

ProviderBilling typePrice summary
Anthropic0%
Per token
Input price$3per 1M tokens
Completion price$15per 1M tokens
Cache read price$0.3per 1M tokens
Cache write price$3.75per 1M tokens
Anthropic0%
Per token
Input price$3per 1M tokens
Completion price$15per 1M tokens
Cache read price$0.3per 1M tokens
Cache write price$3.75per 1M tokens
Anthropic0%
Per token
Input price$3per 1M tokens
Completion price$15per 1M tokens
Cache read price$0.3per 1M tokens
Cache write price$3.75per 1M tokens
Anthropic0%
Per token
Input price$3per 1M tokens
Completion price$15per 1M tokens
Cache read price$0.3per 1M tokens
Cache write price$3.75per 1M tokens
Anthropic0%
Per token
Input price$3per 1M tokens
Completion price$15per 1M tokens
Cache read price$0.3per 1M tokens
Cache write price$3.75per 1M tokens
Anthropic0%
Per token
Input price$3per 1M tokens
Completion price$15per 1M tokens
Cache read price$0.3per 1M tokens
Cache write price$3.75per 1M tokens
Anthropic0%
Per token
Input price$3per 1M tokens
Completion price$15per 1M tokens
Cache read price$0.3per 1M tokens
Cache write price$3.75per 1M tokens
Anthropic0%
Per token
Input price$3per 1M tokens
Completion price$15per 1M tokens
Cache read price$0.3per 1M tokens
Cache write price$3.75per 1M tokens
Anthropic0%
Per token
Input price$3per 1M tokens
Completion price$15per 1M tokens
Cache read price$0.3per 1M tokens
Cache write price$3.75per 1M tokens
Anthropic0%
Per token
Input price$3per 1M tokens
Completion price$15per 1M tokens
Cache read price$0.3per 1M tokens
Cache write price$3.75per 1M tokens
Anthropic0%
Per token
Input price$3per 1M tokens
Completion price$15per 1M tokens
Cache read price$0.3per 1M tokens
Cache write price$3.75per 1M tokens