2026-11-26 15:50 UTC

Audit reports 45+ token-accounting bugs across AI usage tools

state: acceleratingheat: mediumuncertainty: mediumrelevance: highinference-economics

What is this?

AgentMeasure is an open-source audit and testing project by GitHub user tongroy focused on AI usage and cost-metering tools. Its report says it tested about 110 tools and reproduced 45+ token-accounting bugs; search results also report that fixes were merged or accepted upstream, though they give differing counts. Reported failure modes include lost or duplicated usage records, retries counted as new operations, and cached tokens priced as fresh. This is evidence of concrete measurement problems in the audited tools, not proof that all AI cost dashboards are unreliable or that users were overcharged.

Why it matters

AI cost and usage meters inform model choice, budget limits, and whether agent workflows are worth their price, so silent accounting errors can distort real decisions. AgentMeasure reports 45+ reproduced bugs across roughly 110 tools, with a number of fixes accepted or merged upstream; its public fixtures could help vendors and users test their own tooling. The evidence is a project-led audit, not a representative estimate of how often dashboards fail, and metering errors do not by themselves show that providers overcharged customers.

Current assessment

AgentMeasure, an open-source project by tongroy, says it audited about 110 AI usage/cost tools and reproduced 45+ token-accounting bugs against synthetic fixtures. The linked report's search snippet gives one concrete example: ai-usage-inspector reportedly omitted 86% of a session's tokens; it also says a swarm bug was fixed upstream after a report and patch. Search results for project materials give inconsistent counts of fixes—15, 23, or 25 merged or accepted—so the exact total and status need verification. Reported bug classes include missing or duplicated records, retries counted as new operations, and cached tokens priced as fresh. Separate supplied reports describe inflated Claude Code usage statistics and a change to what an Ollama timing metric measures, while a SillyTavern release says it fixed inflated OpenAI tokenizer counts; these suggest metering and metric interpretation are broader practical concerns, but do not independently validate AgentMeasure's overall tally. The audit concerns usage accounting in tools and dashboards, not necessarily provider-side billing or actual overcharges. Its scope, fixture representativeness, affected tool versions, and real-world financial impact remain uncertain. Useful implication: treat third-party cost telemetry as something to validate against provider usage records and test cases before using it for budgeting or vendor comparisons.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady3 platformsage 1857h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

09-10 07:33 (minted)⭐ origin echo-reconstructedAI cost dashboard is probably wrong - 45 verified token-accounting bugs
tongroy on github (echo) · attributed from hn.story.49639249 · published time unknown
—
09-10 06:30first on hacker news · published · lag ?AI cost dashboard is probably wrong – 45 verified token-accounting bugs
tongroy
—
09-16 11:44first on r/ClaudeAI · published · lag ?Claude Code's /usage Stats tab overstates your tokens ~2x. Reported on GitHub since Aug 2025, still unfixed.
Background-Basis-672
—
09-16 18:27first on r/OpenAI · published · lag ?SillyTavern v1.19.0 released
Fcking_Chuck
—
09-10 06:30amplified on hacker newshn.story.49639249
tongroy
peak 1 · 0 comments · 0% of case engagement
09-11 11:15amplified on hacker news 👑hn.story.49656471
michalwarda
peak 170 · 84 comments · 60% of case engagement
09-14 17:44amplified on hacker newshn.story.49700895
practicalsystem
peak 1 · 0 comments · 0% of case engagement
09-14 21:14amplified on hacker newshn.story.49704131
lognebudo
peak 1 · 0 comments · 0% of case engagement
09-16 11:44amplified on r/ClaudeAIreddit.post.1whuvcf
Background-Basis-672
peak 7 · 2 comments · 1% of case engagement
09-16 18:27amplified on r/OpenAIreddit.post.1wi5h3r
Fcking_Chuck
peak 9 · 0 comments · 1% of case engagement
5 more amplifiers in ainews.case_chain
09-10 07:21our radar first saw it · lag ?discovery anchor: hn.story.49639249—

Evidence (12) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnAI cost dashboard is probably wrong – 45 verified token-accounting bugstongroy10
🟧 echo.github ⭐AI cost dashboard is probably wrong - 45 verified token-accounting bugstongroy——
🟧 hnRTK reports token savings, but our cost benchmarks disagreemichalwarda17084
🟧 hnShow HN: CostClaw, a local audit of your Claude Code logspracticalsystem10
🟧 hnOllama 0.33.3 changed what prompt_eval_duration measureslognebudo10
🟠 redditClaude Code's /usage Stats tab overstates your tokens ~2x. Reported on GitHub since Aug 2025, still unfixed.
ClaudeAI
Background-Basis-67272
🟠 redditSillyTavern v1.19.0 released
OpenAI
Fcking_Chuck80
🟧 hnShow HN: AgentMeasure – healthchecks and settlement statements for AI billstongroy20
🟧 hnScan your LLM agent's tools for cost-amplification bugs (no API key)sarojas12310
🟧 hnSpending on AI Is Becoming Almost Impossible for Businesses to Budgetswolpers5987
🟧 hnShow HN: Tallyhook – price Claude Code and Codex logs per client you billvitaljudge21
🟧 hnSelf-hosted AI spend attributioncauebraz30

Interpretation history

Decision trace