Today I completed one of the core backend features of my AI Prompt Optimizer: the credit management system.

At first, I thought it would be as simple as decrementing a counter. It turned out to be much more than that.

What I implemented

Plan-based credit allocation (Free & Pro ready)

Automatic daily credit reset for free users