← Claude Code Hub
Apr 13, 2026 · 8 min read ✦ Tip #046

See Token Usage in Claude Code: /usage, /stats and How Many Tokens You Have Left

What you have left in Claude is a percentage of your plan, not a token count. Where to see it in the app and in Claude Code with /usage, and what changes when you type /stats or /cost.

Three commands for full token visibility in Claude Code

TL;DR /usage tells you how much of your plan is left, where it went, and when it resets. /stats and /cost are not other commands: they are aliases of that one and open the same screen, though in fullscreen on a subscription /cost starts with the session cost. If what you want is the breakdown of the session you have open right now, that one is genuinely different: /context.

Update, November 17, 2026: since v2.1.326, in fullscreen on a subscription, /usage starts with your plan bars and /cost still starts with the session cost. They are still one command, but they no longer open the same way.

Update, November 13, 2026: Since v2.1.323, /usage no longer says sessions ran eight hours: the row is called Review sessions active over many hours and counts the separate hours with requests. The subagent one is called Check which models your subagents use and warns that its share covers whole sessions. I updated the example.

Update, November 1, 2026: The attribution block in /usage no longer gives bare percentages like "95% of your usage was at >150k context": each warning is now a one-line fix that names its source, and f applies it in the interactive screen. I redid the example in the current format.

What you have left in Claude isn't measured in tokens but as a percentage of your plan. On the web and in the desktop app, it's under Settings > Usage. In Claude Code, type /usage: it shows how much of your 5-hour session and your week you've used, and when each one resets.

One more thing that puts everything else in order: /usage, /cost and /stats are the same command. Claude Code's own code declares it without ambiguity:

{ name: "usage", aliases: ["cost", "stats"],
  description: "Show session cost, plan usage, and what's contributing to your limits" }

There is no /stats dashboard separate from the /usage gauge: there is one screen with several sections. What the name you type changes is where it starts. Since v2.1.326, in fullscreen on a subscription, /usage opens on your plan bars and /cost on the session cost.

What it actually tells you

You can read it without opening the interface, and that way you get both windows at once:

$ claude -p "/usage"

You are currently using your subscription to power your Claude Code usage

Current session: 14% used · resets Aug 16 at 9:20pm (Europe/Madrid)
Current week (all models): 29% used · resets Aug 20 at 8pm (Europe/Madrid)
Current week (Fable): 29% used · resets Aug 20 at 8pm (Europe/Madrid)

What's contributing to your usage?
Approximate · sessions on this machine only · shares overlap

Last 24h · 317 requests · 6 sessions
  95%  Start fresh when you switch tasks · run /clear
  18%  Turn off wmedia when you don't need it
  Top skills: /artifact-diagramming 8%, /claude-code-tip 7%, /linkedin-daily 7%
  Top MCP servers: wmedia 18%

Last 7d · 1566 requests · 15 sessions
  87%  Start fresh when you switch tasks · run /clear
  59%  Review sessions active over many hours · whole sessions with requests in 8 or more separate hours
  37%  Check which models your subagents use · share covers whole sessions, not only subagents
  Top MCP servers: wmedia 9%, plugin:chrome-devtools-mcp:chrome-devtools 7%

The bars are from my machine, untouched. The block below them is illustrative: my figures from then in the format the current version prints, which since v2.1.305 swaps bare percentages for fixes. Three things worth reading properly:

The three bars are different windows. The session one is a rolling five hours. The weekly one is what locks you out for days. And the third is specific to the model you use, so switching with /model does not hand your session back: how the two limits actually work. What each plan includes with Fable 5.2, and until when, is in its launch tip. And if Fable asks for usage credits on Pro, this is what it bills and when.

The attribution block names the culprit, and hands you the fix: each line is a percentage, what caused it (a skill, a subagent, a plugin, an MCP server or a habit of yours) and what to do, sometimes with the command next to it. In the interactive screen, f applies the fixes, and the same ones show up in VS Code and in /doctor. It is the part of the screen you can act on directly: which skill and which MCP are eating your limit.

And inside that block sit two lines nobody reads together: Start fresh when you switch tasks, which shows up when much of your usage ran above 150k of context, and Review sessions active over many hours, which shows up when sessions with requests in eight or more separate hours weigh in. Those are not two warnings, they are the same one from both sides: whatever fills the context gets re-sent on every turn, and a session that keeps working across eight hours is a lot of turns.

The dollar figure is for API users. On Pro or Max your usage is included in the subscription and that number bills nothing. Claude Code computes it locally at list rates, so it reflects no discounts and will not match your real invoice.

That same block does carry something everyone can use, on the line right under the per-model breakdown: Prompt cache (main) tells you what share of your input came from cache, how many misses you have, and what caused them. That part does not depend on how you pay.

Does looking at it cost tokens?

This tip used to get this wrong, and here is the correction: it said no, and the right answer is a little yes. The official docs file it under background consumption:

Command processing: Some commands like /usage may generate requests to check status

We are talking about pennies, typically under $0.04 per session counting everything Claude Code does in the background. That is no reason to stop looking. But "zero" was false, and in a tip about measuring consumption that word matters.

The one that is genuinely free is /clear. The one that is very much not is /compact, because summarizing the conversation means reading all of it.

How to use it

1. Both windows at once, without the interface

claude -p "/usage"

It prints the 24 hours and the 7 days back to back, with the request and session count for each. The interactive screen always opens on the last 24 hours and you have to press w for the week.

2. The interactive screen

> /usage

Or /stats, or /cost, which in fullscreen on a subscription starts with the session cost. Inside, d and w switch between day and week, f applies the fixes from the attribution block (the footer tells you how many, as in f to fix 2 of 4), and r retries when the limits request fails (which happens when the usage endpoint is rate limited: you will see Showing last-known usage with data up to an hour old).

3. Move it to your status line

To avoid running it every time, put it in your status line and it sits in front of you without typing anything.

4. And /context for the session you are in

> /context

This one really is a different command, answering a different question. /usage is your plan; /context is this conversation: how much the system prompt, tools, MCP servers and messages take up inside the window of whichever model you have selected.

Reference

Command What it is What it shows
/usage The command Plan bars, attribution with its fix, activity, and session cost for API users
/stats Alias of /usage The same screen
/cost Alias of /usage The same screen, cache line included; in fullscreen on a subscription it starts with cost
/context Its own command Context window breakdown for the current session
/insights Its own command HTML report on how you work, not how much you spend. This one really does cost tokens

When to use which

Situation Command
"Am I about to hit my limit?" /usage
"Who is eating my quota this week?" /usage, the 7-day block
"Is my cache working, and if not, why?" /cost, the Prompt cache (main) line
"What's eating my context window right now?" /context
"How do I work, and where do I get stuck?" /insights

Official docs: Commands reference | Manage costs effectively

Related tips: Monitor context with /context | 10 habits to save tokens | Why a session burns so many tokens | Choose the right model | Prompt caching | What broke your cache, according to /cost | The Agent SDK credit that was announced and cancelled | How your usage limits actually work (5h + weekly) | Your limit always in the status line

Found this useful? See more of wmedia.es in your Google results.

Add wmedia.es as a preferred source on Google
FREE GUIDE

You don't need Opus every time.

Model and effort are two settings, not one. 8 pages with the settings that actually move your bill, a three-question diagnostic for when something fails, and the price ladder.

  • 1. What "better" means capability, time and money
  • 2. Model who you send
  • 3. Effort how much rope you give
  • 4. Diagnostic three questions when something fails
  • 5. The bill where it comes from
Are you a professional Web developer?

You'll receive the guide by email · Unsubscribe anytime

of 8
#

Wmedia · 8 pages
FREE GUIDE · 8 pages · 2 dials

You don't need Opus every time.

Model and effort are two settings, not one. 8 pages with the settings that actually move your bill, a three-question diagnostic for when something fails, and the price ladder.

Are you a professional Web developer? · Unsubscribe anytime

Using Opus for everything? See when you don't need it.