A Railway alternative where idle code waits in storage
A quiet service should cost what it ran.
Railway meters CPU and memory per second, so a service that runs all month is billed for all month. LILY compiles your repository into WebAssembly functions on bare metal. A function exists while it runs, entry points stay hot, and the rest of the program waits in storage until it is called.
On this page
2,592,000 seconds
Seconds in a 30-day month. Railway bills CPU and memory for each one your service is up, visitors or not.[1]
Why teams look for a Railway alternative
A running service is metered for every second it is up
Railway bills CPU at $0.00000772 per vCPU-second, about $20 per vCPU-month, and memory at $0.00000386 per GB-second, about $10 per GB-month, on top of the plan fee. Egress is $0.05 per GB and volume storage about $0.15 per GB-month.[1]
Usage is counted per second, so a stopped service costs nothing and a service that stays up all month accrues CPU and memory for the full period, whether requests arrive or not.[1]
The included usage is small and resets every cycle
The Hobby plan is $5 a month with $5 of usage included, and Pro is $20 a month per workspace with $20 included. Railway charges the full usage amount once it passes the included credit, and unused credit does not roll over to the next cycle.[1]
Railway and LILY side by side
Railway facts as Railway publishes them, checked 22 November 2026. LILY facts as our docs and pricing page state them.
| Compared | Railway | LILY |
|---|---|---|
| What runs | Services built from your code, or from a Dockerfile when the repository has one, running as long as they are up.[4] | Your repository compiled into WebAssembly functions. A function exists while it runs. |
| Compute billing | Per second: about $20 per vCPU-month and $10 per GB-month of memory.[1] | A monthly plan sets the frame and credits bill what actually ran. |
| Free use | A $5 trial credit for 30 days, then a Free plan with $1 of usage a month.[1] | A free tier with a fixed quota and no card. |
| Scaling | Each service scales up to the plan's vCPU and memory limits; you add replicas by hand in the service settings.[2] | Each function scales on its own load. |
| Languages | Any language that builds from your code or from a Dockerfile.[4] | C, C++ and Rust in full. Most JavaScript, Next.js included. Python is not supported yet. |
| Where it runs | California, Virginia, Amsterdam or Singapore, chosen per service.[3] | Bare metal from data-center partners. EU customers can stay on servers in Germany. |
- What runs
- RailwayServices built from your code, or from a Dockerfile when the repository has one, running as long as they are up.[4]
- LILYYour repository compiled into WebAssembly functions. A function exists while it runs.
- Compute billing
- RailwayPer second: about $20 per vCPU-month and $10 per GB-month of memory.[1]
- LILYA monthly plan sets the frame and credits bill what actually ran.
- Free use
- RailwayA $5 trial credit for 30 days, then a Free plan with $1 of usage a month.[1]
- LILYA free tier with a fixed quota and no card.
- Scaling
- RailwayEach service scales up to the plan's vCPU and memory limits; you add replicas by hand in the service settings.[2]
- LILYEach function scales on its own load.
- Languages
- RailwayAny language that builds from your code or from a Dockerfile.[4]
- LILYC, C++ and Rust in full. Most JavaScript, Next.js included. Python is not supported yet.
- Where it runs
- RailwayCalifornia, Virginia, Amsterdam or Singapore, chosen per service.[3]
- LILYBare metal from data-center partners. EU customers can stay on servers in Germany.
Moving an app from Railway to LILY
A Rust or C++ service on Railway moves with its repository, and most JavaScript runs too, Next.js included. LILY builds from the code itself, so there is no Dockerfile to write and no replica count to set.
- 1
Connect the GitHub repository in the console, or run lly deploy in a clone of it.
- 2
Confirm the apps LILY detected, with their variables and the port they listen on.
- 3
LILY builds from GitHub and follows the build until the app is live on a lilylabs.app address. Add your own domain when you are ready.
# install, then sign in
curl -fsSL https://get.lilylabs.io/install.sh | sh
lly login
# in a clone of your GitHub repository
lly deploy
lly attach <app>Commands as the CLI docs list them. The console walks through the same steps in the browser, described in How to deploy on LILY.
When Railway is the better choice
Your service needs Postgres, Redis or a persistent volume next to it. Railway runs them on the same project canvas. LILY does not offer databases or storage yet.
Your service ships as a Docker image. Railway deploys images. Docker images are not a fit for LILY yet.
Your service is written in Python or Go. Railway builds both. Python is not supported on LILY yet, and Go cannot be built on LILY yet.
What LILY runs today
- C, C++ and Rust compile to it in full.
- Most JavaScript runs too, Next.js included.
- Python is not supported yet.
- Apps that ship as Docker images or need GPUs are not a fit yet.
A plan fee plus usage: Hobby is $5 a month and Pro is $20 a month per workspace, each with the same amount of usage included. CPU, memory, egress and volume storage are metered per second or per GB on top, per Railway's pricing page.
Entry points stay hot. The rest of the program waits in storage until it is called, and each function scales on its own load.
If it is written in C, C++, Rust or JavaScript and lives in a GitHub repository, yes. Connect the repository in the console or run lly deploy in a clone, then confirm the detected apps, variables and port.
LILY is live in early beta and changes quickly. Every release is listed in the changelog.
Sources, checked 22 November 2026
- [1] Railway, Pricing
- [2] Railway Docs, Scaling
- [3] Railway Docs, Deployment Regions
- [4] Railway Docs, Dockerfiles
Railway is a trademark of its owner. LILY is not affiliated with or endorsed by Railway. Prices and limits change; the linked pages are the current word.