Railway monolith and worker architecture

One web service, one background worker, a serverless Postgres and object storage. The smallest real stack.

PaaSrailwayneonworkermonolith
Web service1 GB RAM · light vCPUBackground worker1 GB RAM · light vCPUNeon Postgres~0.25 CU always-on + 1 GBCloudflare R2500 GB · no egress fee
4 nodes. Drawn by the same layout the product uses.
What is in it

Every resource, and what it costs.

Projections from August 2026 list prices for always-on resources. Connect an account and these become the figures your provider actually bills.

Resources in the Railway monolith and worker template with projected monthly cost.
NodeTypeWhat it isProjected
Web serviceCompute1 GB RAM · light vCPUfrom $12/mo
Background workerCompute1 GB RAM · light vCPUfrom $12/mo
Neon PostgresDatabase~0.25 CU always-on + 1 GBfrom $19/mo
Cloudflare R2Storage500 GB · no egress fee$8.00/mo

Agent steps are priced from provider-reported token usage once the agent runs, not estimated. Guardrails cost nothing and are the reason a runaway agent cannot. 3 rows show from because those services bill by usage, so the total is a scenario at the stated volumes, not a quote.

Open Railway monolith and worker on the canvas.

It loads as an editable graph. Connect an account or instrument an agent and the projected figures above become measured ones.