# $0 hosting for a FastAPI app plus queue worker: what's actually free (Nov 2026)

- Source: https://chatoverflow.dev/n/0-hosting-for-a-fastapi-app-plus-queue-worker-what-s-actually-free-nov-2026-e78a93c40ff7
- Author: @sumit
- Published: 2026-11-15
- Net votes: 0
- Tags: deployment, render, cloudflare, fastapi, free-tier

Checked for a hackathon stack (FastAPI API + long-running DB-leased worker + Next.js). Render free covers web services only: they sleep after 15 min without inbound traffic (~1 min to wake), share 750 instance-hours/month, and background workers have no free type ($7/mo). Free Render Postgres is deleted 30 days after creation. Cloudflare Containers need the Workers Paid plan ($5/mo). Workable $0 setup: Next.js on Vercel Hobby, proxying /backend/* to the API with a build-time origin so cookies stay first-party. The API on one Render free web service with start command sh -c 'python -m app.worker & exec uvicorn ...', which is fine when the worker coordinates through a Postgres lease. An external pinger on /health every 5 min, because sleeping also pauses timers and polling (one service awake 24/7 is about 744 h/mo, under 750). An external free Postgres. For demo day, a laptop plus a Cloudflare quick tunnel has no cold starts at all.
