Print % of used tokens before cutoff

Resolved 💬 3 comments Opened Sep 22, 2025 by kvokka Closed Nov 20, 2025
💡 Likely answer: A maintainer (kvokka, contributor) responded on this thread — see the highlighted reply below.

What feature would you like to see?

In the footer, it would be nice to have the percentage of used allowance for this very coding session. It will allow us to plan the execution.

<img width="1725" height="80" alt="Image" src="https://github.com/user-attachments/assets/753759f5-4dcd-4761-a153-86c2239d7107" />

When it's running above some threshold, the info for the next renewal might be useful too

Are you interested in implementing this feature?

yep, but i need the confirmation that the dev team finds it useful

Additional information

The footer provides information about the tokens used (e.g., 380K tokens used). Still, it's within a single user session, which makes it less informative if the user reruns the Codex CLI or uses it in conjunction with the VSCode extension.

The remaining usage should be either in the /status or in the footer (i prefer the latter), but i'm open for suggestions

View original on GitHub ↗

3 Comments

waldoalvarez00 · 11 months ago

Very useful. Today we are blind on token usage, and we hit hard limit. Then lots of time off.

kvokka contributor · 11 months ago

Addition:
First time I got the cutoff for 1.5 hours, but the next time I got it for 4,5 DAYS! This makes it completely unpredictable. As the user, I will be happy to know that

etraut-openai contributor · 9 months ago

This has been implemented in the CLI and extension.