Deploy deltallm
Deploy DeltaLLM with managed PostgreSQL and Redis on Railway.
Just deployed
/var/lib/postgresql/data
deltallm
Just deployed
Redis
Just deployed
/data
Deploy and Host DeltaLLM on Railway
About Hosting
DeltaLLM is a self-hosted AI gateway with an OpenAI-compatible API, model routing, virtual API keys, spend tracking, guardrails, and an Admin UI.
This Railway template provisions:
- a
deltallmweb service - managed PostgreSQL
- managed Redis
- public HTTP networking for the Admin UI and gateway API
- a
/health/readinesshealthcheck
Why Deploy
Use this template when you want a managed DeltaLLM evaluation deployment without operating your own database, Redis instance, or container host. Railway provisions the app and backing services together, wires internal service URLs through reference variables, and keeps PostgreSQL and Redis data on managed volumes.
Common Use Cases
- Evaluate DeltaLLM with the Admin UI and OpenAI-compatible API.
- Route requests through virtual API keys and model deployments.
- Test spend tracking, guardrails, and provider credential management.
- Run a small managed gateway before moving to a production Kubernetes or dedicated-worker deployment.
Dependencies for DeltaLLM Hosting
Deployment Dependencies
This template deploys the public deltallm/deltallm:latest image with managed PostgreSQL and Redis services.
PostgreSQL and Redis variables are preconfigured with Railway's standard defaults. Change them only if you intentionally want custom database or cache settings.
Set these when deploying the template:
| Variable | Purpose |
|---|---|
DELTALLM_MASTER_KEY | Initial gateway credential for API calls |
PLATFORM_BOOTSTRAP_ADMIN_EMAIL | Initial Admin UI login email |
PLATFORM_BOOTSTRAP_ADMIN_PASSWORD | Initial Admin UI password |
DELTALLM_MASTER_KEY must be at least 32 characters and include letters and digits. The template generates DELTALLM_SALT_KEY per deployment and sets DELTALLM_CONFIG_PATH=/app/config.example.yaml so DeltaLLM loads the bundled Railway-safe config file.
After Deployment
- Wait for the
deltallmservice healthcheck to pass. - Open the generated Railway domain.
- Log in with
PLATFORM_BOOTSTRAP_ADMIN_EMAILandPLATFORM_BOOTSTRAP_ADMIN_PASSWORD. - Add provider credentials and model deployments in the Admin UI.
Read the full deployment guide in the DeltaLLM docs:
https://deltallm.readthedocs.io/en/latest/deployment/railway/
Template Content
deltallm
deltallm/deltallm:latestDELTALLM_MASTER_KEY
Set this yourself. Initial gateway API credential; use at least 32 characters with letters and digits.
PLATFORM_BOOTSTRAP_ADMIN_EMAIL
Set this yourself. Initial Admin UI login email.
PLATFORM_BOOTSTRAP_ADMIN_PASSWORD
Set this yourself. Initial Admin UI password; use at least 12 characters.
Redis
redis:8.2.1