[UNTESTED] [aalfath/gpt-load-railway-template] 1 endpoint(s)
ChatGPT
API Proxy/ChatGPT
2,229 characters
Status: [LIVE]
Endpoints found:
https://railway.com/button.svg)](https://railway.com/new/template/gpt-load?utm_medium=integration&utm_source=button&utm_campaign=gpt
Source: https://github.com/aalfath/gpt-load-railway-template
[](https://railway.com/new/template/gpt-load?utm_medium=integration&utm_source=button&utm_campaign=gpt-load)
# GPT-Load on Railway
A one-service [Railway](https://railway.com) template for [GPT-Load](https://www.gpt-load.com/v1), the self-hosted AI API proxy by [tbphp](https://github.com/tbphp/gpt-load). It keeps pools of upstream API keys for OpenAI, Gemini and Anthropic-format services, rotates and load-balances them, blacklists failing keys, and logs every request.
## What it deploys
| Service | Source | Version | Storage |
|---|---|---|---|
| `GPT-Load` | this repo's `Dockerfile` | GPT-Load **1.4.14** (`ghcr.io/tbphp/gpt-load:v1.4.14@sha256:73b57783…2974d`) | volume on `/app/data` |
- Public HTTPS domain on port 3001, health check `GET /health`, restart on failure.
- GPT-Load keeps its SQLite database (`/app/data/gpt-load.db`) on the volume, so groups, keys, settings and request logs survive redeploys and updates.
- `railway-start.sh` starts GPT-Load and, once, replaces the first-boot App URL (`http://localhost:3001`) with `APP_URL`. If you change App URL under **Settings** later, it's left alone.
- Without `REDIS_DSN` it uses its in-memory cache, which is fine for a single instance.
- This is the stable 1.x line. GPT-Load 2.0 is still a release candidate; the template moves to it once 2.0 is stable.
## Variables
| Variable | Default | Why |
|---|---|---|
| `AUTH_KEY` | generated, 40 characters | The admin key: you log in to the web UI with it, and it's the first global proxy key |
| `ENCRYPTION_KEY` | generated, 64 characters | Encrypts the upstream API keys stored in the database. Keep it: if it's lost, the stored keys can't be decrypted |
| `APP_URL` | `https://${{RAILWAY_PUBLIC_DOMAIN}}` | Public URL. On first boot the start script saves it as GPT-Load's **App URL** setting, which the UI uses to show each group's proxy endpoint |
| `PORT` | `3001` | Port GPT-Load listens on; the Railway domain targ