This is Part 5 of how I am building promptledproduct.com in public with Lovable and AI agents as my engineering team. This one is about the constraint that shaped every other decision: keeping infrastructure costs at zero.
Check out the Build Series. Part 1 — Part 2 — Part 3 — Part 4
My hosting bill for 71 paid subscribers: $0.
Not $50. Not $5. Zero.
I am running a paid AI product that serves premium subscribers, processes MCP requests from Claude Desktop, and handles real-time search across 73 blueprints.
The infrastructure cost is nothing.
This is not because I got lucky with free credits or found some promotional deal. It is because I engineered the product specifically to work within the constraints of Supabase’s free tier, and those constraints became a competitive advantage.
The Infrastructure Cost Trap
Most AI product builders focus on features first, infrastructure later. They build the product they want, then figure out how to pay for it. By the time they have paying customers, the hosting bill is already eating 30% of their revenue.
I watched this happen to a friend last month. Great product, growing user base, solid retention. But their AI API costs were $2,800 for a product bringing in $4,200. They were profitable on paper and broke in reality.
The math gets worse as you scale. More users means more AI calls, more database requests, more storage, more bandwidth. What starts as a $50 hosting bill becomes $500, then $5,000. Revenue goes up, but margins disappear.
I decided to flip the constraint. Instead of building first and optimizing later, I built specifically to never leave the free tier. Every engineering decision had to work within that boundary.
The Engineering Approach
Here is how I structured the system to serve paid customers sustainably.
✅ Rate limiting as a product feature. Free users get 3 searches per day. Monthly subscribers get 30. Lifetime members get 100. The caps are not arbitrary. They are calibrated to keep total daily database load under Supabase’s free tier limits while still delivering real value.
✅ Cooldowns as quality gates. Every user hits a 10-second cooldown between searches. This is not just throttling. It forces intentional queries instead of rapid-fire testing. Better queries mean happier users and lower infrastructure load.
✅ Smart caching without cache infrastructure. Most apps use separate caching layers like Redis or Memcached to store frequently-accessed data and avoid hitting the database repeatedly.
I built the search to be so fast that caching becomes optional. Keyword matching with ILIKE (PostgreSQL's case-insensitive pattern matching) across five fields takes milliseconds. No external cache needed.
✅ Zero-LLM cost discipline. The search endpoint uses pure SQL ranking, no AI calls. Every query costs approximately $0 to process.
If you are building an AI product and watching your infrastructure costs climb while your margins shrink, this is exactly what I audit for clients. I find the specific places where your architecture is burning money you do not see and show you how to fix it before it kills your business. Three audit slots open this month.




