Sub Meter

See Claude subscription usage in the terminal

·

source at 860d3ea

·

MIT license

Subscription usage on the terminal's permission mode line: the 5-hour and weekly windows with a bar, a percentage and time to reset.

59 installs

What this mod can do

  • Reviewed at commit 860d3ea
2 things it can do
  • Remembers data between sessions
  • Runs on a timer
Good to know (3)
  • Terminal only: Claude Desktop shows subscription usage itself, so it draws nothing there
  • Shows nothing on API key billing, and has no monthly window
  • Hides the (shift+tab to cycle) and esc to interrupt hints for room; /config turns that off
Are mods safe?

Preview

Terminal

⏵⏵ auto mode on · ← for agents 5h ━━━─────── 26% ↻ 2h 7m

Claude Desktop

Draws nothing in Claude Desktop.

What it does

In the author's words

Your subscription usage at the bottom right of Claude Code: the 5-hour and weekly windows, taking turns, side by side or fixed on one of them.

What you see
A usage meter at the right of the footer row
Works in
Terminal
Slash commands
None
Uses your tokens
No
Changes files
Nothing
Network access
None
Reviewed commit
860d3ea
Preview recorded with
Claude Code 2.1.309

How it works

  1. Reads usage at session start, then after each response
  2. Keeps the last reading in its store, so every open session shows it
  3. Draws on the permission mode row, redrawing every 8 seconds
  4. Switches between the 5-hour and weekly windows unless display says otherwise

Common questions

Does it count usage from claude.ai or the mobile app?

Only what a Claude Code session measures. Usage on claude.ai or the mobile app shows up at the next response, the README says.

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://statuslin.es/badge/mods/sub-meter.svg)](https://statuslin.es/mods/sub-meter?utm_source=readme-badge)

Or show the preview card:

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

More like this

Token Weather Usage in Claude Desktop

One line above the prompt: context tokens with their weather, a bar per recent prompt, your 5-hour and 7-day limits against the time elapsed, the prompt cache with its time left, the session cost with the last prompt's share in dollars and in points of the 5-hour limit, the subagents running, and a one-click pill for the GOs Claude proposes. Labels in English, French or Russian. After Token Weather (Anthropic, Apache-2.0) and the ideas of usage-meter (HolyGrail) and prompt-cache-control (Daniel San).

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.

· ↑ 37.0k ↓ 1.4k cache 7.0k · session ↑ 111.0k ↓ 4.2k

Each turn's tokens and the session's running total, in color at the end of the hint line under the prompt.

✳ Usage 5h 26% · week 7% · fable 15%

Your official Claude quota: the 5-hour session, weekly, and per-model windows with reset times, read from the same endpoint as /usage rather than estimated from token logs.

Opus 4.8 · ctx ● 22% · 5h ● 26% · 7d ● 7%

One short Python line: the model, then context, five-hour and seven-day usage, each as a percentage with a dot that shifts from green to red as it fills. No dependencies, no network calls.

app · main · Opus-4.8 · effort high · ctx 22% · 5h 26% ↻2h6m · 7d 7% ↻2d0h

One-line status bar showing your directory, git branch (with a * when dirty), model, live effort level, context-window usage, and 5-hour/7-day rate-limit usage.

Opus 4.8 [high] ~/app main 16:20:55 | ⛁ ██░░░░░░░░ 22% | 5h ●◔○○○ 26% ↻2h7m | 7d ◔○○○○○○ 7% ↻2d1h │ $0.41 ⏱ 10m

Two-line status with a block context bar and quarter-step dot meters (◔◑◕●) for the 5-hour and weekly limits (fill shows usage, color shows whether you are ahead of or behind pace), plus model, effort, git and cost. Needs no jq.