Railway monolith and worker architecture
One web service, one background worker, a serverless Postgres and object storage. The smallest real stack.
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.
| Node | Type | What it is | Projected |
|---|---|---|---|
| Web service | Compute | 1 GB RAM · light vCPU | from $12/mo |
| Background worker | Compute | 1 GB RAM · light vCPU | from $12/mo |
| Neon Postgres | Database | ~0.25 CU always-on + 1 GB | from $19/mo |
| Cloudflare R2 | Storage | 500 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.
Similar templates.
Vercel + Supabase app
The default modern startup stack: hosted front end, managed Postgres and auth, edge cache, payments.
Fly.io app and database
Machines close to users, Postgres in the same region, Redis for sessions and rate limits.
GPU batch on Modal
Bursty GPU work triggered from a queue, with inputs and outputs in cheap object storage.
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.