Track what a Claude Code session costs

·

source at e6da26c

·

MIT license

A band above the prompt shows what this session has cost so far, with plan-limit bars and the dollars turned into burritos and McDoubles.

What this mod can do

  • Reviewed at commit e6da26c
  • Sees each prompt you send and can change or drop it
3 more things it can do
  • Remembers data between sessions
  • Adds the /burn command
  • Runs on a timer
Good to know (3)
  • Every figure comes from the usage numbers Claude Code reports to the mod for the session.
  • Your lifetime spend is kept in Claude Code's plugin storage, so the total carries across sessions.
  • The validator says it can change prompts, but the README says it passes them through untouched.
Are mods safe?

Preview

Terminal

⎿ burn-meter: Burn demo: $0 to $30 in 20 seconds. ╭────────────────────────────────────────────────────────────────────────────────────────────────✕─╮ │ SESSION BURN lifetime $0.41 │ │ $0.41 = 0.13 McDoubles │ │ │ │ * ▃▅ │ │ ▁ ▃ ▁ ██ │ │ ▄█ █▃█ ██ │ │ ▁ ▁ ▂ ▇ ██ ███ ██ │ │ █▄ ▇▅█ █▅▇▂███▄██ ███▂██ │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯

Claude Desktop

Burn Meter in Claude Desktop

What it does

In the author's words

Live session cost odometer above the prompt: a burning fuse, real-world comparisons, threshold alerts

What you see
A spend band above the prompt, plus a /burn pane
Works in
Terminal and Claude Desktop
Slash commands
/burn
Uses your tokens
No
Changes files
Nothing
Network access
None
Reviewed commit
e6da26c
Preview recorded with
Claude Code 2.1.309

How it works

  1. Draws the band when a session starts and registers the /burn command
  2. Notes the session cost each time you send a prompt, to work out that turn's cost
  3. After each turn, adds its token counts and cost to a per-turn chart
  4. Shows a toast when spend crosses a threshold; /burn opens the full pane

Common questions

How can I see what my Claude Code session has cost so far?

burn-meter keeps the session's spend on screen in a band above the prompt, built from the usage numbers Claude Code reports. Run /burn to open a pane with what each turn cost.

Can I see my 5-hour and weekly limits next to the cost?

Yes. The band has 5-hour and weekly plan-limit bars with their reset times, next to the session spend.

Can it warn me when spending gets high?

It shows a toast when spend crosses a threshold. The README does not say what the thresholds are or how to change them.

Does burn-meter send my cost data anywhere?

No. The README says it never sends anything off your machine, and statuslin.es found it does not contact the internet. It stores only your lifetime spend and the session's last cost reading.

Badge for your README

Own this listing? Add it to your README. The badge shows the install count as it grows.

Reviewed on statuslin.es
[![Reviewed on statuslin.es](https://staging.statuslin.es/badge/mods/burn-meter.svg)](https://staging.statuslin.es/mods/burn-meter?utm_source=readme-badge)

Or show the preview card:

Preview on statuslin.es
[![Preview on statuslin.es](https://staging.statuslin.es/og/mods/burn-meter.png)](https://staging.statuslin.es/mods/burn-meter?utm_source=readme-badge)

More like this

Deck in Claude Desktop

A cockpit for Claude Code: plan bars and subagent strips, context, usage limits with reset countdowns and burn rates, spend, the model route and a pet. Six bar styles, three collapsed looks. CLI and Desktop.

Flightdeck in Claude Desktop

Flightdeck: a live agent dashboard for Claude Code. Main model vitals, an on-call architect, every permission check, subagent cards and swimlanes, a turn receipt and a session log, all from real session events

Opus 4.8 high ✦ │ ctx 22% │ app (main) │ PR #1287 ● │ $0.41 · 10m +128 -34 Session ● ● ● ● ● ● ● ● ○ ○ ○ 74% left Resets in 2h 6m Weekly ● ● ● ● ● ● ● ● ● ● ○ 93% left Resets in 2d 0h

Feature-rich bash status line with model, context bar, session cost (read live from Claude Code, so it stays correct on any model), rate-limit bars, and live tool/agent activity that adapts to terminal width. Source: github.com/JungHoonGhae/claude-statusline

Opus 4.8 │ ✍️ 78% │ app (main) │ +128/-34 Cost $0.4100 Tokens in 44.0k │ cache write 5000 │ cache read 2000 │ out 1.4k

Compact status line showing model, context remaining %, directory/git, session time and lines changed, with rate-limit bars or a cost/token breakdown. Source: github.com/susomejias/claude-statusline

✧ ███████████▋ 73% 🗝 Ultima Weapon ✦ app ∙ main ♥ ████████████████████████ 100% 「SAVE POINT」 ✶ Limit Form ◉ 41

Claude Code plan-usage HP bar that reads the Claude auth token to show remaining usage.

Opus 4.8 │ ✍️ 22% │ app (main) │ ● high current ●●○○○○○○○○ 26% ⟳ 3:35pm weekly ○○○○○○○○○○ 7% ⟳ oct 20, 2:28pm

Two-block bash status line: model, context %, directory/git and session time up top, with 5h/weekly rate-limit bars below. Source: github.com/nilbuild/claude-statusline