Self-host a LiteLLM AI gateway on Railway: one API for 100+ LLMs, with budgets and virtual keys A developer built and published a one-click Railway template that self-hosts LiteLLM as an AI gateway, exposing a single OpenAI-compatible endpoint for 100+ LLM providers with per-app virtual keys, budgets and spend tracking. The template pins stable image tags rather than floating ones and requires operators to back up the LITELLM_SALT_KEY, which encrypts stored provider credentials. The author notes the template is unofficial and not affiliated with BerriAI, LiteLLM's maintainer. If your apps call OpenAI, Anthropic, OpenRouter and Gemini, you end up with provider keys copied everywhere and no idea who spent what. LiteLLM fixes that: one OpenAI-compatible endpoint, virtual keys per app or team, budgets and spend tracking. I made a one-click Railway template for it. latest , main-stable for a few hours. This template never uses floating tags. admin with UI PASSWORD from the LiteLLM service variables Back up LITELLM SALT KEY , since it encrypts the stored provider keys. Links: template https://railway.com/deploy/litellm-ai-gateway-1 https://railway.com/deploy/litellm-ai-gateway-1 · repo https://github.com/TalhaRamzan/railway-litellm-gateway https://github.com/TalhaRamzan/railway-litellm-gateway · LiteLLM https://github.com/BerriAI/litellm https://github.com/BerriAI/litellm Disclosure: I built this template. Unofficial, not affiliated with BerriAI.