Railway
Gold Sponsor · Deployment & Hosting
Railway V3 — faster and cheaper

Ship TanStack apps
peacefully with Railway

Railway gives TanStack teams a single place to run app services, databases, and supporting infrastructure. Deploy a TanStack Start app from GitHub or the CLI — and only pay per-second for the compute you actually use.

"Services that took 1 week to configure elsewhere take 1 day to spin up in Railway." — Daniel Lobaton, CTO at G2X

No credit card required. $5 in trial credits on signup.

2M+
Developers on Railway
< 2 min
Time to first deploy
100 Gbps
Private networking
$0
To get started

Why TanStack teams choose Railway

Railway eliminates infrastructure complexity so your team ships faster. Here's what makes it the right fit for TanStack developers.

Node service deploys

TanStack Start builds a Node server for SSR, server functions, and static assets. Railway deploys it as a standard Node service.

Live PR previews

Every pull request spins up its own environment. Test routing, data, and server logic before merging.

Logs, metrics, and alerts

Observability is built in. Pipe custom alerts to Slack, Discord, or email without a third-party agent.

100 Gbps private networking

Services in a project talk over private IPs at 100 Gbps. HTTP, TCP, gRPC, and WebSockets handled for you.

One-click rollbacks

Every deploy is versioned. Roll back to a previous deployment instantly when something breaks.

Hard spending limits

Set a hard cap on what a project can spend. Billing is per-second, so you only pay for actual compute.

Global regions

Run your app close to your users. Pro and above can deploy to multiple regions concurrently.

Unlimited environments

Spin up as many staging, preview, or branch environments as your team needs. No per-env fees.

From zero to deployed in 4 steps

Railway runs TanStack Start as a standard Node service. Add Nitro to your Vite config, then deploy from GitHub or the Railway CLI.

01
Create your TanStack app
npx @tanstack/cli@latest create
02
Install Nitro
npm install nitro
03
Add Nitro to Vite
nitro()
04
Deploy
railway init && railway up
vite.config.ts
import { defineConfig } from 'vite'
import { tanstackStart } from '@tanstack/react-start/plugin/vite'
import { nitro } from 'nitro/vite'
import viteReact from '@vitejs/plugin-react'

export default defineConfig({
  plugins: [tanstackStart(), nitro(), viteReact()],
})
terminal
# From your TanStack Start app directory
railway init
railway up

Works with every TanStack library

From full-stack apps with TanStack Start to lightweight React apps using Router and Query — Railway deploys them all.

StartRouterQueryTableFormDBAIVirtualPacerStoreDevtoolsCLI
TanStack Start

Full SSR, streaming, and server functions run on Railway as a standard Node service built through Nitro.

TanStack Router

File-based routing apps deploy in SSR and SPA modes. PR previews mean every route change gets a live test environment.

TanStack Query

Pair with Railway-managed Postgres or Redis. Private networking keeps your server queries inside Railway's infrastructure.

TanStack DB

Railway's managed databases integrate with TanStack DB's sync engine via 100 Gbps private networking.

Pricing that scales with you

Railway charges by the second based on actual usage — not provisioned box sizes. Most TanStack hobby projects run free or under $5/month.

Free
$0
30-day trial with $5 credits
  • Up to 1 vCPU / 0.5 GB RAM
  • 0.5 GB volume storage
  • Community support
  • No credit card required
Hobby
$5
min/month · includes $5 credits
  • Up to 48 vCPU / 48 GB RAM
  • Up to 5 GB storage
  • 7-day log history
  • Global regions
Most popular
Pro
$20
min/month · includes $20 credits
  • Up to 1,000 vCPU / 1 TB RAM
  • Up to 1 TB storage
  • 30-day log history
  • Unlimited workspace seats
  • Concurrent global regions
Enterprise
Custom
for teams at scale
  • Up to 2,400 vCPU / 2.4 TB RAM
  • 90-day log history
  • SSO + RBAC + HIPAA BAA
  • Dedicated VMs
  • Bring your own cloud
Memory
$0.000004 / GB·sec
CPU
$0.000008 / vCPU·sec
Egress
$0.05 / GB

What teams say after switching

Real teams, real bills. These are quotes from founders and engineers who moved their production workloads onto Railway.

"We cut our hosting costs by 75% migrating from Heroku to Railway."
Dillon Chen
Founder at Common
"I've moved $4.5k/month from AWS and $1k/month from Heroku. My Railway bill is about $300/month."
John Nunemaker
Founder at BoxOutSports
"We went from a $1,600 Heroku bill to a $300 Railway bill."
Brandon Gell
Head of Consulting at Every
Move your app to RailwayPer-second billing · no credit card required

Frequently asked questions

Common questions from TanStack developers evaluating Railway.

Yes. TanStack Start builds a Node server for SSR, streaming, server functions, and static assets. Follow the Nitro setup in the Start hosting docs, then deploy that Node service to Railway.

Absolutely. Railway lets you provision Postgres, MySQL, Redis, or MongoDB in the same project as your app. They communicate over Railway's 100 Gbps private network — no VPC setup needed.

Railway charges by the second based on actual CPU and memory usage — not provisioned box sizes. The Hobby plan starts at $5/month (which includes $5 of credits). Most hobby TanStack projects run for free or under $5/month.

Railway is a full-stack cloud — not just a frontend host. You can run your TanStack app server, managed databases, background workers, cron jobs, and private networking all in one project. Railway also has hard spending limits, which no other major cloud provider offers.

Yes — every pull request automatically gets its own live preview environment. For TanStack teams, this means you can test routing changes, data fetching behavior, and server logic before merging.

Yes. If your app already builds to a Node server or has a Dockerfile, Railway can deploy it from GitHub. For TanStack Start, make sure the Nitro Vite setup and Node start script are in place.

Railway V3 — now faster and cheaper

Ready to ship TanStack peacefully?

No credit card required. No surprise bills. Pay only for what you use.

Most customers save ~40% by switching to Railway.

Railway is a Gold-tier TanStack sponsor. Browse all TanStack partners. railway.com