feat: add Claude Opus 5.5 as a benchmark pricing model - #16
Merged
Merged
Conversation
Opus 5.5 (claude-opus-5-5) prices cache reads at 5% of base input ($4 input / $5 cache write / $0.20 cache read), between Opus 4.x's 10% and Fable's 2.5%. The default `opus` alias stays on opus-4-8 so existing baselines remain comparable. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FxSSNGDv4kKwZZ3oHdhbef
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
--model opus-5-5→ token counting withclaude-opus-5-5, pricing $4 base input / $5 cache write (5m) / $0.20 cache read.opusalias stays onopus-4-8so existing baselines stay comparable.Source: https://platform.claude.com/docs/en/about-claude/pricing (Opus 5.5 released 2026-09-22; 1M context at standard pricing, no long-context tier, so
Pricingneeds no new fields).Verification
go build ./...,go vet ./...,go test ./...passcc-session benchmark --helplistsopus-5-5-n 20 -min-kb 100 -days 90 -overhead 40731, same 20 sessions, run 2026-09-23:opus(4.8)opus-5-5NewCtx differs by only 2 tokens per session (Opus 4.8 and 5.5 share the post-4.7 tokenizer). The warm-cache drop comes from the 5% cache-read ratio: staying in the original session re-reads its large cached context more cheaply, so the new-session advantage shrinks.
🤖 Generated with Claude Code
https://claude.ai/code/session_01FxSSNGDv4kKwZZ3oHdhbef