🚀 Under Active Development

ttop for your AI costs

Real-time terminal monitoring of LLM token usage and spending across providers and coding agents.

$ brew install tokentopapp/tap/tokentop
tokentop dashboard showing real-time AI token usage and costs

Blind spots in your AI spending

You're coding with AI agents all day. Claude Code, OpenCode, Cursor — they're burning through tokens and you have no idea how fast. You check the Anthropic dashboard. It's hours behind. You check OpenAI. Different dashboard, different login. Want to see it all in one place? In real time? In your terminal, where you already live?

Scattered dashboards

Different login for every provider. Anthropic, OpenAI, Google — none talk to each other.

Hours behind

Provider billing dashboards update slowly. By the time you see the damage, it's done.

No spending limits

Most providers don't let you set daily caps. One runaway agent can burn through hundreds.

No local visibility

Your terminal is where you work. Why should cost monitoring live in a browser tab?

Everything you need to track AI spending

Built for developers who want granular control and visibility over their AI infrastructure costs.

⚡

Real-time Dashboard

Live token counts, costs, burn rate, and activity sparklines updating every second.

📜

Session Tracking

Every coding agent session logged with model, tokens, cost, and duration.

đŸ›Ąī¸

Budget Guardrails

Set daily, weekly, or monthly spending limits with visual warning indicators.

📊

Smart Sidebar

Break down spending by model, project, or agent type instantly.

🧠

Efficiency Insights

Analyze cache leverage, output verbosity, and cost-per-request metrics.

📈

Historical Trends

Visualize cost patterns over 7, 30, or 90 days with ASCII step charts.

đŸšĻ

Provider Limits

Monitor rate limits and quota usage with visual gauge indicators.

🎨

15 Built-in Themes

Tokyo Night, Dracula, Nord, Catppuccin, and more to match your terminal.

🧩

Plugin System

Extend with custom providers, agents, themes, and notification hooks.

🔧

Zero Config

Auto-discovers credentials from Claude Code, env vars, and CLI auth files.

See it in action

Watch tokentop monitor AI sessions in real-time.

Try it yourself — run ttop demo for a live preview with sample data.

Get started in seconds

Install with your favorite package manager.

Binaries ↗
â„šī¸ Recommended for macOS and Linux
$ brew install tokentopapp/tap/tokentop

Works with your stack

Supported Providers

Anthropic
OpenAI
Google Gemini
GitHub Copilot
Codex
Perplexity
Antigravity
MiniMax
Zai
OpenCode Zen

Supported Agents & CLIs

OpenCode
Claude Code
Cursor
Windsurf
Gemini CLI
Antigravity

+ Extend with custom plugins for any other provider

MIT License

Built in the open

tokentop is 100% open source. Join us in building the best terminal dashboard for AI engineering.

TypeScript Bun OpenTUI SQLite
Star the repo to follow progress