Models / Compare

Claude Sonnet 5 vs Claude Opus 4.8

Claude Sonnet 5 costs less on both: $1.20 in and $3.00 out per million tokens, against $1.50 in and $7.50 out for Claude Opus 4.8. Both on one key at UplinkSwitch, each next to its developer's list price.

Prices · per million tokens, USD

TokensClaude Sonnet 5claude-sonnet-5Claude Opus 4.8claude-opus-4-8
Input$1.20Anthropic lists $2.00 · 40% under$1.50Anthropic lists $5.00 · 70% under
Cached input$0.12Anthropic lists $0.20 · 40% under$0.15Anthropic lists $0.50 · 70% under
Output$3.00Anthropic lists $10.00 · 70% under$7.50Anthropic lists $25.00 · 70% under
Context window1,000,000 tokens1,000,000 tokens
Max output128,000 tokens128,000 tokens
Inputtext, imagetext, image
Released2026-06-302026-05-28
Anthropic lifecycleactive, retires no sooner than 2027-06-30active, retires no sooner than 2027-05-28
FormatsAnthropic SDK, OpenAI SDKAnthropic SDK, OpenAI SDK
DeveloperAnthropicAnthropic
List price: each developer's published rate, read October 2026. A model with no cached rate bills cached tokens at its input rate. Live from GET https://api.uplinkswitch.com/v1/catalog. Lifecycle from Anthropic's model deprecations, read 2026-10-19.

What the same work costs · USD, here and at list

WorkClaude Sonnet 5Claude Opus 4.8
1,000 chat requests$3.90list $9.00$6.75list $22.50
100 long documents$6.60list $12.00$9.00list $30.00
A month of both, daily$315.00list $630.00$472.50list $1,575.00
A chat request is 2,000 input and 500 output tokens; a long document is 50,000 in and 2,000 out; the month is 1,000 chats and 100 documents a day for 30 days, uncached. Over that month Claude Sonnet 5 costs $157.50 less here.

Newest in the line

Same key, same URL

One base URL and one key serve both models. The request below calls Claude Sonnet 5; put claude-opus-4-8 in the model field to call Claude Opus 4.8 instead.

shell
curl https://api.uplinkswitch.com/v1/chat/completions \
  -H "authorization: Bearer sk-uplink-live-..." \
  -H "content-type: application/json" \
  -d '{"model":"claude-sonnet-5","messages":[{"role":"user","content":"Hello"}]}'

Questions

Which costs less, Claude Sonnet 5 or Claude Opus 4.8?
Claude Sonnet 5 costs less on both: $1.20 in and $3.00 out per million tokens, against $1.50 in and $7.50 out for Claude Opus 4.8.
Can I switch between them by changing the model id?
Yes. Both answer in the Anthropic SDK and OpenAI SDK format at the same base URL with the same key. Change the model id from claude-sonnet-5 to claude-opus-4-8 and nothing else.
Is there a subscription?
No. Prepaid credit from $10, with no subscription or monthly fee. Each top-up locks your prices for 30 days.
Is Claude Sonnet 5 better than Claude Opus 4.8?
Better depends on the job; this page compares what the catalog can measure. Claude Sonnet 5 costs less on both: $1.20 in and $3.00 out per million tokens, against $1.50 in and $7.50 out for Claude Opus 4.8. Both take 1,000,000 tokens of context. Claude Sonnet 5 is the newer release. Both run on the same key, so the fair test is your own prompt sent to each model id.
Did Claude Sonnet 5’s price go up?
No. Anthropic made Sonnet 5's launch price, $2.00 input and $10.00 output per million tokens, its standard price; the rise to $3 and $15 planned for 2026-09-01 will not happen (Anthropic pricing, read 2026-10-19). Here Sonnet 5 is $1.20 and $3.00.