Convex vs Railway: which one does your ai app actually need?

updated · #3 vs #5 in backend, database & deploy · prices checked

Railway8.0#3 of 5 in backendsame since nov 21form: held its place every day for 5 days
Convex7.5#5 of 5 in backendsame since nov 21form: held its place every day for 5 days

which one should you use?

need a live-updating TypeScript backend where every screen stays in sync? Convex. need somewhere to run your API, worker or agent all day, with a database next to it? Railway. Railway ranks higher on our board, but they do different jobs, and plenty of apps use both.

Railway ranks higher on our board: #3 vs #5 of 5 backends, 8.0/10 vs 7.5/10.

#3 of 5 in backends

Railway

numptr says8.0/10

deploy the lot, pay for what you use. no faff.

best for
long-running backends, workers, agents
why 8.0
$5 Hobby minimum is about as low as it gets.

full Railway review

#5 of 5 in backends

Convex

numptr says7.5/10

realtime TypeScript backend. not Postgres, and proud of it.

best for
TypeScript devs wanting realtime sync
why 7.5
great for live apps. enterprise minimum is eye-watering.

full Convex review

who wins for which job

realtime sync for TypeScript apps

Convex

best for: TypeScript devs wanting realtime sync.

long-running backends, workers and agents

Railway

best for: long-running backends, workers, agents.

a free plan you can sell things on

Convex

Convex free tier: free & Starter: $0 then pay as you go. Railway: 30-day trial with $5 credits, then a limited free plan (signups reopened nov 2, 2026 after the oct security incident, but new accounts must pick Hobby or Pro before deploying; free trial deploys still unavailable for now).

overall, on our scores

Railway

#3 of 5 backends, 8.0/10. Convex: #5, 7.5/10.

the differences, side by side

rank

Railway#3 of 5 in backends

Convex#5 of 5 in backends

numptr score

Railway8.0/10

Convex7.5/10

best for

Railwaylong-running backends, workers, agents

ConvexTypeScript devs wanting realtime sync

free tier

Railway30-day trial with $5 credits, then a limited free plan (signups reopened nov 2, 2026 after the oct security incident, but new accounts must pick Hobby or Pro before deploying; free trial deploys still unavailable for now)

Convexfree & Starter: $0 then pay as you go

paid plans

RailwayHobby $5 minimum (includes $5 usage); Pro $20 minimum (includes $20 usage)

ConvexProfessional $25/developer/mo; Business & Enterprise $2,500/mo minimum

price checked

Railway2026-11-27 at railway.com/pricing

Convex2026-11-27 at convex.dev/pricing

# straight from our rankings data. prices from each vendor's own page.

pick neither if

quick answer: convex vs railway isn't a punch-up, it's complementary jobs. Railway is #3 of 5 on our backends board at 8.0/10 because it deploys the code that has to stay up: APIs, queue workers, agents, with a Postgres template on the same canvas. Convex is #5 (7.5/10) and does a different job: a reactive TypeScript backend where queries are live subscriptions over WebSockets, mutations are transactions, and actions call your LLM. Railway will host whatever you write, including a front end, but it doesn't give you Convex-shaped live sync; Convex doesn't host your Next.js app or an always-on worker. most builders pick one for the backend job they actually have, or use both. as of nov 8, 2026, Railway signups are open again, but new accounts still need Hobby or Pro before deploying.

the short version

Railway Convex
our rank #3, 8.0/10 #5, 7.5/10
what it is a platform that deploys your apps, databases, workers and agent sandboxes a reactive database where your queries are TypeScript functions running in the database
your code runs as always-on services, billed per second for CPU, memory and disk as Convex queries, mutations and actions; the client stays subscribed over WebSockets
database one-click Postgres template (official image), optional high availability, pgvector from the template marketplace document-relational (cloud on PlanetScale MySQL underneath); not Postgres
previews environments on the project; you wire preview deploys yourself preview deployments on every plan
free free trial deployments paused for new accounts as of nov 2, 2026 (see below) free & Starter: $0 then pay as you go
paid Hobby $5 minimum (includes $5 usage); Pro $20 minimum (includes $20 usage) Professional $25/developer/mo; Business & Enterprise $2,500/mo minimum

ranks and scores come straight from our backend board, and nobody pays to move up it.

why Railway ranks higher

it runs anything that has to stay up. your API, the queue worker, the agent loop and the Postgres they talk to, side by side in one project. that's what our board rates it for: long-running backends, workers and agents. Convex actions are serverless functions for things like calling an LLM or sending email; they are not a process you leave running all night.

pay for what actually runs. CPU, memory and disk are billed by the second (about $20 per vCPU and $10 per GB of memory a month if left on), volumes $0.15 per GB-month, egress $0.05 per GB. stopped services cost nothing. Hobby is $5 a month including $5 of usage; Pro is $20 a month per workspace with $20 included and unlimited seats.

Postgres next door. add Postgres from the project canvas, connect with the DATABASE_URL it hands you, convert it to a high availability cluster when you need it, and grab a pgvector template from the marketplace. it's the official Docker image with SSL, private by default. change the image, start command or variables and Railway says it's yours to manage.

sandboxes for agents. Railway Sandboxes are isolated Linux VMs for agents, builds and untrusted code, billed on the CPU actually used and memory held, so a sandbox waiting on a model costs almost nothing.

the honest bit: Railway paused new signups after its oct 21, 2026 security incident and reopened them on nov 2, 2026 (status update at 2:19 PM ET), but new accounts must subscribe to Hobby or Pro before deploying, and free trial deployments are still unavailable. so for anyone new, Railway costs at least $5 a month from day one. if you signed up before oct 21, Railway recommends rotating the keys you store there. it's also less of a realtime backend: you still write the subscription plumbing, or you add something like Convex next to it. more in Vercel vs Railway, Neon vs Railway and Supabase vs Railway.

where Convex wins

realtime is the whole point, not a feature. a Convex query is a TypeScript function, and the client subscribes to it. when any data that query read changes, Convex reruns it and pushes the new result down the WebSocket. useQuery in React and the component just updates. no subscription plumbing, no cache invalidation. a Railway service is a running process you deploy; it doesn't keep that live sync for you.

the backend code lives with the data. mutations are transactions with no begin or end to write and retry on conflicts, queries are read-only, and actions are where you call your LLM or send emails. crons, the scheduler, file storage, auth and text and vector search are on every plan. with Railway alone you still write or bolt on that state layer yourself, or you drop in Postgres and build it.

it suits ai-written code. end-to-end types and no SQL means your coding agent writes the backend in the same TypeScript as the front end. Convex makes that pitch itself; we'd say it's fair for TypeScript shops, less so if your team thinks in SQL.

the free plan doesn't care if you charge money. free & Starter is $0 then pay as you go: as of nov 8, 2026 that's 1M function calls, 0.5 GB of database storage, 1 GB of file storage, 20 GB-hours of action compute, 1 GB of database i/o and 1 GB of egress included, with pay-as-you-go rates past that. Professional is $25 per developer a month (25M calls and 50 GB of database storage included), and Business and Enterprise has a $2,500 monthly minimum, which is a proper cliff if you outgrow it. no non-commercial rule on the pricing page, unlike some hosts.

the honest bit: it's not Postgres. it's a document-relational database (the cloud runs on PlanetScale MySQL underneath), so your SQL, your ORM and most of your Postgres tooling stay at home. vector search only runs in actions, so those results aren't reactive. and Convex still needs a host for the Next.js front end, and it won't run the always-on worker Railway is for. more in Convex vs Neon, Convex vs Supabase and Convex vs Vercel.

can i use both?

yes, and it's a sensible split when you want live TypeScript state and a process that never sleeps. Convex's custom hosting docs say you can serve a static front end from any host (they walk through GitHub pages) while npx convex deploy pushes the backend; for Next.js they name hosts that run server code, such as Vercel or Netlify. Railway isn't listed there (the official hosting guides cover Vercel, Netlify and custom/static hosts), but it deploys from a GitHub repo or a Docker image, and Convex's CLI uses a CONVEX_DEPLOY_KEY in CI, so you can wire that up yourself. there is no Convex marketplace tile on Railway the way there is on Vercel.

which should you pick?

the rest of the field

the table: the rest of the field
rank tool best for free tier paid from numptr score
#3 Railway long-running backends, workers, agents 30-day trial with $5 credits, then a limited free plan (signups reopened nov 2, 2026 after the oct security incident, but new accounts must pick Hobby or Pro before deploying; free trial deploys still unavailable for now) Hobby $5 minimum 8.0/10
#5 Convex TypeScript devs wanting realtime sync free & Starter: $0 then pay as you go Professional $25/developer/mo 7.5/10
#1 Supabase full-stack ai apps needing auth and vectors 500 MB DB, 50K MAU; pauses after 1 week inactive; limit of 2 active projects Pro from $25/mo 9.0/10
#4 Neon spiky workloads, per-PR database branches 100 projects, 100 CU-hours, 1 GB storage and 5 GB egress per project, 20 GB storage total across all projects, no credit card Launch: usage-based, $0.106/CU-hour + $0.35/GB-month 8.0/10
#2 Vercel front ends and serverless ai routes Hobby $0 (personal, non-commercial) Pro $20/mo including $20 usage credit 8.5/10

faq

is Railway better than Convex?

on our board, Railway is #3 (8.0/10) and Convex #5 (7.5/10). Railway wins for long-running code; Convex wins when you want a live TypeScript backend with subscriptions built in. most ai apps that need both an always-on process and realtime sync use one of each.

can i use Convex with Railway?

yes. Convex runs the reactive backend; Railway can host the front end or the always-on worker next to it. Convex's official hosting guides cover Vercel, Netlify and custom/static hosts, not Railway by name, so you wire a deploy key and npx convex deploy yourself rather than clicking a marketplace tile.

does Railway replace Convex as a realtime backend?

not really. Railway will run whatever server you write, including one that pushes updates, but you build that plumbing. Convex's queries are live subscriptions over WebSockets from the first useQuery. if realtime TypeScript sync is why you looked at Convex, stay on Convex.

Convex vs Railway pricing: which is cheaper?

they bill for different things. Convex free & Starter is $0 then pay as you go (1M function calls and 0.5 GB of database storage included), then Professional at $25 per developer a month, with Business and Enterprise from a $2,500 monthly minimum. Railway lists a free trial and a $0 plan, but new accounts have to pick Hobby or Pro before deploying for now. Hobby is $5 a month with $5 of usage, and Pro is $20 a month per workspace with $20 included and unlimited seats. a Convex-only app can stay on $0 until it outgrows the included amounts; a new Railway deploy costs at least $5 a month today.

which free tier is better for a side project that makes money?

Convex's free & Starter: $0 then pay as you go, with no non-commercial rule on the pricing page. Railway's pricing page still lists a free trial and a free plan, but as of nov 8, 2026 its status page says new customers must subscribe to Hobby or Pro before deploying, and free trial deployments remain unavailable.

sources

checked 2026-11-08, ~00:55 ET

numptrlast price check 243 prices 76 toolsbuild 35a7f2c6e · nov 28