Commit c36ba91
authored
feat(pricing): ship claude-opus-4-7 fallback rates (#571)
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](https://claude.com/claude-code)
Co-authored-by: Wes McKinney <wesm@users.noreply.github.com>1 parent f47f17d commit c36ba91
3 files changed
Lines changed: 33 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
27 | 34 | | |
28 | 35 | | |
29 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
32 | 56 | | |
33 | 57 | | |
34 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
| |||
0 commit comments