AutumnA
Autumn2mo ago
Alecyrus

@Ayush (Founder) Hey, I'm seeing some

@Ayush Hey, I'm seeing some confusing behavior with my credits system and wanted to check if this is working as expected.
First, let me explain our setup: universal credits are the base currency of our credit system. Then we have ai model credits specifically for AI features, and they consume universal credits at a 1:1 ratio.
Here's what happened:
Initially, I had a free plan (v1) that gave 5,000 ai model credits and 0 universal credits. My test user (user1) burned through those really fast - they actually used around 50,000 credits in total because there was a bug causing incorrect charges.
I realized the free plan wasn't set up well, so I changed it to v2: 200 ai model credits + 10,000 universal credits. When I updated user1 to this new plan, their balance looked restored - showing 200 ai model credits and 10,000 universal credits available.
I tested it out and used up the 200 ai credits, then burned through about 2,000 of the universal credits (leaving around 8,000).
When I adjusted the user back to free v2 again, the quota reset. This made me think: "Oh, switching plans clears the monthly usage history - so that previous 50,000 usage doesn't count anymore."
But then about a day later, when I came back to continue developing, I found user1 has zero credits left (even though their November history only shows 50,000 + 200 + 2000 = 52,200 total usage).
So my question is: Does the previous 50,000 usage still count? Like, even though free v2 gives 10,200 total credits, that's not enough to cover the 50,000 they already used, so the system eventually caught up and zeroed them out after some delay? Does it just take some time for the system to reconcile the usage?
Is that how it's supposed to work?
Was this page helpful?