by Anthropic · chat
Claude Sonnet 4 (Thinking) by Anthropic — Access via Apertis API. Input: $0.0010/1M tokens, Output: $0.0050/1M tokens. Context: 200K tokens. OpenAI-compatible API with 50% cost savings.
| Input | Output | Context Window |
|---|---|---|
| $0.0010 / 1M tokens | $0.0050 / 1M tokens | 200K tokens |
Use the Apertis API (OpenAI-compatible) to access Claude Sonnet 4 (Thinking):
curl https://api.apertis.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "claude-sonnet-4-20250514-thinking", "messages": [{"role": "user", "content": "Hello!"}]}'