Model Explorer
Technical Specifications
Detailed technical parameters and capabilities
- Context Window
- 200,000 tokens
- Max Output
- 4,096 tokens
- Training Cutoff
- April 2024
- Tokenizer
- cl100k_base
Quick Integration
Get started with a single API call
quickstart.py
import openai
client = openai.OpenAI(
base_url="https://api.example.com/v1",
api_key="sk-ms-...",
)
response = client.chat.completions.create(
model="claude-sonnet-4",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
Performance Benchmarks
How claude-sonnet-4 compares across industry benchmarks
MMLU
65%vs 86.4%
HumanEval
60%vs 67%
GSM8K
63%vs 92%
claude-sonnet-4
GPT-4o Reference
Pricing
Pay-as-you-go
Standard Pricing
No commitments, pay only for what you use
Input$3.00 per 1M tokens
Output$15.00 per 1M tokens
Indicative pricing — final cost is confirmed at request time.