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
4 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Dupe: https://github.com/anthropics/claude-code/issues/25819
looks like its unplanned and multiple duplicates
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.