A zero-cost personal platform on Cloudflare's free tier
Can a multi-page, CMS-driven site with image uploads and an AI assistant run for $0 a month without giving up speed, security or accessibility?
Environment
- Cloudflare Workers
- D1 (SQLite)
- Workers AI
- Email Routing
- Lighthouse 12
Interactive system diagram
Select any node to inspect
Visitors & Feeds
Browsers, feed readers (/feed.xml), and search crawlers served over HTTPS with strict CSP, HSTS, and self-hosted fonts.
Question
Can a personal platform with several pages, an admin dashboard, image uploads and an AI assistant run entirely on free allowances, while still scoring well on speed, accessibility and security?
Hypothesis
Cloudflare's free tier (Workers, D1 and Workers AI) is enough for a personal site, and careful choices keep Lighthouse scores at 95 or above.
Environment
- Cloudflare Free plan, one Worker serving every request
- D1 for content and uploaded images, stored as BLOBs
- Workers AI running Llama 3.3 70B (fp8) for the assistant
- Lighthouse 12 in headless Chrome, mobile and desktop presets
Method
- Render every page on the server from the database, so content edits need no deploy
- Self-host fonts, convert images to WebP in the browser, and store a 640px variant for cards
- Run Lighthouse on the live site after each change, repeating runs when a score looks off
Observations
- One desktop run straight after a deploy scored 70; three repeat runs scored 99-100. The low run was a cold cache, not a regression.
- D1 caps a value at about 2 MB, so uploads are resized in the browser first. Cloudflare's object storage (R2) was avoided because it asks for a payment card even on its free tier.
- Self-hosting fonts removed two third-party connections and raised Best Practices from 93 to 100.
Results
- Mobile: Performance 96-99, Accessibility 100, Best Practices 100, SEO 100
- Desktop: Performance 99-100 on repeat runs
- Cost: the account stays on the Free plan at $0; when a free allowance runs out, the service pauses rather than billing.
Limitations
- The free AI allowance covers roughly 80-100 chats a day.
- Images are capped at about 1.9 MB each.
- Lighthouse runs from one laptop and one network; field data from real visitors is not included.
Revision history
- r1 (24 Nov 2026): first write-up.