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

/anthropic/claude-sonnet-4-6

C

Anthropic: Claude Sonnet 4.6

Claude Sonnet 4.6 is Anthropic's balanced model for advanced reasoning, coding, agentic workflows, research, vision, and tool-enabled applications. It features a 1M-token context window, up to 128K output tokens, adaptive thinking, and strong performance across complex knowledge and software development tasks.

Modetext、image → text
Input price$3 per M tokens
Output price$15 per M tokens
Context length1M tokens
Listed at2026-02-17T00:00:00Z

Anthropic

Latency—
Throughput—
Upload rate—
Context length1M tokens
Max output128K 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-6",
    "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.6 supports up to 128K output tokens.
stringhighControls the model's reasoning effort for complex tasks. Default: high.
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$3per 1M tokens
Completion price$15per 1M tokens
Cache read price$0.3per 1M tokens
Cache write price$3.75per 1M tokens