You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pricing: long-context tier rates (272k threshold) are dropped at snapshot bundling #1076
area: cliThe codeburn CLI and its core parsing/reporting enginebugSomething isn't workingstatus: confirmedReproduced or verified by a maintainerstatus: has-prAn open pull request references this issue
Split from #1075 (claim 3). LiteLLM carries *_above_272k_tokens tier rates for gpt-5.4/5.5/5.6* (and 200k tiers for some Anthropic models — 237 entries total), but scripts/bundle-litellm.mjs flattens every entry to a fixed 5-slot tuple and discards the tier fields, and calculateCost has no threshold dimension. Measured impact on a large real corpus at the correct 272k threshold: 8 of 45,638 codex calls, +$1.28 (+0.03%) — which is why this is deferred rather than bundled into the #1075 fix. If implemented: must be provider-generic, must use each model's actual threshold from the source (272k for the OpenAI 5.4+ family — NOT 128k; see #1075 verification for why 128k fabricates +64% spend), and requires a snapshot format change with a compat path for old tuples.
area: cliThe codeburn CLI and its core parsing/reporting enginebugSomething isn't workingstatus: confirmedReproduced or verified by a maintainerstatus: has-prAn open pull request references this issue
Activity
fix(pricing): carry long-context tier rates through bundling and pric…
fix(pricing): carry long-context tier rates through bundling and pric…
Merge upstream PR getagentseal#1478 long-context tiers, keeping the T…
fix(pricing): carry long-context tier rates through bundling and pric…
fix(pricing): carry long-context tier rates through bundling, applied…