Models
Claude Sonnet 4.6
Model Overview
Direct supply
ChatStreamingVisionToolsThinkingCacheInput Modalities
Text, Image
Output Modalities
Text
Recommended for
A chat model suited to conversations needing vision, tool use, thinking mode, and streaming output, with caching support.
Capabilities
Chat
Multi-turn conversational completions
Streaming
Tokens are delivered incrementally as they are generated
Vision
Accepts image input alongside text
Tool Use
Can call functions/tools defined in the request
Thinking
Produces an extended internal reasoning trace before the final answer
Prompt Caching
Reuses previously processed prompt prefixes at a lower rate
Supported Modes
Chat
Model Pricing
10% off
Pay-as-you-go
Pricing
What Claude Sonnet 4.6 charges for each operation
Cache write · Cache retention: 1h$6.00$5.40per 1M tokens
Cache write · Cache retention: 5m$3.75$3.375per 1M tokens
Cache read$0.30$0.27per 1M tokens
Input$3.00$2.70per 1M tokens
Output$15.00$13.50per 1M tokens
Thinking$15.00$13.50per 1M tokens
Indicative pricing — final cost is confirmed at request time.
Context & Limits
- Context Window
- 1,000,000 tokens
- Max Output
- 128,000 tokens
Response speed
Data is being collected
API Code Example
OpenAI Compatible
import openai
client = openai.OpenAI(
base_url="https://api.modelsite.ai/v1",
api_key="sk-ms-...",
)
response = client.chat.completions.create(
model="claude-sonnet-4-6",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)