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.

29 starsUsage & cost trackers Plugin marketplace Source

Install

Install
claude plugin marketplace add serkankorkut/tokenmeter

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/serkankorkut/tokenmeter.git

From 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…
Read the full README on GitHub

Details

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

Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.