[Feature Request] Include per-model weekly usage in statusLine payload

Status Open
Reported on v2.1.288
Maintainer reply None cached
Activity 0 comments · opened Oct 3, 2026

Bug Description
Feature request: include per-model weekly usage in the statusLine payload. On a Max plan, /usage shows "Current week (Fable)", and the CLI already builds rate_limits.model_scoped[] (display_name, utilization, resets_at) from the usage endpoint's limits[] array. The statusLine JSON payload only carries rate_limits.five_hour, rate_limits.seven_day and (behind a gateway) spend_limit, so a status line script cannot show the Fable weekly window and I have to run /usage to see it. Request: add rate_limits.model_scoped[] to the statusLine payload, using the same shape as the other buckets (used_percentage on a 0-100 scale, resets_at in epoch seconds), and document it in the statusLine schema. Side note: utilization appears on different scales in different places (the statusLine builder multiplies five_hour/seven_day utilization by 100, while /usage prints model_scoped utilization directly as a percent), so a single documented scale would help. Version: Claude Code 2.1.288, macOS.

Environment Info

  • Platform: darwin
  • Terminal: xterm-256color
  • Version: 2.1.288
  • Feedback ID: c1d0bac7-5d88-4008-a902-d2fc157c34d0

View original on GitHub ↗