Skip to content

feat(benchmark): update Sonnet 5.5 / Opus 5.5 pricing and repoint aliases - #18

Merged
Mapleeeeeeeeeee merged 4 commits into
mainfrom
claude/update-sonnet-5-5-pricing
Sep 28, 2026
Merged

Mapleeeeeeeeeee merged 4 commits into
mainfrom
claude/update-sonnet-5-5-pricing

Conversation

@Mapleeeeeeeeeee

@Mapleeeeeeeeeee Mapleeeeeeeeeee commented Sep 28, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Add Claude Sonnet 5.5 pricing ($2.00/M input, $0.20/M cache read, $2.50/M cache write, $10/M output).
  • Repoint the sonnet alias to Sonnet 5.5 and the opus alias to Opus 5.5. opus is also the --model default.
  • Keep previous models available under explicit aliases: sonnet-4-6, opus-4-6, opus-4-7, opus-4-8.
  • Add sonnet-5-5 as an explicit alias, matching opus-5-5.
  • Change DefaultCountTokensModel in internal/tokens from claude-sonnet-4-6 to claude-sonnet-5-5.
  • Rename PricingSonnet / TokenCountModelSonnet to PricingSonnet46 / TokenCountModelSonnet46. PricingOpus keeps its name and now documents that it is the shared Opus 4.x pricing.
  • Update tests, --model help text and docs/benchmark.md.

Behavior change

Running cc-session benchmark with no --model, --model opus or --model sonnet now uses 5.5 pricing and tokenizer, so cost numbers differ from earlier runs. To reproduce old results use --model opus-4-8 or --model sonnet-4-6. The default count_tokens model is also now Sonnet 5.5.

Test plan

  • gofmt clean
  • go vet ./...
  • go test ./...

🤖 Generated with Claude Code

https://claude.ai/code/session_01HX8KccseqQb2rUserM2BDT

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
@Mapleeeeeeeeeee
Mapleeeeeeeeeee merged commit 0faa51e into main Sep 28, 2026
3 checks passed
@Mapleeeeeeeeeee
Mapleeeeeeeeeee deleted the claude/update-sonnet-5-5-pricing branch September 28, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants