Engineering

How Moving From Vercel to Cloudflare Workers + Railway Cut Our Web Infrastructure Costs by 80%
Engineering

How Moving From Vercel to Cloudflare Workers + Railway Cut Our Web Infrastructure Costs by 80%

We migrated our web stack from Vercel to Cloudflare Workers and Railway, replacing Next.js with a mix of TanStack Router, TanStack Start, and Hono based on what each workload actually needed. The result was roughly 80% lower infrastructure costs, rising to around 90% after filtering hostile automated traffic at the edge. Most of the migration work was carried out by AI coding agents, with engineers focused on architecture, constraints, review, and production verification.

Sep 23, 2026 · Quang Lam