Add Claude Sonnet 5.5 pricing - #266
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review. 📝 WalkthroughWalkthroughThe model registry adds Claude Sonnet 5.5 with standard and cache pricing, maps its naming variants and provider IDs to the model, and tests alias pricing, distinct identity from Sonnet 5, and Priority-tier fallback. ChangesSonnet 5.5 pricing and aliases
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~8 minutes Change: Feature Suggested reviewers: Merge Risk: ⚪ Minimal · up to The added aliases resolve to the new model, and Priority pricing uses its standard rates. The available source does not confirm Sonnet 5.5 pricing specifically, but no contrary rate is established, so no concrete merge blocker was found. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 1 system. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. A rabbit checks the model list, Comment |
Why
Claude Code now ships Claude Sonnet 5.5 (
claude-sonnet-5-5) and makes it the default Sonnet on first-party. Splitrail has no entry for it, so sessions using Sonnet 5.5 show up as an unknown model with no cost.Sonnet 5.5 is not on Anthropic's public pricing page yet. The pricing therefore comes from the model catalog in Claude Code 2.1.284, the same source used for Opus 5.5 in #260. The catalog prices
claude-sonnet-5-5astier_2_10:This is the same named tier Claude Code assigns to Sonnet 5.
What changed
claude-sonnet-5-5at $2 input / $10 output per MTok, $2.50 cache write, and $0.20 cache read. Like the other Claude entries, cache writes use the 5-minute rate because Splitrail does not get the TTL split.claude-sonnet-5.5,claude-5.5-sonnet, the mantle IDanthropic.claude-sonnet-5-5, and all seven Bedrock cross-region forms (us,eu,apac,jp,au,us-gov,global), matching the Opus 5.5 set.ServiceTier::Priority) card. Claude Code'sspeed: "fast"price switch only covers Opus 5.5, Opus 5/4.8, and Opus 4.6/4.7, and the Sonnet 5.5 catalog entry lacks thefast_modecapability. Priority usage therefore falls back to standard rates.anthropic/provider prefix, plus a test that Sonnet 5.5 and Sonnet 5 are distinct registry objects and that Priority resolves to standard rates.Validation
cargo build --quietcargo test --quietcargo clippy --quiet --all-targets -- -D warningscargo doc --quietcargo fmt --all --quietSummary by CodeRabbit