Token budget

A context window meter: system, prompt and completion tokens stack against a 32k limit, tick while the answer streams and pulse red past 80 percent.

Usage metersNo. 0683 variationsFree with an account

Playing on its own
Variation
The idea
Prompt and completion tokens against a limit
Autoplay
An answer streams and the striped Completion segment grows while every count ticks; the cursor hovers segments for their counts, the bar passes 80 percent and pulses red, then Trim context shrinks the prompt back.
When you click
Hover or focus any segment for its exact count; Trim context drops old messages and Restore brings them back. Keyboard: Tab through the segments and the button, Enter or Space to trim.
Look
stacked bar, ticking numbers, mono type
Variations
Night, Mono, Graphite
Files
index.html, style.css, script.js and prompt.md. No framework, no CDN, works offline.

The prompt and the files

Paste the prompt into Claude, ChatGPT, Lovable or any coding agent to rebuild it in your own product, or take the three files as they are.

Loading the files

More usage meters

See all