Expose account-level API usage quota and reset time to status line

Status Fixed / completed
Maintainer reply None cached
Activity 4 comments · opened Feb 12, 2026 · closed Feb 16, 2026

Feature Request

The status line currently exposes session-level data like context_window.used_percentage, but there's no way to see account-level API usage — specifically how much of your model quota (e.g. Opus) you've consumed and when it resets.

Problem

As a heavy Opus user, I'd love to see at a glance how much of my usage allowance remains and when it resets — right in the status bar. Currently the only "usage" metric available is context window consumption for the current conversation, which is useful but solves a different problem.

Proposed Solution

Add fields to the JSON blob passed to the status line script, something like:

{
  "account_usage": {
    "model": "claude-opus-4-6",
    "used_percentage": 72.5,
    "reset_at": "2025-02-15T00:00:00Z",
    "reset_in_hours": 48
  }
}

This would let users build status lines that show quota remaining and countdown to reset — e.g.:

▰▰▰▰▰▰▰▱▱▱ 72% Opus used · resets in 2d

Why This Is Useful

  • Helps pace usage across a billing period
  • Avoids surprise rate limits mid-session
  • The status line is the perfect place for this — always visible, non-intrusive
  • Currently requires leaving the terminal to check the web dashboard

View original on GitHub ↗

4 Comments

github-actions[bot] · 8 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/22731
  2. https://github.com/anthropics/claude-code/issues/23843
  3. https://github.com/anthropics/claude-code/issues/15370

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

christo8989 · 8 months ago
ben4mn · 8 months ago

looks like its unplanned and multiple duplicates

github-actions[bot] · 7 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.