
Deploy Portkey AI Gateway
Fast open-source gateway routing requests to 250+ LLMs with one API
Portkey AI Gateway
Just deployed
Deploy and Host Portkey AI Gateway on Railway
Portkey AI Gateway is a small, fast AI gateway that gives one OpenAI-compatible API in front of many LLM providers, with fallbacks, retries and load balancing.
About Hosting Portkey AI Gateway
This template runs the official portkeyai/gateway:latest image. The gateway stores no secrets: provider API keys are sent by your clients with each request (or via Portkey headers), so nothing needs to be configured at deploy time. Open the public URL for the gateway page and point your OpenAI-compatible client at https:///v1.
Common Use Cases
- One endpoint for OpenAI, Anthropic, Gemini and many other providers
- Automatic fallbacks and retries between models
- Request routing and load balancing for LLM apps
Dependencies for Portkey AI Gateway Hosting
- One stateless service; nothing else
Deployment Dependencies
Why Deploy Portkey AI Gateway on Railway?
Railway gives you a public HTTPS URL, persistent storage where needed and automatic restarts with no server to maintain. Point your app at the Railway URL instead of the provider URL.
Template Content
Portkey AI Gateway
portkeyai/gateway:latest
