Claude Sonnet 4.6
ChatNot available
Best combination of speed and intelligence. Near-Opus performance at Sonnet pricing.
- Context
- 1Mtokens
- Max output
- 128Ktokens
- Latency
- ~16ms
- Released
- 2026-02
Pricing
$ / 1M tokensInput
$3.00/M
Output
$15.00/M
Cache Read
$0.30/M
Write (5m)
$3.75/M
Write (1h)
$6.00/M
Capabilities
7 listed- Chat
- Tool Use
- Reasoning
- Vision
- Coding
- Analysis
- Long Context
Code examples
POST /v1/chat/completionspython
from openai import OpenAI
client = OpenAI(
api_key="your_api_key",
base_url="https://api.modelstack.cc/v1",
)
response = client.chat.completions.create(
model="claude-sonnet-4-6",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)Related models
Frequently asked questions
How is Claude Sonnet 4.6 billed on ModelStack?expand_more
ModelStack bills based on actual request usage. Input, output, cache, and any other applicable rates follow the live pricing table on this page. Final request costs are available in the console.
What are the context window and maximum output for Claude Sonnet 4.6?expand_more
Claude Sonnet 4.6 has a 1M context window and supports up to 128K of output.
How can I call Claude Sonnet 4.6 through ModelStack?expand_more
Use the model ID `claude-sonnet-4-6` with any OpenAI-compatible SDK pointed at the ModelStack API — see the code examples above for Python, Node.js, and cURL.
Which capabilities does Claude Sonnet 4.6 support?expand_more
Claude Sonnet 4.6 supports: Chat, Tool Use, Reasoning, Vision, Coding, Analysis, Long Context.