โ† Read the full guide
All infographics

Backend Platforms 2026

Railway vs AWS vs Azure vs GCP vs Firebase vs Cloudflare โ€” picked for an AI iOS app.


$5-30
Indie /mo on Railway
200+
AWS services
90%
Of cost = AI API
1
Pick to start
By cost at small scale (a few thousand MAU)
DEFAULT
Railway
$5-30/mo ยท Predictable. Push code, get URL.
PaaS
Vercel
$0-20/mo ยท Hobby tier generous. Web-first.
Edge
Firebase
$0-50/mo ยท BaaS โ€” least backend code. Lock-in real.
BaaS
Cloudflare Workers
$0-10/mo ยท Edge-first. Global low latency.
Serverless
AWS
$30-150/mo at small scale. Service breadth. Cost-trap risk real.
Power
Azure
$30-150/mo ยท Microsoft ecosystem, Azure OpenAI Service.
Enterprise
GCP
$15-80/mo ยท Cloud Run = cleanest serverless containers.
Dev DX
Pro Tip
Backend hosting is rarely your biggest infra cost. AI API spend (Claude / GPT) typically dwarfs it 5-10ร—. Optimize there first.
Common Trap
Choosing AWS "in case you scale" before you have users. Burns months learning vs shipping. Start simple โ€” migrate when you must.
Pick by use case
By app maturity stage
  1. Solo iOS dev, Claude proxy
    โ†’ Railway
  2. Real-time chat / social
    โ†’ Firebase
  3. Global low-latency API
    โ†’ Cloudflare Workers
  4. F500 customer mandated
    โ†’ AWS / Azure
  5. GPU / ML training
    โ†’ AWS / GCP / specialty
  1. Stage 1 (0-100 users)
    Railway / Firebase / Vercel
  2. Stage 2 (100-10K)
    Same โ€” optimize cache + sub plan
  3. Stage 3 (10K-1M)
    Most stay on PaaS. Some migrate.
  4. Stage 4 (1M+)
    Hyperscaler with SRE practice