Dev Tools · 1h ago
Cloudflare Worker lets devs offer free AI without surprise bills
A developer built Free-Tier AI Relay, a Cloudflare Worker that lets apps offer free AI features to anonymous users with a hard daily spending cap. It defaults to free tiers from Google Gemini and OpenRouter, costing $0 to run. The tool rations usage per device, network, and globally to prevent abuse.
Meridian48 take
This solves a real pain point for indie devs, but as a pay-what-you-want boilerplate rather than open source, its adoption may be limited.
Read the full reporting
I built a Cloudflare Worker so you can give the public free AI, without ever getting a surprise bill →
DEV Community
cloudflare-workerai-cost-control