feat(pricing): ship claude-opus-4-7 fallback rates#571
Merged
Conversation
Opus 4.7 sits at the same tier as Opus 4.6/4.8 ($5/$25 in/out, $6.25/$0.50 cache create/read). LiteLLM already lists it, but the shipped fallback only had 4.6 and 4.8, so offline and fresh-seed runs left 4.7 unpriced. Add a claude-opus-4-7 fallback entry and bump FallbackVersion so the startup seeder re-upserts it, giving the current Opus generation uniform offline coverage. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
roborev: Combined Review (
|
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.
Follow-up to #565 (opus-4-8). The shipped fallback table had
claude-opus-4-6andclaude-opus-4-8but notclaude-opus-4-7, so offline runs (usage daily --offline) and fresh-seed installs left 4.7 unpriced even though it sits at the same tier ($5/$25 input/output, $6.25/$0.50 cache create/read). LiteLLM already lists 4.7, so online users were unaffected; this closes the offline gap.Adds a
claude-opus-4-7entry and bumpsFallbackVersionso the startup seeder re-upserts the fallback table, giving the current Opus generation (4.6/4.7/4.8) uniform offline coverage.Verified by wiping
model_pricingon a copy of a real database and running--offline: 4.6, 4.7, and 4.8 all price from the fallback alone (4.7 was $0 before this change in that scenario).🤖 Generated with Claude Code