Open-source, real-time token usage and cost tracking for your coding agents. Your prompts never leave your machine.
curl -fsSL https://app.tokenage.dev/install.sh | sh

Every request shows up within seconds, while the session is still running.
Prompts, responses and code never leave your machine. Only usage numbers do.
Sessions
Cost, tools and requests for every session, and your parallel peak.

Request logs
Tokens, cache, latency and effort for each request.

Projects
Spend per repository, across every agent and machine.

| What | ![]() |
|||
|---|---|---|---|---|
| Input, output tokens and cost | Yes | Yes | Yes | Yes |
| Cache reads | Yes | Yes | Yes | Yes |
| Cache writes | Yes | Not reported | Yes | Yes |
| Reasoning tokens | Not reported | Yes | Yes | Yes |
| Reasoning effort | Yes | Yes | Yes | Yes |
| Latency and time to first token | Yes | Yes | Yes | Yes |
| Sessions and projects | Yes | Yes | Yes | Yes |
| Tool calls and duration | Yes | Yes | Yes | Yes |
| Failed requests | Not reported | Not reported | Yes | Yes |
| Real-time updates | Yes | Yes | Yes | Yes |
| Prompts, responses, transcripts, code | Never leave your machine | |||
One command, then pick your agents.
Prompts and code stay on your machine.
Every request, within seconds.
SQLite to start, Postgres when you grow.
curl -fsSL https://raw.githubusercontent.com/Haannbboo/tokenage/main/install.sh | sh
docker compose up -d
Docker guide
Install tokenage with one command, sign in, and pick the agents to track. tokenage connects to each agent's telemetry, so every request's tokens, cache use and cost show up on your dashboard within seconds.
No. tokenage collects usage numbers only: tokens, cost, model, timing and tool names. Prompts, responses, transcripts and code stay on your machine.
Claude Code, Codex, OpenCode and Kilo. A local proxy also covers clients that accept a custom OpenAI- or Anthropic-compatible base URL.
Yes. Run the server with the install script or Docker Compose. It starts on SQLite and supports Postgres when you grow.
Yes. tokenage is MIT-licensed and developed on GitHub.