Claude Code usage monitors: 5 tools compared, and what each is best for

No one monitor is best; each answers a different question. Read on 20 October 2026: ccusage for reports on demand, Claude-Code-Usage-Monitor for the five-hour window live in a terminal, CodexBar for limits in the Mac menu bar, Caprock for a desktop app that runs your agents and shows every session's cost per repository, tokscale for many agents in one view.

Dmitriy Solodukha · checked against Caprock v0.140.1

tools compared, all free and open source
5
tools compared, all free and open source
MIT or Apache-2.0
read more agents than Claude Code
4
read more agents than Claude Code
all but Claude-Code-Usage-Monitor
keep their own Claude Code record past the cleanup
2
keep their own Claude Code record past the cleanup
Caprock; Claude-Code-Usage-Monitor, opt-in
until Claude Code deletes a transcript
30 days
until Claude Code deletes a transcript
the default cleanup

From each tool's README and Claude Code's docs, read 20 October 2026.

Before you install anything

The built-in way: /usage

Inside Claude Code, /usage shows this session's tokens, a cost estimate at list price and, on Pro and Max, how much of the five-hour and weekly windows you have used. Its breakdown reaches back 7 days at most.

On an API key, the Claude Console's usage page is the bill. Every step, and which number is your bill on each plan, is in how to check Claude Code usage. The tools below are for what /usage does not keep: past sessions, projects, and more than one agent.

Usage monitors and trackers

Claude Code usage monitors, side by side

Every cell is from the tool's own README. No scores: the right one depends on the question you are asking.

Claude Code usage monitors and what each covers, from their READMEs, read 20 October 2026
ToolRuns asLive or on demandPlan windowsCost in $AgentsHistory past 30 daysPlatformsLicence
/usage (built in)a screen in Claude Codeon demand5-hour, weeklyestimateClaude Codebreakdown up to 7 dayswherever Claude Code runs—
ccusageCLI, via npxon demand; status line (beta)5-hour, estimatedlist price18 sourceswhat is on diskmacOS, Linux, WindowsMIT
Claude-Code-Usage-Monitorterminal UIlive5-hour; weekly from status linelist priceClaude Codeopt-in, 365 daysmacOS, Linux, WindowsMIT
CodexBarmenu bar applivesession, weekly, monthlylocal cost scan106 providersquota snapshotsmacOS 14+, LinuxMIT
Caprockdesktop app, or headlesslive5-hour, 7-daylist price, per repo6 agentskept, searchablemacOS, Linux, WindowsApache-2.0
tokscaleterminal UI, via npxon demand; auto-refresh option5-hour, weeklylist price60 clientswhat is on diskmacOS, Linux, WindowsMIT
“List price” is tokens priced at API rates: not what Pro or Max bills. “Estimated” means worked out from transcripts rather than read from Claude Code. Agents and providers are as each README lists them; CodexBar's are mostly providers, not coding agents. Caprock reads Gemini CLI only in sessions it starts.

1 of 5

1. ccusage

Best for: A report when you ask for one, with nothing left running.

github.com/ccusage/ccusage · README read 20 October 2026

What it shows

  • Daily, weekly, monthly and per-session tables of tokens and dollars, cache reads and writes counted separately.
  • Claude Code's five-hour blocks, with the burn rate and a projection for the active one.
  • Claude Code per project with --instances; JSON output for scripts.
  • Eighteen agents in one report: Claude Code, Codex, OpenCode, Gemini CLI, Copilot CLI and more.

Limits

  • The full-screen live monitor was removed in v18; for real-time figures it offers a status-line command (beta).
  • The five-hour blocks are worked out from your transcripts, not read from Claude Code.
  • Shows only what is still on disk, so 30 days of Claude Code by default.
  1. 1

    Daily report for every agent it finds

  2. 2

    Claude Code's five-hour blocks

2 of 5

2. Claude-Code-Usage-Monitor

Best for: Watching the current five-hour window in a terminal.

github.com/Maciek-roboblog/Claude-Code-Usage-Monitor · README read 20 October 2026

What it shows

  • A live view of the current window: tokens, messages, cost, burn rate and when you will run out.
  • The official five-hour and seven-day figures once it is installed as the status line, labelled as official.
  • Daily and monthly tables, and an opt-in warehouse that keeps history past the 30-day cleanup.

Limits

  • Claude Code only.
  • Without the status-line hook, the window is its own estimate from your recent sessions; the weekly figure needs the hook.
  • Needs Python 3.9 or later, and its terminal open to stay live.
  1. 1

    Install

  2. 2

    Run the live view

3 of 5

3. CodexBar

Best for: Plan limits for every provider you pay for, always in view on a Mac.

github.com/steipete/CodexBar · README read 20 October 2026

What it shows

  • Claude's session and weekly windows with a countdown to each reset, in the menu bar.
  • The same for Codex, Cursor, Gemini, Copilot and dozens of other providers, one icon each or merged.
  • A local cost scan of Claude Code and Codex, and notifications as a window fills.

Limits

  • macOS 14 or later; Linux has a desktop app; Windows only through community ports.
  • Built around limits and spend, not a feed of what a session is doing.
  • Some providers read browser cookies or the Keychain, which macOS asks you to allow.
  1. 1

    Install the macOS app

4 of 5

4. Caprock

Best for: Running your agents and watching every session in one app, with cost per repository and a record that outlasts the 30-day cleanup.

github.com/dspv/caprock · README read 20 October 2026

What it shows

  • A desktop app for macOS, Windows and Linux that runs Claude Code, Codex, OpenCode and Gemini CLI in terminal tabs and split panes per project, with the sessions waiting on you first.
  • Every Claude Code session on the machine as it runs, including the ones you start in your own terminal: what it is doing, tokens and cost.
  • Codex, OpenCode, DeepSeek Harness and Hermes Agent on the same screens, and the Gemini CLI sessions it starts.
  • Cost per repository, and per directory inside a monorepo, for today, 7 days, 30 days or everything recorded.
  • Alerts for loops, errors and sessions waiting for you.
  • History kept past Claude Code's 30-day cleanup, with what Claude wrote searchable across sessions.
  • The five-hour and seven-day windows, once its status line is installed.

Limits

  • A daemon runs in the background — the app starts it, and it keeps running when you quit the app — and it adds a hook to Claude Code's settings (it asks first).
  • This machine only; it does not read Cursor or Copilot.
  • Dollars are at list price, not your bill.

Free, Apache-2.0, macOS, Windows and Linux

Download for Mac

Notarized by Apple. One file for Apple silicon and Intel, macOS 13 or later.

Or run it yourself:

curl -fsSL https://caprock.dev/mac.sh | sh

Paste in Terminal: it installs Caprock and opens it.Or with Homebrew: brew install --cask dspv/tap/caprock-app

  1. 1

    Or install the Mac app from Terminal

The Cost screen: cost per model, per kind of work and per repository, and the plan windows. Example figures from a demo week.
The app: agents in tabs, a terminal, and the session's cost in the agent cockpit. A replayed real Caprock session; example figures.

5 of 5

5. tokscale

Best for: One view of many coding agents, by model, project and day.

github.com/junhoyeo/tokscale · README read 20 October 2026

What it shows

  • A terminal UI with ten views: models, daily, hourly, monthly, sessions, projects and more.
  • Usage from 60 clients, Claude Code among them, priced from LiteLLM's table.
  • Claude's five-hour and weekly quotas, as Anthropic reports them.
  • A contribution graph, and an optional public profile and leaderboard.

Limits

  • Reads what is on disk; its README suggests raising Claude Code's cleanup setting so nothing is lost.
  • Its social side is a public leaderboard; your totals go there only if you run, or schedule, tokscale submit.
  • A table and a TUI, not a live feed of what a session is doing.
  1. 1

    Open the interactive view

  2. 2

    Subscription quotas, Claude's included

Decide

Which one should you use

Pick by the question. Most read the same files on disk, so two can run side by side.

Which Claude Code usage monitor fits which need, read 20 October 2026
If you wantUse
Today's figure, inside a session/usage (built in)
A report now and then, nothing installedccusage
The five-hour window, live in a terminalClaude-Code-Usage-Monitor
Limits for every provider in the Mac menu barCodexBar
Run your agents, and every session's cost per repoCaprock
Many agents in one terminal viewtokscale

Looking for an app to run several agents in, rather than a monitor? Caprock, Orca, Conductor and the official apps are compared in desktop apps for coding agents, and the open-source GUIs in Claude Code GUI.

The full guide

Usage monitors, step by step

Every tool here reads what Claude Code already writes on your disk, or asks Anthropic for the same plan percentage /usage shows. None of them changes what Claude Code does. They differ in when they run, what they keep, and how many agents they read.

ccusage alternatives

ccusage prints a report when you ask for one, with nothing left running. Pick Claude-Code-Usage-Monitor to watch the five-hour window live in a terminal, with the official figure once it is your status line; CodexBar for plan limits from every provider you pay for, always in the Mac menu bar; tokscale for many coding agents in one terminal view, by model, project and day; Caprock for every session on the machine, whether or not it started it, with limits across subscriptions and cost per repository, kept past Claude Code's 30-day cleanup, in a free desktop app.

Where the numbers come from

There are three sources, and each tool picks one or more:

  • The transcripts. Claude Code writes every session to ~/.claude/projects/ as JSON lines, with token counts per call. ccusage, tokscale, Claude-Code-Usage-Monitor and Caprock read them. Tokens are exact; dollars are tokens times a price table, so they are list prices.
  • The status line. Claude Code passes the five-hour and seven-day windows to a status-line command on Pro and Max, as a percentage used and a reset time. Claude-Code-Usage-Monitor and Caprock can install themselves there to catch the official figure instead of estimating it.
  • The provider's own endpoint. CodexBar and tokscale's Usage view ask Anthropic for the plan windows through the OAuth login Claude Code already has. tokscale says it shows that response verbatim.

A five-hour window worked out from transcripts — ccusage's blocks report, Claude-Code-Usage-Monitor when the status-line figure is stale — is an estimate. It cannot see claude.ai or Claude Desktop, which draw from the same allowance.

Which number is your bill

None of the dollar figures is, on a subscription. Pro and Max bill the plan fee; every monitor here prices your tokens at API list price, which is what the same work would have cost on an API key. On an API key, the Claude Console's usage page is the bill and the monitors are a close local view of it. What each plan includes is in Claude Code pricing; how the windows reset is in Claude usage limits.

The 30-day cleanup

Claude Code deletes transcripts after 30 days by default (cleanupPeriodDays in its settings). A tool that only reads transcripts can only show what is still on disk:

  • ccusage and tokscale read what is there. tokscale's README suggests raising cleanupPeriodDays so nothing is lost, and can restore older usage from an export you kept.
  • Claude-Code-Usage-Monitor keeps an opt-in local warehouse with --warehouse: records by project, model and day, 365 days by default.
  • Caprock stores what it reads in its own database, so a session stays on its screens after Claude Code has removed the file, and the text of it stays searchable.

More on where the files live is in Claude Code history.

Privacy

All five run on your machine and read local files. None sends your usage anywhere unless you ask, but some reach the network for other things: ccusage and tokscale fetch LiteLLM's price table, CodexBar and tokscale read quota data from Anthropic, and CodexBar polls provider status pages. tokscale's submit (or its scheduled autosubmit) sends your totals to its public leaderboard, and CodexBar reads browser cookies for web-only providers once you enable them. Caprock makes no outbound call unless you turn one on; its database holds your prompts and tool output, so treat it like your shell history.

What none of them show

  • An absolute token ceiling. Claude Code reports a percentage used, not a limit in tokens. A monitor that shows "x of y tokens" for Pro or Max has estimated y; Claude-Code-Usage-Monitor labels which of its figures are official and which are estimates.
  • Other machines. Each tool sees the computer it runs on. A laptop and a desktop are two separate records.
  • A team's collector. All five read one machine. Claude Code can also export metrics to an OpenTelemetry backend you run, per user and, opted in, per repository: Claude Code OpenTelemetry.
  • Cursor or Copilot in Caprock. Caprock reads Claude Code, Codex, OpenCode, DeepSeek Harness and Hermes Agent, and Gemini CLI sessions it starts. ccusage, CodexBar and tokscale cover far more agents and providers.

If you only need today's figure inside a session, you do not need any of them: how to check Claude Code usage covers /usage, the Console and the status line.

Questions people ask

What is the best Claude Code usage monitor?
It depends on the question. ccusage for reports on demand, Claude-Code-Usage-Monitor for a live view of the five-hour window, CodexBar for limits in the macOS menu bar, Caprock for every session on the machine whichever terminal started it, with limits across subscriptions and cost per repository, tokscale for many agents in one terminal view.
Is there a free alternative to ccusage?
All five tools here are free and open source. tokscale is the closest in shape, a terminal view run through npx; Claude-Code-Usage-Monitor and Caprock stay open and update live; ccusage's real-time view is now a status line.
Is there a Claude Code dashboard?
Not in Claude Code itself: /usage is a screen inside a session. Caprock is a free desktop app that records every session on the machine and shows them live, in the app or in a browser on your own machine; tokscale has a terminal UI and a web contribution graph.
Do Claude Code usage monitors show my real bill?
No. They price tokens at API list price, which on Pro or Max is not what you pay. On an API key the Claude Console's usage page is the bill.
How do I keep Claude Code usage history past 30 days?
Claude Code deletes transcripts after 30 days by default. Raise cleanupPeriodDays in its settings, or use a tool that keeps its own record: Caprock, or Claude-Code-Usage-Monitor with --warehouse.
Do these tools send my usage anywhere?
None sends your usage anywhere unless you ask, though some fetch prices or quota data from the network. tokscale can submit your totals to a public leaderboard if you run or schedule its submit; CodexBar reads browser cookies for some providers only when you opt in.

Sources