What 0token does
Token Flamegraph
See exactly where tokens go โ per request, per model, before vs after compression
Live $ Meter
Real-time animated counter showing dollars saved as your agent works
Receipt Cards
Shareable SVG cards โ download, copy, post on X
MCP Server
4 tools for any MCP-compatible agent โ stats, recent, flamegraph, receipt
Leaderboard
Cross-tool efficiency comparison โ $/task at held quality
Zero Config
Works with Claude Code, Cursor, Codex, any OpenAI-compatible client
How it works
Steps
1
Install:
pip install 0token2
Start:
python -m zt.cli start3
Use your agent normally โ 0token compresses in background
4
Watch savings on this dashboard
Quick Setup
โธ Claude Code:
set ANTHROPIC_BASE_URL=http://127.0.0.1:8787
claude
โธ Cursor / OpenAI:
set OPENAI_BASE_URL=http://127.0.0.1:8787/v1
โธ No API key needed!
0token auto-detects your key from ~/.claude.json