Prompt
What should I use for cheap backend compute with unpredictable traffic?
Latest observation
Oct 26, 2026
OpenAI APIWeb search: off
For cheap backend compute with unpredictable traffic, the best default choice is usually:
1) Serverless functions
Examples:
- AWS Lambda
- Google Cloud Functions
- Azure Functions
- Cloudflare Workers / Vercel Functions for edge/API-style workloads
Why they fit
- Pay only when used
- Auto-scales to zero
- Great for spiky or unknown traffic
- No server management
Best for
- APIs
- Webhooks
- Background jobs
- Lightweight request/response workloads
Watch out for
- Cold starts
- Execution time limits
- Stateless design required
- Can get expensive at very high sustained usage
2) Container/serverless platforms if your app needs more control
Examples:
- Google Cloud Run
- AWS App Runner
- Fly.io
- Render (less “scale to zero” focused depending on setup)
Why
- Still relatively cheap
- Handles traffic spikes well
- Better for apps that need a full web server or custom runtime
Best for
- Full backend apps
- APIs with frameworks like Express/FastAPI/Django
- Jobs that need more control than functions
3) Cheapest if traffic is low but not bursty: small VPS
Examples:
- Hetzner
- DigitalOcean
- Linode
- Vultr
Why
- Very low fixed monthly cost
- Simple if traffic is modest and predictable enough
Downside
- You pay even when idle
- You manage scaling, updates, and reliability
Practical recommendation
If traffic is unpredictable, I’d choose:
- Cloud Run if you want to run a normal backend service
- Lambda if your app is naturally function-based
- Cloudflare Workers if your logic is lightweight and latency matters
Rule of thumb
- Mostly API endpoints + spiky traffic → Cloud Run or Lambda
- Very small compute, global edge, cheap → Cloudflare Workers
- Always-on service with steady low traffic → VPS
If you want, I can recommend the cheapest option for your exact stack (Node, Python, Go, etc.) and expected traffic patterns.