Skip to content

v0.1.1 — fix: kimi tokens counted twice

Choose a tag to compare

@686f6c61 686f6c61 released this 29 Jul 10:42

Fixed

  • Token counts were exactly 2× too high for Kimi Code. Its wire.jsonl
    stores every model call twice — as usage.record and as an identical
    step.end loop event — and both were summed. The parser now only counts
    usage.record. Existing stats and pending flush state are migrated once
    (kimi rows halved, guarded by PRAGMA user_version).

Added

  • agent-bar stats now breaks usage down into input / output / cache-read /
    cache-write per CLI, with a note explaining that cache reads dominate the
    token total but not the cost.