feat(benchmark): update Sonnet 5.5 / Opus 5.5 pricing and repoint aliases - #18
Merged
Merged
Conversation
Sonnet 5.5 is $2.00/M input, $10/M output, $0.20/M cache read (10% of base) and $2.50/M cache write (1.25x base). The existing "sonnet" alias keeps pointing at Sonnet 4.6. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HX8KccseqQb2rUserM2BDT
"sonnet" now resolves to claude-sonnet-5-5 pricing; the previous model stays available as the explicit "sonnet-4-6" alias. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HX8KccseqQb2rUserM2BDT
"opus" (and the --model default) now resolves to claude-opus-5-5 pricing; opus-4-6/4-7/4-8 remain available as explicit aliases. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HX8KccseqQb2rUserM2BDT
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HX8KccseqQb2rUserM2BDT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
sonnetalias to Sonnet 5.5 and theopusalias to Opus 5.5.opusis also the--modeldefault.sonnet-4-6,opus-4-6,opus-4-7,opus-4-8.sonnet-5-5as an explicit alias, matchingopus-5-5.DefaultCountTokensModelininternal/tokensfromclaude-sonnet-4-6toclaude-sonnet-5-5.PricingSonnet/TokenCountModelSonnettoPricingSonnet46/TokenCountModelSonnet46.PricingOpuskeeps its name and now documents that it is the shared Opus 4.x pricing.--modelhelp text anddocs/benchmark.md.Behavior change
Running
cc-session benchmarkwith no--model,--model opusor--model sonnetnow uses 5.5 pricing and tokenizer, so cost numbers differ from earlier runs. To reproduce old results use--model opus-4-8or--model sonnet-4-6. The default count_tokens model is also now Sonnet 5.5.Test plan
gofmtcleango vet ./...go test ./...🤖 Generated with Claude Code
https://claude.ai/code/session_01HX8KccseqQb2rUserM2BDT