Anthropicclaude-sonnet-4-6
Claude Sonnet 4.6
Reasoning and vision at a mid-tier price.
Sonnet 4.6 brings advanced reasoning, extended thinking, and vision to the mid tier — the balance of quality and cost most production workloads want.
- Production apps
- Extended thinking
- Vision
Model details
- Context window
- 1M tokens
- Max output
- 64K tokens
- Input
- Text, images
- Output
- Text
- Capabilities
- Reasoning, Vision, Tool calling, Streaming
- Interfaces
- OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses
Pricing
Per 1M tokens. The Inferray price is what you are charged — no gateway fee is added on top of it.
| Metric | Price |
|---|---|
| Input | $3 |
| Cached input | $0.30 |
| Output | $15 |
Why teams pick it
- Advanced reasoning with extended thinking
- Vision for documents, screenshots, and diagrams
- 1M-token context at a mid-tier price
Call Claude Sonnet 4.6
Claude Sonnet 4.6 answers on any of the APIs below — pick the one your code already speaks and just swap in your Inferray key.
/v1/chat/completionsOpenAI-style Chat Completions · openai SDK or plain HTTP
curl https://api.inferray.com/v1/chat/completions \
-H "Authorization: Bearer inferray_..." \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-4-6",
"messages": [{"role": "user", "content": "ship it"}]
}'/v1/messagesAnthropic-style Messages · @anthropic-ai/sdk SDK or plain HTTP
curl https://api.inferray.com/v1/messages \
-H "Authorization: Bearer inferray_..." \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-4-6",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "ship it"}]
}'/v1/responsesOpenAI-style Responses · openai SDK or plain HTTP
curl https://api.inferray.com/v1/responses \
-H "Authorization: Bearer inferray_..." \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-4-6",
"input": "ship it"
}'