Free Cloudflare AI Assistant Tutorial Updated: WAF Rate Limiting to Stop Key-Leak Bills
sujingshen · x · 2026-10-23
A detailed free setup tutorial has been shared and supplemented: running a personal AI assistant on Cloudflare's free tier handles around 70 Telegram conversations a day at $0 cost — Workers offers 100,000 requests per day, Durable Objects give each chat its own isolated SQLite memory, and Workers AI throws in 10,000 neurons per day for free (the quota that runs out first). The tutorial provides a complete, copy-paste wrangler.jsonc config, an Agents SDK agent class, and Telegram webhook handling, plus cost estimates for switching to a Claude key (about $0.36/month on Haiku, around $7.2 on Sonnet). The person resharing it added two practical tips: build webhook secret validation into your code (many tutorials skip this), and attach the Worker to your own domain with a WAF rate-limiting rule, so even if your key leaks it won't be drained overnight.
More from coding & agent
- 7 Mistakes Economists Make With Claude Skills: Not Building Their Own and Making Too Few — aniketapanjwani · 2026-10-23
- MIT Sloan research: AI speeds up coding but delivery still bottlenecks on testing — sven_ai · 2026-10-23
- Agents logging into bank accounts violate most banks' terms, even with user consent — pstAsiatech · 2026-10-23
- Codex desktop shipped with no editor: 4-person team bet everything on agents — sujingshen · 2026-10-23
- Under matched token budgets, most gains of web agent online augmentation vanish — hllo_wrld · 2026-10-23
- First company officially incorporated by an AI agent via Stripe's Atlas MCP — jeff_weinstein · 2026-10-23