•   11 months ago

I'm out of tokens and my app is far from done

Project: SaaS Web App
My approach so far:
Started by building the back-end and business logic locally with static data.
- This took me about 5M tokens to reach ~80% of a functional prototype.

As the app grew (more logic, more components), each iteration burned through tokens very fast. 1M tokens would vanish in no time.

Decided to integrate Supabase for DB persistence and authentication.
- This cost me another 5M tokens.

Despite me explicitly asking to move from mock data to Supabase, Bolt often left mock data still scattered throughout the code. It kept saying "done" even though I would still find mock functions and hardcoded data mixed with DB calls.

I am stuck, I can’t even log in to my app anymore. I'm facing multiple RLS Policy Infinite Recursion errors that bolt can't resolve. It's extremely frustrating, feels like I'm not getting much further despite heavy token spending. Would I actually use this in production for a customer? Not sure

Am I doing something fundamentally wrong with Supabase RLS policies? Any advice on how to move forward without burning another few million tokens?

  • 7 comments

  •   •   11 months ago

    From what I am reading, looks like we are out of luck. You would have to fund the balance.

  •   •   11 months ago

    Yes, you need to purchase the credits. Avoid these: Try not to use Autofix every time when there is an issue, may be you can use chatgpt to ask about that error, that way you won't loose more credits on bolt. Try to use the discussion mode in bolt.new before making any updates to your apps, this won't consume tokens.

  •   •   11 months ago

    Also, make sure you use the experimental Diffs feature, otherwise the AI model has to regenerate the entire file even when you want to ask it to make a small change in the file.

  •   •   11 months ago

    Try using diffs to reduce token use. Also, before any run, comment out mock data and unused code. For RLS, start with public access first, then lock down step-by-step. Helped me a lot.

  •   •   11 months ago

    aren't they giving free builder pack for the hackathon project?

  •   •   11 months ago

    What happened to the: purchase more tokens $30.00 for 10 million (option) that was just there a couple days ago? I'm entered into the Hackathon and out of Tokens, just went to add funds for 10 million more tokens for $30.00 (so I could finish my projects) *which ate up major tokens trying to fix errors, which still have not been fixed, and now can't finished to submit in Hackathon? because I Can't Purchase More Tokens Now? **with only 2 days left to Finish my Submission(s). THAT AINT COOL, NOT ALL ALL, YOU CHANGED THE ODDS FOR SOME OF US, RELYING ON THE OPTION TO PURCHASE MORE TOKENS (AT ANY TIME SHOULD WE RUN OUT) Wow

  • Manager   •   11 months ago

    Hello Michael, please see the response linked below. In the future, please avoid cross posting questions to multiple places. Thank you,
    https://worldslargesthackathon.devpost.com/forum_topics/41090-run-out-of-bolt-10m-tokens-can-i-get-a-free-upgrade-or-code-fore-more-tokens?page=1

Comments are closed.