Local app
Run TokenID's free local LLM monitor — a capturing proxy plus a live usage dashboard on your laptop, with a one-click upgrade to the hosted plan.
TokenID ships a free local app: a single binary that starts a capturing proxy on :8080 and a live web dashboard on http://localhost:7878, backed by SQLite at ~/.tokenid/data.db. Point any Anthropic or OpenAI client at the proxy and your usage shows up in the dashboard in real time — no account required to start, and one click in the dashboard upgrades you to the hosted plan when you outgrow local.
Install
First run
tokenid start
The first time you start the app it asks for your email and opens a verification link. Click it once and the local license is saved to ~/.tokenid/license.json. From then on, tokenid start boots straight into the proxy and dashboard.
After verification, the dashboard is at http://localhost:7878. The proxy listens on 127.0.0.1:8080.
| Command | What it does |
|---|---|
tokenid start |
Proxy + dashboard |
tokenid proxy |
Proxy only — headless servers, CI, containers |
tokenid version |
Print build version |
Capture usage — no SDK swap
Point your existing LLM client at the local proxy. One env var, no code changes.
# Anthropic — any client, including Claude Code
ANTHROPIC_BASE_URL=http://127.0.0.1:8080 claude
# OpenAI
OPENAI_BASE_URL=http://127.0.0.1:8080 python my_app.py
Your upstream API key (ANTHROPIC_API_KEY, OPENAI_API_KEY, …) is forwarded to the provider unchanged. The proxy parses request and response bodies, records cost and token counts to SQLite, and streams a live event onto the dashboard.
Environment variables
| Variable | Default | Purpose |
|---|---|---|
TOKENID_PROXY_ADDR |
127.0.0.1:8080 |
Proxy listen address |
TOKENID_REPORT_ADDR |
127.0.0.1:7878 |
Dashboard listen address |
TOKENID_DB_PATH |
~/.tokenid/data.db |
SQLite database location |
TOKENID_BACKEND_URL |
https://token-api.audit.id |
Backend used for license verification and (when upgraded) cloud sync |
To bind on a non-loopback interface — only inside an isolated container, never on a shared host — set TOKENID_ALLOW_NONLOOPBACK_PROXY=1.
Upgrade to hosted
The free local app captures and stores everything on your machine — zero cloud round-trips, full SQLite ownership. Upgrade to the hosted plan when you need any of:
- Multi-developer rollups, team and per-project attribution
- Budget caps and policy controls that fire alerts before spend lands
- Signed Merkle audit trails for compliance and auditor handoff
- Long-term retention beyond what your laptop can hold
- Slack / webhook alerts and scheduled PDF reports
Click Upgrade in the dashboard nav. The local app opens token.audit.id/upgrade for Stripe checkout. After payment, your existing local events keep flowing to SQLite and also mirror to your hosted account — no migration step, no re-instrumentation.