---
title: "Deploy GoModel Lite"
description: "Single-instance AI gateway with SQLite and OpenAI/Anthropic APIs."
category: "AI/ML"
url: https://railway.com/deploy/gomodel-lite
---

# Deploy GoModel Lite

Single-instance AI gateway with SQLite and OpenAI/Anthropic APIs.

**[Deploy GoModel Lite on Railway](https://railway.com/template/gomodel-lite)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/gomodel-lite/manifest.json

- **Creator:** dardan
- **Category:** AI/ML

## Template content

### GoModel https://raw.githubusercontent.com/ENTERPILOT/GoModel/v0.1.90/docs/logo.svg

- **Image:** enterpilot/gomodel:0.1.90
- **Health check:** /health/ready
- **Public domain:** Yes

## Documentation

# 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](https://railway.com/deploy/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](https://docs.railway.com/volumes/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](https://gomodel.enterpilot.io/docs/providers/overview) or a reachable self-hosted model endpoint. Model hosting and inference credits are not included; provider charges are separate from Railway hosting.

### Deployment Dependencies

- [GoModel source](https://github.com/ENTERPILOT/GoModel) and [official Docker image](https://hub.docker.com/r/enterpilot/gomodel)
- [Production and security guidance](https://gomodel.enterpilot.io/docs/guides/production)

### Implementation Details

#### Get started after deployment

1. Find GoModel's public domain under **Settings → Networking** in Railway and open `https://YOUR_DOMAIN/admin/dashboard`.
2. Sign in with `GOMODEL_MASTER_KEY` from GoModel's **Variables** tab in Railway.
3. Open **Providers → Add Provider**, choose your provider type, paste its API key, and click **Save**.
4. 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](https://gomodel.enterpilot.io/docs).

### 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.


## Similar templates

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [stella](https://railway.com/deploy/stella) — Self-host stella with web, API, Postgres, Redis, and object storage.
- [Hermes Agent | OpenClaw Alternative with Dashboard](https://railway.com/deploy/hermes-agent-or-openclaw-alternative-wit) — Self-Hosted Hermes AI Agent for Telegram, Discord & Slack

Open this page in a browser: https://railway.com/deploy/gomodel-lite
