Claude Sonnet 4.6
anthropic/claude-sonnet-4.6Sonnet 4.6 is Anthropic's most capable Sonnet-class model yet, with frontier performance across coding, agents, and professional work. It excels at iterative development, complex codebase navigation, end-to-end project management with memory, polished document creation, and confident computer use for web QA and workflow automation.
- Input price
- $3.00USD / 1M tokens
- Output price
- $15.00USD / 1M tokens
- Cache read
- $0.30USD / 1M tokens
- Cache write
- $3.75USD / 1M tokens
- Context window
- 1M
- Max output
- 128K
Specifications
- Input
- Text, image
- Output
- Text
Try the model
Playground
Write a prompt to try this model. Usage is billed at the prices shown.
Try a prompt
Add an image (optional)
Your response will appear here
Choose an example or write a prompt, then click Run.
Start building
Send your first request
Choose either supported API with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/chat/completions" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "anthropic/claude-sonnet-4.6",
"messages": [
{
"role": "user",
"content": "Hello"
}
],
"max_tokens": 2048
}
SANDBASE_JSON
)
printf '%s\n' "$result"Questions
FAQ
How do I call Anthropic Claude Sonnet 4.6 through SandBase?
Create a SandBase API key, then send requests with the model ID "anthropic/claude-sonnet-4.6" to Chat Completions API (/v1/chat/completions) or Messages API (/v1/messages) at https://api.sandbase.ai. The request examples on this page show the exact payload.
How much does Anthropic Claude Sonnet 4.6 cost?
$3 per 1M input tokens and $15 per 1M output tokens, billed per request from your SandBase balance. Discounts, when available, are shown in the pricing on this page.
What is the context window of Anthropic Claude Sonnet 4.6?
1M tokens of context, with up to 128K output tokens per response.
Which features does Anthropic Claude Sonnet 4.6 support?
Anthropic Claude Sonnet 4.6 supports vision (image input), reasoning, function calling, structured output. See Specifications above for the full list.
Do I need a separate Anthropic account?
No. One SandBase API key and balance gives you access to Anthropic Claude Sonnet 4.6 and the other models in the catalog; you do not need to sign up with Anthropic separately.
