| claude-sonnet-4-6 | claude-sonnet-5 | |
|---|---|---|
| Providers | Anthropic | Anthropic |
| Input $/M | $3.00 | $2.00 |
| Output $/M | $15.00 | $10.00 |
| Output multiplier | ×5.00 | ×5.00 |
| Context window | 1M tokens | 200K tokens |
| Intelligence index | — | 45.1 |
| Coding index | — | 71.5 |
Input pricing is close — 1.50× apart — so the decision should come down to measured quality on your own evaluation set rather than headline cost.
Tags: claude-sonnet-4-6 — Chat, Reasoning, Coding, Vision · claude-sonnet-5 — Chat, Reasoning, Coding, Vision
from openai import OpenAI
client = OpenAI(base_url="https://starseaapi.com/v1", api_key="sk-...")
# claude-sonnet-4-6
client.chat.completions.create(model="claude-sonnet-4-6", messages=[{"role":"user","content":"Hi"}])
# claude-sonnet-5
client.chat.completions.create(model="claude-sonnet-5", messages=[{"role": "user", "content": "Hi"}])