tokentop

module
v0.4.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2026 License: MIT

README

Tokentop

CI Release Go Report Card Go Version

A terminal dashboard for monitoring your API usage in real time. Supports Claude Code, OpenAI Codex, and OpenRouter.

tokentop

Install

curl -fsSL https://raw.githubusercontent.com/lwlee2608/tokentop/main/install.sh | sh

Or build from source:

git clone https://github.com/lwlee2608/tokentop.git
cd tokentop
make install

Both methods install the binary to ~/.local/bin/tokentop. Override with PREFIX=/usr/local.

Prerequisites

  • Claude: An active Claude Code session — credentials are picked up automatically from the macOS Keychain (Claude Code-credentials) or ~/.claude/.credentials.json after you sign in with Claude Code.
  • Codex: An active Codex session with auth credentials at ~/.codex/auth.json (created automatically when you use Codex CLI).
  • OpenRouter: Set OPENROUTER_API_KEY environment variable. A management key is required for activity and credit details.

Documentation

License

MIT

Directories

Path Synopsis
cmd
tokentop command
internal
tui
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL