Expose account-level API usage quota and reset time to status line
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
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗