Repository navigation
v2.6.19
简体中文: 查看本版本的中文更新日志
2.6.19 - 2026-10-18
Added
src/tokdash/pricing_db.jsonmoves from 2.0.35 to 2.0.37 across the week's two scans, additions only with no repricings. 2.0.36 (lastUpdated: 2026-10-16T11:17:37Z) addsgemini-4-argon(google) at $2.00 input / $10.00 output per MTok with cache at $0.10 read / $0.1875 write,muse-spark-open(meta) at $1.25 / $4.25 with cache at $0.15 / $1.25, andnemotron-3.5-super-vl(nvidia) at $0.15 / $0.50 with cache at $0.02 / $0.15. 2.0.37 (lastUpdated: 2026-10-17T16:44:30Z) addsdeepseek-v4.1-flash-1017(deepseek) at $0.30 / $1.20, the official DeepSeek rate for the version id gateways expose, with cache at $0.006 read / $0.30 write. (#249, #251)
Fixed
- Hermes usage now lands on the model that answered. A Hermes
sessionsrow covers the whole session, so its token columns are session totals while itsmodelcolumn names one model, usually the last one used, and a session that switched models billed every token to that single name. Tokdash reads thesession_model_usagebreakdown instead and bills each(model, billing provider)group by that group's own rate and its own recorded charge, which keeps a proxy rate apart from the vendor rate for the same model and folds a session's auxiliary calls into the model that made them. A group's recorded charge and its repricable tokens stay in separate halves so merging neither freezes the priced tokens at the recorded number nor reprices a charge the provider already reported; groups are emitted in the order the session met them, and the session's message count rides exactly one row instead of being multiplied across the copies. Overview and Sessions share the grouping so the two surfaces cannot disagree about what a session used, andHermesParsermoves topersistent_parser_version3 so stored Hermes rows are rebuilt. (#239, closes #238, thanks @Dhruv1401) - A recorded fee is now visible usage on its own. A model whose rows carry a charge but no token counters -- a Hermes fixed-billing half, a parser that ships cost instead of counts -- was dropped from usage aggregation, from the Overview model rankings and from the sparkline buckets; a row is now suppressed only when it carries neither tokens nor a positive cost. An explicit
messageCountof zero is told apart from an absent one for the same reason: absent means the parser described a single message, zero means it knows the real count and put it somewhere else, so an N-message session folded into one entry no longer inflates the message total. (#239, thanks @Dhruv1401) - The Sessions tab no longer serves stale data. Session responses were cached without reference to their inputs, so a tool that wrote after the cache filled kept showing the old answer until the TTL expired. The cache key now carries a per-tool source revision taken from that tool's file signatures, SQLite WAL sidecars and metadata files included, so a source database write or a new rollout publishes a new revision and the next request rebuilds; fixed database inventories, Hermes among them, are checked on every request. Transcript-tree sources reuse their last successful scan for
TOKDASH_SIG_TTL(default 5 seconds) and refresh it in the background, so a cache hit no longer walks source trees,refresh=truewas added to/api/sessionsand/api/codex/sessionsto check an inventory immediately, and startup warming discovers those inventories only after Overview and Stats have warmed. A source file that vanishes mid-scan now degrades through the existing rules rather than caching an incomplete inventory or aborting the warm. (#252, closes #240)