Skip to content

feat(pricing): ship claude-opus-4-7 fallback rates#571

Merged
wesm merged 1 commit into
mainfrom
opus-4-7-fallback-pricing
May 30, 2026
Merged

feat(pricing): ship claude-opus-4-7 fallback rates#571
wesm merged 1 commit into
mainfrom
opus-4-7-fallback-pricing

Conversation

@wesm
Copy link
Copy Markdown
Member

@wesm wesm commented May 30, 2026

Follow-up to #565 (opus-4-8). The shipped fallback table had claude-opus-4-6 and claude-opus-4-8 but not claude-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-7 entry and bumps FallbackVersion so 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_pricing on 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

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-ci
Copy link
Copy Markdown

roborev-ci Bot commented May 30, 2026

roborev: Combined Review (2832a95)

Clean review: no Medium, High, or Critical findings were reported by any agent.

Both reviews found no issues.


Synthesized from 2 reviews (agents: codex | types: default, security)

@wesm wesm merged commit c36ba91 into main May 30, 2026
15 checks passed
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.

1 participant