[FEATURE] Create an endpoint for checking rate limits for claude code

Resolved 💬 3 comments Opened Mar 11, 2026 by stefanvesely Closed Mar 15, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

my current work flow requires me to check my usage manually, I have written "miser" flows into my agents and skills that always try to optimize token usage, but I always have to check my usage manually or it gets to "uh oh you are running out of tokens" state without me being aware. I want to write a small app that checks my rate limit and says checks it against the task estimation and and some rules that I have before continuing.

Proposed Solution

create an endpoint where you can get the current token count and whats left and so on.

Alternative Solutions

currently I work around this by checking usage and giving the totals to the agents manually I want to automate this

Priority

High - Significant impact on productivity

Feature Category

CLI commands and flags

Use Case Example

So this would allow engineers that are currently struggling to stay in their budget to manage it better. this would also allow me manage tasks

Additional Context

I think I have the solution mapped out correctly

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗