tokenage

Every token your coding agents spend, live.

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
Claude Code Codex OpenCode Kilo

Real time

Every request shows up within seconds, while the session is still running.

Privacy first

Prompts, responses and code never leave your machine. Only usage numbers do.

Sessions

See every session, and how many ran at once.

Cost, tools and requests for every session, and your parallel peak.

Sessions page with a parallel sessions chart, breakdowns by agent, duration and cost, and a list of sessions

Request logs

Every request, down to the token.

Tokens, cache, latency and effort for each request.

Request logs table with model, tokens, cache, latency and effort per request

Projects

Know which repository costs what.

Spend per repository, across every agent and machine.

Projects page with spend per repository

What's tracked, per agent

What Claude Code Codex OpenCode Kilo
Input, output tokens and costYesYesYesYes
Cache readsYesYesYesYes
Cache writesYesNot reportedYesYes
Reasoning tokensNot reportedYesYesYes
Reasoning effortYesYesYesYes
Latency and time to first tokenYesYesYesYes
Sessions and projectsYesYesYesYes
Tool calls and durationYesYesYesYes
Failed requestsNot reportedNot reportedYesYes
Real-time updatesYesYesYesYes
Prompts, responses, transcripts, code Never leave your machine

How it works

Your agents send usage numbers only to tokenage, on your server or app.tokenage.dev, and your dashboard updates within seconds. Prompts, responses, transcripts and code stay on your machine.
  1. 01

    Install and sign in

    One command, then pick your agents.

  2. 02

    Only numbers travel

    Prompts and code stay on your machine.

  3. 03

    Watch it live

    Every request, within seconds.

Run it your way

Self-host

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

Questions

How do I track Claude Code token usage and cost?

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.

Does tokenage see my prompts or code?

No. tokenage collects usage numbers only: tokens, cost, model, timing and tool names. Prompts, responses, transcripts and code stay on your machine.

Which coding agents does tokenage support?

Claude Code, Codex, OpenCode and Kilo. A local proxy also covers clients that accept a custom OpenAI- or Anthropic-compatible base URL.

Can I self-host tokenage?

Yes. Run the server with the install script or Docker Compose. It starts on SQLite and supports Postgres when you grow.

Is tokenage open source?

Yes. tokenage is MIT-licensed and developed on GitHub.