Feature Request: Expose rate limit / usage quota info in statusline JSON
Resolved 💬 3 comments Opened Jan 3, 2026 by bbarkhurst77 Closed Jan 7, 2026
Feature Request: Expose rate limit / usage quota info in statusline JSON
For Max plan users (and API users), it would be valuable to see rate limit or usage quota information in the statusline JSON.
Current state
- Statusline JSON has no rate limit or quota fields
- Users have no visibility into how close they are to hitting limits
- Must wait until rate-limited to discover usage patterns
Request
Add rate limit / quota fields to the statusline JSON:
"rate_limits": {
"requests_remaining": 50,
"requests_reset_at": "2025-01-03T15:30:00Z",
"tokens_remaining": 100000,
"tokens_reset_at": "2025-01-03T15:30:00Z"
}
Or for Max plan users, usage quota info:
"usage_quota": {
"period": "daily",
"used": 45000,
"limit": 100000,
"resets_at": "2025-01-04T00:00:00Z"
}
Use case
- Custom statuslines could show "45% of daily limit used" or "50 requests remaining"
- Users can pace their work and avoid unexpected throttling
- Especially useful for power users and Max plan subscribers who want to optimize usage
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗