Claude Sonnet 4.6

Anthropic 主力, 性能/成本平衡

Model ID: claude-sonnet-4-6 · Type: chat · Provider: Anthropic

Endpoints: /v1/messages · /v1/chat/completions

Pricing

Input (per 1M tokens)$2.7 USD
Output (per 1M tokens)$13.5 USD
Cache read (per 1M tokens)$0.27 USD
Cache write 5m (per 1M tokens)$3.375 USD
Cache write 1h (per 1M tokens)$5.4 USD

Capabilities

from openai import OpenAI

client = OpenAI(api_key="sk-...", base_url="https://api.router.ai/v1")
resp = client.chat.completions.create(
    model="claude-sonnet-4-6",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)

FAQ

How much does Claude Sonnet 4.6 cost on 370.AI?

Claude Sonnet 4.6 (`claude-sonnet-4-6`) is billed per usage at $2.7/1M in · $13.5/1M out, in USD. Current pricing is always listed at https://www.370.ai/models/claude-sonnet-4-6.

How do I call Claude Sonnet 4.6 through 370.AI?

Send a request to https://api.router.ai/v1/v1/messages with the header `Authorization: Bearer <your API key>` and `"model": "claude-sonnet-4-6"`. The API is OpenAI-compatible, so any OpenAI SDK works by changing base_url to https://api.router.ai/v1 — no other code change.

Which endpoints does Claude Sonnet 4.6 support?

Claude Sonnet 4.6 can be called on: /v1/messages; /v1/chat/completions.

What is Claude Sonnet 4.6's context window?

Claude Sonnet 4.6 accepts up to 1,000,000 input tokens and can return up to 64,000 output tokens. Requests exceeding the input limit are rejected before reaching the model.

What can Claude Sonnet 4.6 do?

Claude Sonnet 4.6 supports: vision, function_calling, prompt_caching, thinking, cache.

Who makes Claude Sonnet 4.6?

Claude Sonnet 4.6 is a chat model from Anthropic, available through the 370.AI gateway with the same API key as every other model.

Call it through the 370.AI OpenAI-compatible endpoint (API base: https://api.router.ai/v1). AI agents can discover and call every model on this gateway through MCP (https://mcp.router.ai/mcp) with no manual integration.

API reference · All models