Claude Code usage
Tokenmeter
Claude Code token usage and cost dashboard. Cost per prompt, cache misses and usage limits for Claude Code, Codex and GitHub Copilot CLI, read from local logs. Zero dependencies, nothing leaves your machine.
Install
claude plugin marketplace add serkankorkut/tokenmeterFound in the project README. Check it for setup steps after installing.
git clone https://github.com/serkankorkut/tokenmeter.gitFrom the README
Tokenmeter is a free, open-source token usage and cost tracker for AI coding agents: Claude Code, OpenAI Codex CLI and GitHub Copilot CLI. It runs a local dashboard that shows how many tokens every prompt used, what it cost at API prices, how that compares with your Claude Pro, Claude Max or ChatGPT Plus plan, your cache hit rate and cache misses, and how close you are to your usage limits. Use it for token monitoring and token optimization: watch token usage live, see which prompts, models and projects burn the most tokens, and find what to change to reduce token usage and lower your AI coding costs. It flags cache misses, where a long conversation loses its prompt cache and gets re-sent at full price, and splits every cost into cached, fresh and output tokens so the expensive part is obvious. It reads the logs the agents already keep on your disk, so there is no API key, no proxy and no account, and nothing leaves your machine unless you ask for tips. Install it on macOS with Homebrew, or on Linux and Windows with pipx or uv. Zero dependencies: one Python file and one HTML file. It answers questions like: - How much does Claude Code cost me per day, per project or per prompt? - How many tokens did Claude Code, Codex or Copilot use this week? - Why did this prompt cost so much? Tokens are split into cached, fresh and output, with the math shown. - Am I close to my Codex 5-hour or weekly limit, and how much have I used in the last 5 hours? - How can I reduce Claude Code token usage? Start with the most expensive prompts and the cache misses. - Which model or project is eating my token budget? - Is my subscription worth it compared with API pricing? Website and docs: tokenmeter.fyi What you get - Live feed of every model turn from Claude Code, Codex and GitHub…
Details
- Repository
- serkankorkut/tokenmeter
- Website
- tokenmeter.fyi
- Language
- HTML
- License
- MIT
- Last updated
- 6 October 2026
- Topics
- anthropicccusage-alternativeclaudeclaude-codeclaude-code-usagecodexcopilot-clicost-trackingdashboarddeveloper-toolsgithub-copilotllm-cost
FAQ
What is Tokenmeter?
Claude Code token usage and cost dashboard. Cost per prompt, cache misses and usage limits for Claude Code, Codex and GitHub Copilot CLI, read from local logs. Zero dependencies, nothing leaves your machine. It is a usage for Claude Code, from serkankorkut/tokenmeter on GitHub.
How do I install Tokenmeter?
Run claude plugin marketplace add serkankorkut/tokenmeter, then follow the setup in the README.
Is Tokenmeter popular?
serkankorkut/tokenmeter has 29 GitHub stars and 0 forks. It was last updated on 6 October 2026.
More usage & cost trackers
Claudefree Installer
25BlackHatDevX/claudefree-installer
Open-source installer that automatically sets up Claude Code inside VS Code including VS Code, OpenCode, extensions and configure it for unlimited usage (free).
Claude Loop
26li0nel/claude-loop
Automation toolkit for running iterative Claude Code sessions with cost tracking and monitoring
Ccgauge
25chengzuopeng/ccgauge
Claude Code & Codex Dashboard — local web UI for Cluade & Codex token usage and cost. npx ccgauge
CC Probeline
12labzink/cc-probeline
See where it leaks, stop paying for it — a live Claude Code status line that prices every turn, your subagents, cache rebuilds, plus limits, context and git.
Llm Usage Dashboard
26iangithub/llm-usage-dashboard
一次看到 Codex (OpenAI) 與 Claude Code (Anthropic) 的訂閱用量、額度與花費的本機桌面儀表板。安裝: npx llm-usage-dashboard
Pacer
11EricAndrechek/Pacer
Native macOS app for tracking Claude Code usage — tokens, cost, rate-limit pacing, per-project breakdowns. SwiftUI + SwiftData.
Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.