StarSeaAPIStarSeaAPI
HomeCompareclaude-sonnet-4-6 vs claude-sonnet-5

claude-sonnet-4-6 vs claude-sonnet-5

claude-sonnet-4-6claude-sonnet-5
ProvidersAnthropicAnthropic
Input $/M$3.00$2.00
Output $/M$15.00$10.00
Output multiplier×5.00×5.00
Context window1M tokens200K tokens
Intelligence index45.1
Coding index71.5

What the numbers mean

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

Code

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"}])

Compare

claude-sonnet-4-6 vs claude-opus-4-6

claude-sonnet-5 vs qwen3.8-max