AIToday

Tokdash: Local AI token tracker for developers

Hacker News20h ago5 min read
Tokdash: Local AI token tracker for developers

Key takeaway

Tokdash is a locally-run dashboard that tracks token usage and costs for AI coding assistants, filling a gap left by tools that automatically delete session history after ~30 days. It offers token breakdowns, historical usage calendars, subscription quota tracking, and performs significantly faster than comparable tools, making it useful for developers who want persistent, detailed visibility into their AI tool consumption.

Summaries like this, in your inbox every morning.

Sign up free →

3 Key Points

  • What happened

    Tokdash is a local dashboard that tracks token usage and costs across AI coding tools like Claude Code and Gemini CLI. It offers exact token counts (input/output/cache breakdowns), a contribution calendar with usage metrics, per-session drill-down, and quota tracking with reset countdowns for services like Codex and Claude.

  • Why it matters

    AI coding tools delete local session history after ~30 days by default, which can silently shrink your usage record unless you configure retention manually. Tokdash preserves that history locally and provides visibility into spending and quotas, helping developers monitor their AI tool costs and usage patterns without relying on cloud-hosted logs.

  • What to watch

    The tool runs as a local background service (http://127.0.0.1:55423 by default) and is available now via Python installation; it is roughly 30× faster than earlier cold scans and 15× faster than comparable tools like ccusage in the same local benchmark. Remote access is supported via SSH forwarding or Tailscale Serve, and integrations with statusline indicators in coding agents are available in the docs.

FAQ

How fast is Tokdash compared to other tools?
Tokdash is about 30× faster than pre-0.6.0 cold usage scans and 15× faster than ccusage in the same local benchmark.
Which AI tools does Tokdash support?
The body lists Claude Code, Gemini CLI, Codex, and Antigravity as supported clients, with quota tracking available for Codex (from local logs) and Claude/Antigravity (via opt-in live polling).
Is there a cost to use Tokdash?
The body does not state a price; installation is via Python package manager (pipx or pip), and the tool runs locally without requiring a subscription.

Discussion

No discussion yet for this article

Stay ahead with AI news

Get curated AI news from 200+ sources delivered daily to your inbox. Free to use.

Get Started Free

Free · takes 30 seconds · unsubscribe anytime

1 minute a day. The AI essentials.

200+ sources · Email / LINE / Slack

Get it free →