← All models

claude-sonnet-4-6

claude-sonnet-4-6·Anthropic·Text
How much does claude-sonnet-4-6 cost?+

Input $3 / 1M tokens, Output $15 / 1M tokens. You are billed in credits — 1 USD = 100 credits; these are list prices and any account discount applies at billing.

How do I call claude-sonnet-4-6?+

Use the Anthropic SDK (or any client compatible with Anthropic Messages) against POST /v1/messages with model set to claude-sonnet-4-6; an OpenAI-compatible SDK against POST /v1/chat/completions works too. The API tab lets you switch protocols and has curl / Python / TypeScript examples.

What happens when my balance runs out?+

Requests return HTTP 402 (insufficient_quota). Top up and retry; async tasks that were already submitted and pre-paid are not affected.

What is the context window, and how is caching billed?+

The context window is not published for this model yet. Cached input tokens are billed at a separate cache price (shown on the Overview tab when available).

Is streaming supported?+

Yes — add "stream": true to receive SSE. Once a streamed response has started, it will not switch providers.

Does it support tool calling and image input?+

Check Supported parameters and input modalities on the Overview tab; unsupported parameters are ignored or return 400.

Is my request content stored?+

Yes. Request parameters and responses are stored under your account so you can review them in Activity — do not submit secrets or sensitive personal data. The request is also forwarded to the upstream provider that serves it. See the Privacy Policy.

Contact support about this model