aicodecost

How to check your Claude Code usage and cost

Updated October 13, 2026

Type /usage inside Claude Code to see your plan's usage bars, or run npx ccusage@latest in a terminal for a day-by-day cost report from your local logs. Then enter your monthly total below to see which plan fits.

Inside Claude Code
/usage
Free cost report
ccusage
API accounts
Console usage page

Three ways to see your usage

Ways to check Claude Code usage
ToolWhat it showsBest for
/usage in Claude CodePlan usage bars, activity, and what used your plan (last 24 hours or 7 days)Pro, Max and Team subscribers
ccusageCost per day, week, month, session and 5-hour block, at API pricesAnyone, especially to compare plans
Claude ConsoleBilled API usage and spendAPI key users

1. The /usage command

Inside Claude Code, type /usage. On Pro, Max, Team and Enterprise you see your plan usage bars and a breakdown of what used them: skills, subagents, plugins and MCP servers, plus flags for costly habits like very long context. Press d or w to switch between the last day and the last week.

The dollar figure in the Session block is for API users. On a subscription, your usage is included, so that number is a reference, not a bill. The breakdown only counts usage on that computer.

2. ccusage (free, open source)

ccusage is a free, MIT-licensed tool that reads Claude Code's local log files and prices them at API rates. You need Node.js. In a terminal, run:

npx ccusage@latest

It shows a table of cost per day. Use npx ccusage@latest claude daily to see only Claude Code. It also has weekly, monthly and session reports, and a blocks report that follows Claude Code's 5-hour windows. ccusage is made by an independent developer, not Anthropic.

3. The Claude Console (API users)

If you use Claude Code with an API key, your real bill is on the Console usage page. Team and Enterprise admins also get a spend report with estimated spend per person and per model.

Turn your number into a plan

$

Use the monthly total from ccusage, or roughly 4x a weekly total.

  • Pro

    $20 a month

    You would hit limits

    2.4x the plan's limit

  • Max 5xBest fit

    $100 a month

    Room to spare

    Fills 48% of the plan

  • Max 20x

    $200 a month

    Room to spare

    Fills 12% of the plan

We estimate Pro covers about $125 a month at API rates, Max 5x about $625 and Max 20x about $2,500. For scale, the heavy user we measured spent $1,497 in a month at API rates on Max 20x ($200) and almost never hit a limit.

Do not have a number yet? Estimate it from how you work.

Common questions

How do I see my Claude Code usage?
Type /usage inside Claude Code. For a cost report over days or months, run npx ccusage@latest in a terminal.
Is ccusage made by Anthropic?
No. It is a free, open-source tool by an independent developer that reads Claude Code's local logs.
Does /usage show my bill?
On a subscription, no. Your usage is included in the plan. The dollar figure is what the same usage would cost at API rates.

Sources