

Railway vs Cloudflare vs Vercel: which platform fits your stack in 2026?
- Railway is a full-stack cloud platform that runs persistent containers, databases, cron jobs, and workers, billed per second for CPU and RAM usage
- Vercel is a frontend and serverless platform built around its global delivery network and Fluid Compute functions; it does not run persistent servers or host databases natively
- Cloudflare is an edge network and developer platform; Workers runs JavaScript and WASM at the edge across 300+ locations, but Containers (any language) is available on the Workers Paid plan and the developer tooling is modular rather than a full-stack deployment target
Railway, Cloudflare, and Vercel are three of the most widely evaluated deployment platforms, but they are not direct substitutes. Each platform has a distinct architecture, and choosing the wrong one based on surface-level comparisons creates real constraints down the line.
What is Northflank?
Northflank is a full-stack deployment platform that runs persistent containers, databases, workers, cron jobs, and preview environments in one place. It supports both CPU and GPU workloads, secure sandboxes for AI-generated code, and persistent and ephemeral execution modes with no session limits. Deployment options include managed cloud, bring-your-own-cloud (including bare-metal and on-premises), and customer VPC deployments.
Teams use Northflank when they need the developer experience of Railway or Vercel but with the depth of control and production-grade orchestration that neither platform fully provides.
If you are evaluating Railway, Cloudflare, or Vercel, Northflank is worth including in your shortlist. Get started (self-serve) or book a demo to walk through your specific setup with the team.
Railway is a full-stack cloud platform that deploys web apps, servers, databases, and workers from a Git repo or Docker image. It runs on Railway's own infrastructure ("Railway Metal") and supports persistent, long-running services alongside databases, volumes, cron jobs, and object storage. Services are billed per second based on actual CPU and RAM consumption.
Vercel is a platform for deploying frontend applications and serverless functions. It connects to a Git repository, builds on every push, and delivers output through the Vercel Delivery Network. Vercel Functions run in a serverless execution model using Fluid Compute, which supports in-function concurrency and is enabled by default for new projects. Vercel does not host databases or run persistent server processes.
Cloudflare operates a global network that handles CDN, DNS, DDoS protection, WAF, and a developer platform built on top of that infrastructure. Workers is its serverless compute runtime, executing JavaScript and WASM at the edge. Containers, available on the Workers Paid plan, extends Workers to run any language or runtime as container instances spun up on-demand and controlled via Worker code. The developer platform also includes D1 (serverless SQLite), R2 (object storage), KV (key-value), Durable Objects (stateful compute), and Queues.
Railway, Cloudflare, and Vercel differ significantly in deployment model, storage support, pricing structure, and platform constraints.
Railway deploys services as persistent containers from a Git repo or Docker image. It supports TCP, HTTP, gRPC, and WebSockets, private networking at up to 100 Gbps, horizontal scaling via replicas (up to 42 on Pro), and preview environments per pull request.
Vercel builds and deploys on every Git push. Functions run via Fluid Compute, which supports in-function concurrency for Node.js and Python. Functions do not run persistent processes and there is no support for TCP or arbitrary port exposure.
Cloudflare Workers runs JavaScript and WASM at the edge across 300+ locations. Containers, available on the Workers Paid plan, runs container images spun up on-demand and controlled by Worker code. Git-driven deployments are available via Workers Builds, and Cloudflare Pages supports full-stack framework deployments.
Railway runs any open-source database as a service within a project, with persistent volumes, 3,000 read/write IOPS, backups, and object storage included.
Vercel does not host databases. Teams connect to external providers via the Vercel Marketplace. All databases live outside Vercel's infrastructure.
Cloudflare provides D1 (serverless SQLite), R2 (object storage, no egress fees), KV (global key-value), and Durable Objects (stateful compute). It does not host traditional managed databases such as Postgres or MySQL.
| Railway | Vercel | Cloudflare | |
|---|---|---|---|
| Free tier | 30-day trial with $5 credit, then $0/mo (limited) | Free (non-commercial Hobby plan) | Free (Workers and Network & CDN; usage limits vary by product) |
| Paid entry | $5/mo Hobby, $20/mo Pro | $20/mo Pro + additional usage | Workers: usage-based (free tier then per request/CPU ms); Containers: usage-based (free tier then per vCPU-second/GiB-second); Network & CDN from $20/mo (Pro) |
| Compute billing | Per second: $0.00000772 per vCPU/sec, $0.00000386 per GB/sec | Active CPU hours + provisioned GB-hours + invocations | Workers: $0.30/million requests + $0.02/million CPU ms; Containers: $0.000020/vCPU-second + $0.0000025/GiB-second |
| Egress | $0.05 per GB | $0.15 per GB | R2: free egress; Containers: $0.025/GB (NA/EU); Network & CDN: included in plan |
| Availability target (paid) | 99.99% Pro, 99.999% Enterprise | 99.99% Enterprise | 100% (Business and Contract, Network & CDN) |
Railway: documented service incidents have affected availability at scale (Railway app outage, is Railway good for production?). Log retention is 7 days on Hobby and 30 days on Pro. The free plan supports 1 project with no custom domains.
Vercel: Functions do not support persistent processes, TCP, or arbitrary ports (see Vercel backend limitations). Runtime log retention is 1 day on Pro, or 30 days with the Observability Plus add-on. The Hobby plan is non-commercial only.
Cloudflare: Workers has a 10ms CPU time limit per request on the free tier. While Git-driven deployments are available via Workers Builds and Cloudflare Pages supports full-stack frameworks, the platform has no unified control plane. Teams building beyond a single Worker need to manually compose and connect multiple products (Workers, Containers, D1, R2, KV, Durable Objects) rather than deploying to a single target (see Cloudflare containers alternatives, Cloudflare Workers alternatives).
Railway, Cloudflare, and Vercel each cover part of the stack. If you need persistent containers, native databases, workers, cron jobs, GPU workloads, and preview environments in one platform, without being constrained by serverless-only execution, modular primitives, or frontend-first architecture, Northflank is worth evaluating. It runs on managed cloud, BYOC, bare-metal, on-premises, or inside your own VPC.
Get started (self-serve) or book a demo to walk through your specific infrastructure requirements.
- Railway alternatives: platforms covering persistent services, databases, and workers
- Best Vercel alternatives for scalable deployments: options for teams hitting Vercel's backend constraints
- Best Cloudflare Workers alternatives: platforms for teams that need more than edge compute
| Capability | Railway | Vercel | Cloudflare |
|---|---|---|---|
| Persistent containers | Yes | No | Yes (Workers Paid plan) |
| Serverless functions | No | Yes (Fluid Compute) | Yes (Workers) |
| Edge compute | No | Partial (Edge runtime via Middleware) | Yes (300+ locations) |
| Native database hosting | Yes (open-source DBs as services) | No (marketplace integrations only) | Partial (D1, KV, Durable Objects) |
| Preview environments | Yes (per PR) | Yes (per deployment) | Yes (Pages per PR; Workers preview URLs) |
| Private networking | Yes (up to 100 Gbps) | No | Yes (Workers VPC, Cloudflare Mesh, Service Bindings) |
| TCP / arbitrary ports | Yes | No | Partial (inbound HTTP/WebSockets; outbound TCP supported) |
| Git-native CI/CD | Yes | Yes | Yes (Pages and Workers Builds) |
| WAF and DDoS protection | Basic | Yes (included on all plans) | Yes (core network product) |
| Availability target (paid) | 99.99% Pro | 99.99% Enterprise | 100% Business/Contract |
Railway fits teams deploying full-stack applications with persistent services, databases, and workers. The per-second billing model works well for services with variable load. Teams that want a visual project canvas and Git-connected deployments without writing infrastructure configuration will find it a close fit.
Vercel fits teams building frontend-heavy applications, Next.js projects, or serverless API layers where all backend logic can run inside short-lived function invocations. It is not a fit for applications that require persistent servers, TCP connections, or database hosting.
Cloudflare fits teams building edge-first applications where global low-latency execution matters, or teams already using R2, D1, and KV as storage primitives within the Workers ecosystem. Containers extends this to heavier workloads that require more CPU, memory, or a full Linux environment.
Northflank provides a deployment platform that covers persistent containers, managed databases, workers, cron jobs, and preview environments within a single control plane. It supports both CPU and GPU workloads, secure sandboxes for running AI-generated code, and persistent and ephemeral execution modes with no session limits.
Unlike Railway, it is built with platform engineering and DevOps workflows in mind, with environment-level RBAC, templated infrastructure, API-first configuration, and Kubernetes under the hood. Unlike Vercel, it supports persistent services and native database hosting without marketplace dependencies. Unlike Cloudflare, it provides a full-stack deployment target with Git-native CI/CD rather than a set of composable primitives.
Deployment options include managed cloud, bring-your-own-cloud (including bare-metal and on-premises), and customer VPC deployments, giving teams control over where their infrastructure runs without changing how they deploy.
Teams that use Cloudflare DNS can connect their domains directly to Northflank services. See the guide to adding a Cloudflare domain to Northflank for setup instructions.
For teams evaluating their options alongside Northflank:
- Railway alternatives
- Best Vercel alternatives for scalable deployments
- Best Cloudflare Workers alternatives
- Top Cloudflare containers alternatives
Get started with Northflank (self-serve), or book a demo if you have specific infrastructure requirements.
Railway runs persistent containers and supports any language, runtime, TCP connections, and database hosting within the same project. Vercel Functions do not support persistent processes, TCP, or arbitrary ports. For backend services that require a long-running process or a managed database, Railway is the more capable fit. Teams that also need GPU workloads or enterprise-grade controls can evaluate Northflank alongside Railway.
Workers handles HTTP request-response workloads at the edge with low latency and global distribution. Workers supports outbound TCP connections and WebSockets, but does not run persistent processes. For applications that require persistent servers, connection pooling, or traditional managed database access, Workers alone is not a replacement for a full backend runtime.
Vercel does not run persistent server processes. Vercel Functions execute on request and do not maintain state between invocations outside of external storage. Vercel does not provide database hosting; teams connect to external providers via the Vercel Marketplace.
Northflank's Sandbox tier includes always-on compute with 2 free services, 1 free database, and 2 free cron jobs at no cost, with paid compute starting at $0.01667/vCPU/hour and $0.00833/GB/hour. Cloudflare's free tier includes 100,000 Workers requests per day, 10 GB-month of R2 storage, and 5 GB of D1 storage. Railway's free plan is limited after the 30-day trial ($5 credit) and restricts projects and custom domains. Vercel's Hobby plan is free but restricted to non-commercial use.
Railway is a full-stack application deployment platform that runs persistent containers and databases. Cloudflare is a network, security, and edge compute platform. Railway fits teams deploying traditional web applications and APIs with persistent state. Cloudflare fits teams building edge-first applications or using its storage and serverless primitives. Teams that need full-stack orchestration with GPU support, BYOC, and enterprise-grade controls can also evaluate Northflank as an alternative to both.