docs

Getting started

TokensLab is a desktop app. It reads Claude Code session logs from disk, prices every turn against Anthropic’s published rate card, and shows spend, models, projects and live sessions. Nothing leaves your machine.

1. Install

Download the installer for your OS from the download page. Files are public GitHub Releases. This beta ships Windows and Linux first; macOS follows this weekend after code signing.

Linux AppImage and --no-sandbox

An AppImage cannot ship Chromium’s SUID chrome-sandbox helper, so TokensLab turns that sandbox off itself on Linux. You should not need to pass a flag:

chmod +x TokensLab-linux.AppImage
./TokensLab-linux.AppImage

If an older file still exits with a sandbox error, run:

./TokensLab-linux.AppImage --no-sandbox

That flag disables Chromium’s process sandbox only. The app still never makes a network call and never leaves your machine.

2. Point it at your logs

The default watch folder is ~/.claude/projects. You can change it in Settings. TokensLab only reads files you already have.

3. Read the dashboard

Why the number is smaller than you expect

Claude Code records cache creation and cache reads separately. Cache reads dominate real logs and bill at a tenth of the base input rate. TokensLab keeps all five token classes separate. On 66 MB of local session files the naive total was $15,680.35; the cache-aware total was $3,123.97.

Download TokensLab