Generate, with the credit cost

A generate button that shows its cost before you spend: hover slides out a 4 credits chip, a click rolls the balance odometer down, and under 4 credits it turns into a pulsing Top up.

AI buttonsNo. 0072 variationsFree with an account

Playing on its own
Variation
The idea
Show what a generation costs before you spend
Autoplay
Hover slides out a 4 credits chip; a click rolls the balance odometer 10 to 6 and the button reads Queued; the chip opens the cost breakdown; a second spend leaves 2 and the button turns into a pulsing Top up, which rolls the balance to 122.
When you click
Click spends; under 4 credits the button turns into Top up with a pulse; Shift and click (or the chip) shows the cost breakdown.
Look
14 px radius, odometer, sans type
Variations
Navy on butter, Brutal
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 ai buttons

See all