Local-first · Native macOS menu bar

Know every AI
token you burn.

TokenBar reads your AI coding logs on-device and lays your spend bare across 25+ agents — Claude Code, Codex, Cursor, OpenCode and more. Native Swift, dressed in Liquid Glass. No telemetry, no account. Just the numbers.

View on GitHub

25+ agents · 7 lenses · 160 fps 3D · 0 telemetry

The TokenBar popover: token usage dashboard with agent limits and live pace

Native Swift · Liquid Glass

Rebuilt in Swift.
Dressed in Liquid Glass.

This is TokenBar — since v1.0.0 the app is a ground-up native rewrite. Same dashboard, same numbers as the original, now with the system’s own glass, springs, and speed.

The native TokenBar popover rendered in Liquid Glass over the desktop wallpaper
  • 100% native Swift shell

    SwiftUI + AppKit around a Rust core — no webview. The popover opens instantly and feels like part of the OS, because it is.

  • Liquid Glass, for real

    On macOS 26 the dashboard renders as Liquid Glass cards floating over your wallpaper — the real system material, not a CSS imitation. Earlier systems get a vibrancy fallback.

  • SceneKit 3D at 160 fps

    The year-at-a-glance contribution terrain is a real 3D scene you orbit and zoom — camera position remembered across opens.

  • Sparkle updates, AI-written notes

    In-app updates arrive over a signed Sparkle feed, with release notes summarized from the actual commits. Beta channel is one Settings toggle away.

oiiai cat from tokcat, Party Parrot from RunCat. Hover to feed them tokens.

A gauge, not a mascot

The cat spins faster
the more you burn.

Your token throughput as a single glanceable critter: idle when nothing's flowing, whirling when Claude Code is mid-refactor. One look at the menu bar tells you how fast the meter is running — no window required.

The menu-bar pet, a critter that animates faster the harder you work it, is the invention of RunCat by Takuto Nakamura, and Party Parrot comes from there too. tokcat by handlecusion brought the idea to token tracking and made the oiiai spinning cat its signature. TokenBar began as a tokcat fork and reuses both, kept with gratitude.

The menu bar is the dashboard

Your quota,
melting in real time.

The status item can gauge what's left of your subscription window — as signal bars, a ring, or a popsicle that melts as your five-hour window drains. Battery-style colors kick in when it matters: amber under 25%, red under 10%. Right-click picks which subscription it tracks.

drawn live on a 16px grid · same geometry as the app

signal bars
melting popsicle
ring gauge

One popover, seven lenses

App tabs filter who. The view switch picks how.

Pick which agents you’re looking at, then choose how to break them down — a multi-view dashboard modeled on tokscale’s TUI, lenses and columns and all.

TokenBar Overview view

Overview

The whole picture — contribution chart, agent limits with pace, live session, model breakdown, streaks.

TokenBar Models view

Models

Every model ranked by cost, with its share and a dim In · Out · CR · CW split.

TokenBar Monthly view

Monthly

Active months newest-first — select one to drill into that month’s per-model spend.

TokenBar Daily view

Daily

Active days newest-first — select one to drill into that day’s per-model spend.

TokenBar Hourly view

Hourly

A 24-hour-of-day rhythm: when in the day your tokens actually get spent.

TokenBar Stats view

Stats

Headline summary — total spend, active days, streaks, favorite model, best day.

TokenBar Agents view

Agents

Sub-agents ranked by cost, with their source apps, message count, and tokens.

TokenBar interactive 3D contribution graph

3D contribution graph

The same year of usage as an interactive GitHub-style tile terrain — orbit it, and the stacked 2D bars are one toggle away. Tokens stack by model (provider shades) or by agent (brand colors), in tokens or dollars.

Local-first by construction

Your spend stays on your Mac.

TokenBar is built so the honest answer to “where does my data go?” is: nowhere.

01

Reads on-device

Usage comes from the session logs already on your disk. Nothing is uploaded, nothing is mined — the parse happens locally via the vendored tokscale-core.

02

No telemetry, no account

No analytics, no sign-up, no cloud sync. TokenBar never phones home with what you do or what you spend.

03

Every request, disclosed

Network access: the signed updater feed, public model-pricing data, and — only when you have local Codex/Claude OAuth credentials — direct vendor quota lookups for the limit cards. No third parties, ever.

Two minutes, Apple Silicon

One command. The cat moves in.

TokenBar installs through Homebrew for Apple Silicon Macs on macOS 14+. The fully-qualified cask auto-taps, so there is no separate brew tap step.

TokenBar

Native Swift · macOS 14+

The shipping app. In-app updates arrive over a signed Sparkle feed and are verified before install; beta builds are an in-app Settings toggle, not a separate cask.

$ brew install --cask nanako0129/tokenbar/tokenbar

Still on an older Mac? tokenbar@legacy pins the final Tauri build (v0.4.5, macOS 11+) — the legacy repo is archived but the cask stays. Building from source? Swift 6 + Rust, Command Line Tools are enough.

Questions

Good to know.

The short answers most people want before installing.

What exactly is TokenBar?

A free, open-source native macOS menu-bar app that reads your local AI coding session logs and shows what you’re spending — across a contribution graph, per-model and per-agent breakdowns, monthly, daily, and hourly views, and live throughput. No CLI to run, no account.

Which AI coding tools does it track?

25+ agents from their local logs — Claude Code, Codex CLI, Cursor, OpenCode, Gemini CLI, Copilot CLI, Amp, Droid, Hermes, Goose, Kilo/KiloCode, Roo Code, Qwen, Kimi, Crush, Zed, Kiro, Trae, Warp and more. Parsing is handled by the vendored tokscale-core, so coverage tracks tokscale.

Does it cost anything?

No. TokenBar is MIT-licensed and free — no subscription, no paid tier, no telemetry.

What happened to the original (Tauri) app?

TokenBar began as a Tauri fork of tokcat. With v1.0.0 (June 2026) it was replaced by a ground-up Swift rewrite around the same Rust parsing core — the `tokenbar` cask now installs the native app, and the Tauri repository is archived. A `tokenbar@legacy` cask pins the final Tauri build (v0.4.5) for macOS 11+.

How do updates work?

In-app, over a signed Sparkle feed — each release is signature-verified before install, with release notes summarized from the actual commits. Want beta builds? It’s a toggle in Settings, not a separate install.

Where does my data go?

Nowhere. Usage history is read locally from disk. Network requests are limited to the signed updater feed, public model-pricing data, and optional Codex/Claude quota lookups using the OAuth credentials already on your machine — that’s what powers the menu-bar quota gauge and the agent limit cards.

Intel Mac or Windows?

TokenBar targets Apple Silicon (arm64) on macOS 14+; Liquid Glass needs macOS 26, earlier systems get a vibrancy fallback. The legacy Tauri build covers macOS 11+. There’s no Intel, Windows, or Linux build.

How do I uninstall it?

brew uninstall --cask tokenbar.

Standing on shoulders

Built on great open source.

TokenBar wouldn’t exist without these projects — thank you to their maintainers.