Deploy GoModel Lite
Single-instance AI gateway with SQLite and OpenAI/Anthropic APIs.
GoModel
Just deployed
/app/data
Deploy and Host GoModel Lite with Railway
GoModel is a lightweight, open-source AI gateway with OpenAI-compatible and Anthropic-compatible APIs. Connect applications to multiple model providers through one endpoint, with streaming, model routing, and a built-in dashboard. Manage provider access, create application API keys, and track token usage and estimated costs in one place.
About Hosting GoModel Lite
Choose this template if… you want the simplest GoModel setup: one service, persistent data, and no separate database to manage. For shared caching and multiple GoModel instances, choose GoModel.
Lite uses the same GoModel software in a single-instance setup. SQLite on an attached volume stores usage history, managed keys, and configuration. HTTPS and an administrator key are configured automatically. No provider key is needed to deploy; bring your own provider access to make model requests. Redeployments briefly interrupt service; configure volume backups before relying on it for production.
Common Use Cases
- Connect AI applications to multiple providers through a consistent API.
- Route agents and coding tools through your own gateway.
- Track token usage and estimated costs by application.
- Manage model aliases, provider failover, and application API keys.
Dependencies for GoModel Lite Hosting
- A Railway volume for SQLite data; included and configured.
- Access to a supported provider or a reachable self-hosted model endpoint. Model hosting and inference credits are not included; provider charges are separate from Railway hosting.
Deployment Dependencies
Implementation Details
Get started after deployment
- Find GoModel's public domain under Settings → Networking in Railway and open
https://YOUR_DOMAIN/admin/dashboard. - Sign in with
GOMODEL_MASTER_KEYfrom GoModel's Variables tab in Railway. - Open Providers → Add Provider, choose your provider type, paste its API key, and click Save.
- Open Playground. Once model discovery finishes, select a chat model, type “Say hello”, and click Send to make your first request.
Dashboard-added provider keys are stored as plaintext; prefer Railway variables for production. Audit-body logging is disabled by default.
For API integration, routing, and other advanced usage, see the GoModel documentation.
Why Deploy GoModel Lite on Railway?
Run your gateway with HTTPS, persistent storage, logs, and resource metrics without maintaining a server. Keep the setup small and increase the service's CPU and memory as needed.
Template Content
GoModel
enterpilot/gomodel:0.1.90