🎉 Get Free $5 on Signup!
Models
Enterprise
Subscribe
Resource
Documentation
Console

/anthropic/claude-sonnet-5

C

Anthropic: Claude Sonnet 5

Claude Sonnet 5 is Anthropic's highly capable model combining speed, intelligence, and advanced agentic performance. It is designed for coding, complex reasoning, tool use, research, computer use, and long-running agentic workflows, with a 1M-token context window, up to 128K output tokens, adaptive thinking, vision, and extensive tool support.

Modetext、image → text
Input price$2 per M tokens
Output price$10 per M tokens
Context length1M tokens
Listed at2026-06-30T00:00:00Z

Anthropic

Latency—
Throughput—
Upload rate—
Context length1M tokens
Max output128K tokens
Input price$2per 1M tokens
Output price$10per 1M tokens
Cache read$0.2per 1M tokens
Cache write$2.5per 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-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 5 supports up to 128K output tokens.
stringhighControls the model's reasoning effort for complex tasks.
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
C
Anthropic-Default0%
Per token
Input price$2per 1M tokens
Completion price$10per 1M tokens
Cache read price$0.2per 1M tokens
Cache write price$2.5per 1M tokens