Usage Explorer

What your AI coding costs by session, day and model, with your Claude plan limits and the pace you are spending them at.

Is there room for a big task?

Plugin · for bb · v0.1 · MIT · 2026. Built with TypeScript, React, ccusage.

Why

Know whether there is room for a big task before you start one.

Usage Explorer opens on your plan limits: how much of each window is left, when it resets, and where you will land at the pace you are going. A plain verdict says whether to go ahead or ease off for the rest of the week.

  • Session (5-hour) window
  • Weekly window
  • Per-model weekly window
  • Live burn rate
  • Cost of the current block

Sessions

The sessions list sorted by cost, with one session open to show its models · 1920 · 1270

Every session, with what it cost.

Each session shows its title and project, its cost and its tokens. Sort by cost or by recency, or search. Open one to see its models and its cost by token type.

  • Sorted by cost or recency
  • Searchable by title, project and model
  • A bb thread’s session opens its thread

What you get

  • Plan limits first · A calm page that only turns amber or red when a window needs you.
  • Spend by day · A daily cost or token chart for today, 7, 30 or 90 days, or all time, and an activity calendar where a click opens that day.
  • Spend by session · Every session with its title, project, cost and tokens.
  • Spend by model · Each model’s cost, share and tokens; click a model to filter the whole page to it.
  • One colour per provider · With several providers on, each gets its own line on the daily chart and its own colour in every breakdown.
  • Totals that add up · Processed, cached and uncached input, output, and what caching saved.

Film

0:20

A 20-second look, with demo data

Works with

Pick one or several providers from the header. It also covers the other CLIs ccusage reads.

  • Claude Code
  • Codex
  • Gemini CLI
  • OpenCode
  • Copilot CLI

Every agent

0:20

Adding providers to the page, with demo data

How it works

  • Usage · Reads your local logs · ccusage, pinned to one release and run offline, reads the logs your agent CLIs already write.
  • Limits · Asks for your plan limits · They come from Anthropic’s usage endpoint, using the sign-in Claude Code already stored on your machine.
  • Page · Shows it for a minute · Everything is cached for a minute, and the page reads again when you press refresh.

Requirements

  • bb · 0.48 or later · On macOS, Linux or Windows.
  • Plan limits · Claude Code signed in to a Claude subscription · On the same machine. On macOS, the first read may ask to allow access to Claude Code’s Keychain item.
  • Other agents · Their CLI’s local logs · On the machine that runs bb.

Good to know

  • Your usage stays on your machine · Usage is read offline from local logs, so nothing about it leaves your machine.
  • Costs are estimates · They are priced at API list prices, including the higher price of one-hour cache writes.
  • One download on first use · The plugin downloads the ccusage binary once from the npm registry and checks it against a pinned checksum before running it.
  • Your sign-in stays on the server · The token is never sent to the page, logged, refreshed or written.

Get it

Installs from its GitHub repository.

bb plugin install git:https://github.com/ahsan7162/bb-plugin-claude-usage.git@^0.1.0