2de9bdf6c30796d9a812cdfb0ad63fa787d25df2
Re-prices every existing ai_usage row using the correct $/1M token rates per model family. CASE clauses ordered specific-first (flash-lite before flash) to mirror the longest-prefix-match in priceFor(). Aliases (gemini-*-latest) resolve to the 2.5 family, the only one in production during the affected window. The grounding-fee component ($35/1k above 1500/day free tier) is not recomputed: historical traffic shows zero grounded calls in the window, so the bumper would be 0. Down is a no-op (irreversible by design — the original miscalculated values are not preserved).
Description
No description provided
Languages
Go
60.3%
Svelte
20.3%
Dart
11.1%
TypeScript
5%
PLpgSQL
1.1%
Other
2.1%