Sub Meter

See Claude Code usage limits in the footer

·

source at 249f0f6

·

MIT license

A meter at the bottom right of Claude Code, on the permission mode line, showing how much of your 5-hour and weekly subscription windows you've used and when each resets.

48 installs

What this mod can do

  • Reviewed at commit 249f0f6
3 things it can do
  • Remembers data between sessions
  • Runs on a timer
  • Runs on Claude Code hooks, such as session start
Good to know (3)
  • Needs a subscription: with API key billing there is nothing to show and the footer stays as it is.
  • Usage on claude.ai or the mobile app shows up only after the next Claude Code response.
  • Set display in /config to both, session or week to stop it switching between windows.
Are mods safe?

Preview

Terminal

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

Claude Desktop

Sub Meter 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 bar at the bottom right, beside the mode
Works in
Terminal and Claude Desktop
Slash commands
None
Uses your tokens
No
Changes files
Nothing
Network access
None
Reviewed commit
249f0f6
Preview recorded with
Claude Code 2.1.309

How it works

  1. Takes a first reading at session start, or shows the last one saved
  2. After each response, reads the five_hour and seven_day rate-limit windows
  3. Draws a bar, percent and reset time beside the mode, switching windows every 8 seconds
  4. Drops the (shift+tab to cycle) and esc to interrupt hints to make room

Common questions

How do I see my Claude Code 5-hour usage limit?

This mod shows the 5-hour window as a bar with a percent and the time until it resets, at the bottom right of Claude Code. The bar turns yellow from 75% and red from 90%.

Does Claude Code report a monthly usage window?

No. The README says Claude Code only reports the 5-hour and weekly windows, so there is no monthly one to show.

Can I show the 5-hour and weekly windows at the same time?

Yes. Set display to both in /config to show them side by side, separated by |. The default, rotate, switches every 8 seconds, which rotateSeconds changes.

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.

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

✳ 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.