{"slug": "how-to-track-claude-code-usage-in-2026-built-in-commands-ccusage-and-desktop", "title": "How to Track Claude Code Usage in 2026: Built-in Commands, ccusage, and Desktop Dashboards Compared", "summary": "A developer at Blume compared built-in Claude Code usage commands, the community CLI ccusage, the Claude Code Usage Monitor, and Blume's desktop dashboard for tracking usage on Pro and Max plans. The comparison highlights that built-in commands offer point-in-time checks, ccusage provides historical cost reports, the Usage Monitor gives live predictions, and Blume tracks multiple agents and suggests setup fixes.", "body_md": "If you use Claude Code on a Pro or Max plan, you have probably hit the wall mid-session: the 5-hour window runs out, or the weekly cap kicks in, usually right when the agent was in the middle of something important. The fix is not to code less. It is to see your usage before it becomes a problem.\n\nThis post covers every practical way to track Claude Code usage in 2026, from built-in commands to community CLIs to desktop dashboards, and when each one makes sense.\n\nDisclosure: I work on [Blume](https://blume.codes), one of the tools covered below. I have tried to keep the comparison factual so you can pick what fits.\n\n`/usage`\n\ninside Claude Code for your current session and weekly limits`/cost`\n\nto see running spend in the current session`npx ccusage@latest`\n\n`claude-monitor`\n\n)Now the details.\n\nClaude Code subscriptions enforce two overlapping limits:\n\nThis matters because the two limits fail differently. The 5-hour window surprises you in the afternoon. The weekly cap surprises you on a Thursday. A good tracking setup makes both visible.\n\nClaude Code ships with everything you need for a point-in-time check:\n\n`/usage`\n\nshows your current 5-hour window and weekly usage with reset times (subscription plans)`/cost`\n\nshows running API spend for the session (API key users)`/status`\n\nshows account and model details`/context`\n\nshows how full your context window isThere is also the Usage dashboard on claude.ai under Settings, which shows the session bar and weekly usage in a browser.\n\n**Good for:** quick checks before starting a long session.\n\n**The gap:** no history, no trends, no warning before you hit a limit, and nothing at all about what your agents are doing while you are away from the terminal.\n\n[ccusage](https://github.com/ccusage/ccusage) is the most widely used community tool. It reads the local JSONL logs that coding agents already write to disk and turns them into cost reports. No account, no telemetry, runs with a single command:\n\n```\nnpx ccusage@latest\n```\n\nWhat you get:\n\n**Good for:** understanding where your tokens went, especially across weeks or months.\n\n**The gap:** it is a report, not a monitor. You run it, read it, and close it. It will not tell you that your current session is on pace to hit the limit in 40 minutes.\n\n[Claude Code Usage Monitor](https://github.com/Maciek-roboblog/Claude-Code-Usage-Monitor) fills exactly that gap. Install it with `uv tool install claude-monitor`\n\n(or pip/pipx), run `claude-monitor`\n\n, and you get a live terminal dashboard with progress bars, burn-rate analysis, and predictions about when you will hit your limit.\n\nNotable features:\n\n**Good for:** heavy users who live inside the 5-hour window and want to pace themselves.\n\n**The gap:** it monitors Claude Code subscriptions only, and it monitors usage only. If you also run Codex or Cursor, or you care about what the agents are doing rather than just what they are spending, you need something broader.\n\n[Blume](https://blume.codes) approaches the problem from a different angle. Usage tracking is one part of it, but the premise is that usage is a symptom. The underlying question is whether your coding agents are set up correctly at all.\n\nBlume is a desktop app that sits alongside Claude Code, Codex, and Cursor and gives you:\n\n**Good for:** anyone running more than one agent, or anyone whose CLAUDE.md and hooks have grown past the point where they can eyeball whether the setup still makes sense.\n\n**The gap:** it is a desktop app, so if you want something scriptable in CI, ccusage's JSON export is the better fit.\n\n| Built-in commands | ccusage | Usage Monitor | Blume | |\n|---|---|---|---|---|\n| Interface | In-session | CLI report | Live terminal UI | Desktop app |\n| Real-time warnings | No | No | Yes | Yes |\n| Historical reports | No | Yes | Yes (opt-in) | Yes |\n| Tools covered | Claude Code | 15+ agent CLIs | Claude Code | Claude Code, Codex, Cursor |\n| Shows what agents are doing | No | No | No | Yes |\n| Suggests setup fixes | No | No | No | Yes |\n| Scriptable output | No | JSON | JSON/CSV | No |\n| Price | Included | Free, OSS | Free, OSS | Free to start |\n\n`/usage`\n\ncommand is enough.These are not mutually exclusive. A common stack is `/usage`\n\nfor quick checks, ccusage in a monthly review, and a desktop app running in the background for everything else.\n\n**Does Claude Code share limits with claude.ai chat?**\n\nYes. Subscription usage draws from one pool across Claude Code, claude.ai, and Cowork. A heavy chat session eats into your coding budget.\n\n**How do I see when my limit resets?**\n\nRun `/usage`\n\nin Claude Code, or check Settings > Usage on claude.ai. Both show reset times for the 5-hour window and the weekly cap.\n\n**Do these tools send my data anywhere?**\n\nccusage and Claude Code Usage Monitor read local log files and run entirely on your machine. Blume stores conversation history locally on your device.\n\n**What about tracking Codex or Cursor usage too?**\n\nccusage covers many agent CLIs for cost reports. Blume tracks Claude Code and Codex plan usage and monitors agent activity across Claude Code, Codex, and Cursor.\n\nIf you have a tracking setup that works well for you, I would genuinely like to hear about it in the comments, especially if you are juggling more than one agent.", "url": "https://wpnews.pro/news/how-to-track-claude-code-usage-in-2026-built-in-commands-ccusage-and-desktop", "canonical_source": "https://dev.to/pederaa/how-to-track-claude-code-usage-in-2026-built-in-commands-ccusage-and-desktop-dashboards-compared-1kk1", "published_at": "2026-08-05 13:42:37+00:00", "updated_at": "2026-08-05 14:03:27.097953+00:00", "lang": "en", "topics": ["developer-tools", "ai-tools", "ai-products"], "entities": ["Claude Code", "ccusage", "Claude Code Usage Monitor", "Blume", "Anthropic"], "alternates": {"html": "https://wpnews.pro/news/how-to-track-claude-code-usage-in-2026-built-in-commands-ccusage-and-desktop", "markdown": "https://wpnews.pro/news/how-to-track-claude-code-usage-in-2026-built-in-commands-ccusage-and-desktop.md", "text": "https://wpnews.pro/news/how-to-track-claude-code-usage-in-2026-built-in-commands-ccusage-and-desktop.txt", "jsonld": "https://wpnews.pro/news/how-to-track-claude-code-usage-in-2026-built-in-commands-ccusage-and-desktop.jsonld"}}