[](https://tokscale.ai)
A high-performance CLI tool and visualization dashboard for tracking token usage and costs across multiple AI coding agents.
[!TIP]
I drop new open-source work every week. Don't miss the next one.
 |
Follow @Tokscale on X for release notes and updates. |
 |
Come hang out in our Discord — and surround yourself with the world's top-tier vibers. |
 |
Support Tokscale's continued development through GitHub Sponsors. |
 |
Follow @junhoyeo on GitHub for more projects. Hacking on AI, infra, and everything in between. |
[](https://github.com/junhoyeo/tokscale/releases)
[](https://www.npmjs.com/package/tokscale)
[](https://www.npmjs.com/package/tokscale)
[](https://github.com/junhoyeo/tokscale/graphs/contributors)
[](https://github.com/junhoyeo/tokscale/network/members)
[](https://github.com/junhoyeo/tokscale/stargazers)
[](https://github.com/junhoyeo/tokscale/issues)
[](https://github.com/junhoyeo/tokscale/blob/master/LICENSE)
[](https://github.com/junhoyeo/tokscale/issues/403)
[🇺🇸 English](https://github.com/junhoyeo/tokscale/blob/HEAD/README.md) | [🇰🇷 한국어](https://github.com/junhoyeo/tokscale/blob/HEAD/README.ko.md) | [🇯🇵 日本語](https://github.com/junhoyeo/tokscale/blob/HEAD/README.ja.md) | [🇨🇳 简体中文](https://github.com/junhoyeo/tokscale/blob/HEAD/README.zh-cn.md)
| Overview |
Models |
 |
 |
| Daily Summary |
Stats |
 |
 |
| Session Details |
Hourly |
 |
 |
| Frontend (3D Contributions Graph) |
Wrapped 2025 |
 |
 |
Run bunx tokscale@latest submit to submit your usage data to the leaderboard and create your public profile!
Overview
Tokscale helps you monitor and analyze your token consumption from:
| Logo |
Client |
Data Location |
 |
OpenCode |
~/.local/share/opencode/opencode.db (1.2+, all channels including opencode-stable.db) or/and ~/.local/share/opencode/storage/message/ (legacy/unmigrated) |
 |
Claude Code |
~/.claude/projects/ and ~/.claude/transcripts/ |
 |
OpenClaw |
~/.openclaw/agents/ (*/agent/openclaw-agent.sqlite + */sessions/*.jsonl; + legacy: .clawdbot, .moltbot, .moldbot) |
 |
Codex CLI |
~/.codex/sessions/ and ~/.codex/archived_sessions/ (*.jsonl plus zstd-compressed *.jsonl.zst and other archive copies; copies of one rollout count once) |
 |
Prime Agent |
~/.prime/agent/sessions/ and ~/.prime/agent/session-artifacts/ (RLM child sessions) |
 |
Sakana Fugu |
via Codex — rollouts in ~/.codex/sessions/ and ~/.codex/archived_sessions/ (model_provider: sakana) |
 |
GitHub Copilot CLI |
~/.copilot/session-store.db (CLI usage events; no OTEL required), ~/.copilot/otel/*.jsonl (+ COPILOT_OTEL_FILE_EXPORTER_PATH), ~/.copilot/data.db |
 |
Hermes Agent |
$HERMES_HOME/state.db and $HERMES_HOME/profiles/*/state.db (fallback: ~/.hermes/...) |
 |
Gemini CLI |
$GEMINI_CLI_HOME/tmp/*/chats/*.json (fallback: ~/.gemini/tmp/*/chats/*.json) |
 |
Cursor IDE |
Cursor API usage cached at ~/.config/tokscale/cursor-cache/usage*.json (legacy usage*.csv caches are still read; desktop auto-login or cookie paste; not ~/.cursor) |
 |
Amp (AmpCode) |
~/.config/tokscale/amp-cache/threads/ (tokscale amp sync) |
 |
Codebuff |
~/.config/manicode/ (+ manicode-dev, manicode-staging; override via CODEBUFF_DATA_DIR) |
 |
Freebuff |
shares ~/.config/manicode/ with Codebuff (same runtime); token usage is estimated from the transcript (no local usage; override via FREEBUFF_DATA_DIR) |
 |
Droid (Factory Droid) |
~/.factory/sessions/ |
 |
Pi |
~/.pi/agent/sessions/ |
 |
omp (Oh My Pi) |
~/.omp/agent/sessions/**/*.jsonl |
 |
Senpi (OmO Native) |
~/.senpi/agent/sessions/ (override via SENPI_CODING_AGENT_DIR) and ~/.omo/agent/sessions/ (OmO Native, omo-ai 5.1.0+), plus each project's task children in .omo/senpi-task/children/; add other OmO locations with scanner.extraScanPaths.senpi |
 |
Kimchi Coding |
~/.config/kimchi/harness/sessions/ (override via KIMCHI_CODING_AGENT_DIR) |
 |
Reasonix |
~/.reasonix/stats/*.jsonl (override via REASONIX_STATE_HOME or REASONIX_HOME) |
 |
Kimi CLI / Kimi Code |
kimi-cli: ~/.kimi/sessions/ kimi-code: ~/.kimi-code/sessions/ (override via KIMI_CODE_HOME) kimi-work: desktop app-data root (auto- |