Claude Code doesn’t show a running total on screen, and if you use it all day it’s easy to lose track. Here are the ways to check, from quickest to most complete.
1. Inside Claude Code
Claude Code has slash commands for this. Type /cost in a session to see the tokens and cost so far for that session. Recent versions also have /usage, which shows how you’re tracking against your plan’s limits if you’re on a subscription. These are the quickest checks, with nothing to install.
The catch: they cover the session or plan you’re in, not a history of every day.
2. Your Claude account
If you use Claude Code with a Claude subscription, your account’s usage settings on the Claude website show how much of your plan’s limits you’ve used. If you use an API key, the Anthropic Console shows your API spend.
3. ccusage, for daily and monthly reports
ccusage is a popular open-source command-line tool that reads Claude Code’s logs on your Mac and prints reports. In Terminal:
npx ccusage
That shows a day-by-day table. npx ccusage monthly shows monthly totals. It runs on your Mac and estimates cost at public API prices.
4. In the MacBook notch
NotchMind, which I make, puts this in the notch so you don’t have to ask.
- The AI Usage page on Home shows how many tokens Claude Code has used today and over the last 30 days. Switch it to Codex from the same menu.
- While Claude Code works, the notch shows the task, its latest steps and the lines it changed, and tells you when it’s done and waiting for you.
Both read the session logs Claude Code keeps in ~/.claude on your Mac. There’s no API key to enter and nothing is sent anywhere. See AI usage and coding agents in the notch.
Why the numbers can differ
Every tool that reads local logs is estimating. Your real bill or plan usage comes from Anthropic, and can differ if you also use Claude Code on another computer, in the cloud, or through other tools. Use the local numbers to spot trends, and your account for anything that matters for billing.
NotchMind