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
rtk gain hallucinates massive token usage and savings on one day using rtk gain --daily #1935
rtk gain --daily shows wildly inflated token counts (~1421M used, ~1417M saved) for a single day; PR #1978 is in progress to cap per-call saved tokens at the tool-result ceiling.
This looks like a simple fix that could be auto-resolved. Repo maintainers can use /wshm fix to attempt it.
📁 Relevant files
src/analytics/gain.rs
Triaged automatically by wshm · This is an automated analysis, not a human review.
Closing as a duplicate of #3508, which tracks the same uncapped saved-token accounting behind these inflated daily figures and includes the measurements and a proposed fix. Please follow up there.
Activity
pszymkowiak commentedon May 27, 2026
🔍 Automated Triage
bugmediumSummary
rtk gain --daily shows wildly inflated token counts (~1421M used, ~1417M saved) for a single day; PR #1978 is in progress to cap per-call saved tokens at the tool-result ceiling.
📁 Relevant files
src/analytics/gain.rsTriaged automatically by wshm · This is an automated analysis, not a human review.
officiallymarky commentedon Jul 8, 2026
This issue still keeps happening every few days.
officiallymarky commentedon Jul 22, 2026
This is an ad
Yohjisakamoto commentedon Jul 22, 2026
https://blog.jetbrains.com/ai/2026/07/rtk-claude-code-token-savings/
check this than
KuSh commentedon Sep 13, 2026
Closing as a duplicate of #3508, which tracks the same uncapped saved-token accounting behind these inflated daily figures and includes the measurements and a proposed fix. Please follow up there.