Burnmeter

Guide

ccusage Commands for Claude Code Costs: daily, blocks and session

The ccusage commands that show what your Claude Code usage would cost at API prices, and how to read the JSON.

Prices last checked 2026-11-09. Independent comparison; not affiliated with any vendor named.

The three commands worth knowing

npx ccusage@latest daily --json: one entry per day with tokens, cost and a per-model breakdown. The best input for a plan recommendation.

npx ccusage@latest blocks --json: usage grouped into 5-hour windows, the same windows Claude’s session limits use. Good for seeing when you would hit a limit.

npx ccusage@latest session --json: one entry per conversation, to find the sessions that cost the most.

Where the data comes from

ccusage reads the JSONL logs Claude Code writes under ~/.claude/projects, one file per session. Everything stays on your machine.

From JSON to a decision

Paste the JSON into Burnmeter’s Claude Code tab. It re-prices every model with the current table and compares Claude Pro, Max and Ultra against the API and Cursor’s plans.

Quick calculator

Estimate

About $0.93 per active hour, so $78.12/mo at list price.

  • Claude Pro Cheapest $20.00
  • Pay-as-you-go API $78.12
  • Cursor Plus Can't run this model$86.12
  • Claude Max $100
  • Cursor Premium $108
  • Cursor Super $178
  • Claude Ultra $200
  • Cursor Ultra $278

Assumes about 2.2M tokens per active hour, mostly cache reads, which is typical for agent sessions. Your real mix can be very different: drop your own export for exact numbers.

FAQ

Is ccusage’s cost what I pay?

It is the API-equivalent cost. On a Claude subscription you pay the plan price until you hit its limits.

Can I limit the date range?

Yes: add --since 20261001 (and --until) to any command.

Related

What does your AI coding cost?

Drop your Cursor CSV or ccusage output. It's read in your browser and takes under a minute.

Analyze my usage free