DeveloperMy blogs

Tokenomics: a local-first dashboard for AI coding tool usage

A native, offline desktop app that aggregates Claude Code, OpenCode, Cursor, and Copilot CLI usage into one cost and token dashboard, no cloud, no accounts, no telemetry.

2026-08-18

If you run more than one AI coding tool day to day, Claude Code for one project, Cursor for another, maybe OpenCode or Copilot CLI thrown in, you already know the annoying part: every tool tracks its own usage in its own place, and none of them add up to a picture of what you're actually spending or how much you're pushing through the model. Tokenomics is a small native desktop app that fixes that by reading the session data those tools already write to disk and turning it into one dashboard, entirely offline.

No account, no cloud sync, no telemetry call home. It scans local files, computes cost and token totals per model and per tool, and shows the numbers back to you in daily, weekly, and monthly views.

What it looks like

The Daily view centers on a rolling 5-hour window, useful for keeping an eye on the active session you're in right now, cost, token mix (input, output, cache), sessions, and a per-model breakdown table.

Tokenomics Daily view showing total cost, total tokens, average cost per session, session count, a 5-hour rolling token usage chart, and a per-model cost breakdown table
Daily view — 5-hour rolling window, token usage chart, and per-model cost breakdown.

Zoom out to Monthly and the same data rolls up across the current calendar month: cumulative spend and token trend lines side by side, daily token volume as a bar chart, and running totals for the month, cost, tokens, sessions, and average cost per session.

Tokenomics Monthly view showing total cost, total tokens, sessions this month, a monthly spend and token trend line chart, and a daily token volume bar chart across August
Monthly view — cumulative spend/token trend and daily token volume across the current month.

Why local-first mattered here

Cost and usage data is sensitive in a quiet way, it can reveal what you're working on, how much of it is AI-assisted, and what a client or employer is paying for. Routing that through a third-party service just to get a dashboard felt like the wrong tradeoff for something this simple. Tokenomics parses the session files that Claude Code, OpenCode, Cursor, and Copilot CLI already write locally, computes everything on device, and never opens a network connection to report usage anywhere.

Local-first, no telemetry

Parses session files already sitting on disk. Nothing gets uploaded, no account, no cloud dependency, no usage data leaving the machine.

Multi-tool aggregation

Scans Claude Code, OpenCode, Cursor, and GitHub Copilot CLI out of the box, and the scanning config extends to more tools without a rebuild.

Rolling and calendar windows

Daily view tracks a rolling 5-hour session window, Weekly rolls 7 days, Monthly tracks the current calendar month, each with per-model cost and token breakdowns.

Native, self-contained binary

Built on Tauri 2 with a Rust core, shipped as a signed-free installer for Windows and macOS. No runtime prerequisites to open the app.

Under the hood

Tokenomics is a Tauri 2 app: a Rust core (tokenomics-core) handles the file scanning and cost calculation, and a React 19 + TypeScript frontend renders the dashboards. That combination keeps the shipped binary small and self-contained, no bundled runtime, no background service, just an app you open when you want the numbers.

Frontend
React 19 + TypeScript, built with Vite
Backend
Rust, Tauri 2 (core scanning/cost logic in tokenomics-core)
Storage
Local JSON settings (e.g. %APPDATA%/tokenomics/settings.json on Windows)
Distribution
Windows installer (.exe) and macOS DMG, unsigned builds by design tradeoff
License
Apache 2.0

Trying it out

Pre-built installers are available for Windows and macOS, no prerequisite software needed to run them. Building from source needs Node.js 18+, the Rust toolchain, and the usual platform build tools, standard Tauri territory if you've built one of these apps before.

Claude Code OpenCode Cursor GitHub Copilot CLI Apache 2.0
← Back to blog