Claude Sonnet 4.6

anthropic/claude-sonnet-4.6

A chat model with a 1M-token context window, at $3.15 per million input tokens and $15.75 per million output tokens.

Details

Maker
anthropic
Kind
Chat
Context window
1,000,000 tokens
Max output
128,000 tokens
Input
$3.15 per million tokens
Cached input
$0.315 per million tokens, 90% off
Cache write
$3.9375 per million tokens
Output
$15.75 per million tokens
Capabilities
Reasoning, tool use, vision, file input, web search
Takes
Text, image, pdf
Returns
Text
Zero data retention
Yes, on every provider
No training on requests
Yes, on every provider
Released
2026-02-17
Newer model
anthropic/claude-haiku-5.5Released later by the same maker, costs no more, and lists the same capabilities. Compare the two

Description

Claude Sonnet 4.6 is the 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.

Call it

curl
curl https://phantom.codes/v1/chat/completions \
  -H "Authorization: Bearer $PHANTOM_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-sonnet-4.6",
    "messages": [
      {"role": "user", "content": "Hello"}
    ]
  }'

Set PHANTOM_KEY to your key. Any OpenAI client works with the base URL https://phantom.codes/v1.