Portkey Gateway: what it does and how to run it
one OpenAI-compatible endpoint, 1,600+ models behind it: Portkey Gateway sits between your app and every major
Independent review. Some links are affiliate links; they never affect the verdict or the ranking. Full disclosure.
Portkey Gateway sits in the AI & Workflow section because that is the problem it solves. What follows is the project's own description, shortened; the notes after it are ours. The project describes it as: “One OpenAI-compatible endpoint, 1,600+ models behind it: Portkey Gateway sits between your app and every major LLM provider, deciding in real time where each request should go.
When a provider times out or returns errors, automatic retries with exponential backoff kick in, and fallback rules quietly move traffic to your second-choice model before users notice anything. Load balancing spreads calls across multiple API keys and providers by weight, conditional routing sends each request down a different path based on its content or metadata, and per-request timeouts cut off providers that hang. Guardrails inspect inputs and outputs as traffic passes through: block banned words, screen for sensitive content, and enforce the checks your compliance team…” The description above is the project's own; the practical question is whether it fits how you already work, which is what the comparison and the licence note below cover.
What Portkey Gateway actually does
This entry collects the essentials: what the project does, what licence it ships under, and where it fits next to the alternatives. Check the official site for the current feature list.
Who it is for
one OpenAI-compatible endpoint, 1,600+ models behind it: Portkey Gateway sits between your app and every major
How Portkey Gateway compares
These are the entries closest to Portkey Gateway on this site — same category, overlapping job. Licence and hosting model are the two columns worth reading first, because they decide your total cost more than the feature list does.
| Tool | Licence | Cost | Best for |
|---|---|---|---|
| Portkey Gateway This page | Free to self-host | one OpenAI-compatible endpoint, 1,600+ models behind it: Portkey Gateway sits between your app and… | |
| Activepieces | MIT | Free to self-host | Open source automation and AI workflow builder |
| AnythingLLM | MIT | Free to self-host | Your private all-in-one AI workspace |
| Dify | Apache-2.0 | Free to self-host | Build production LLM apps with a visual editor |
How to get Portkey Gateway running
- Pick the hostA 2 GB VPS covers most of these apps for a small team. If you would rather not run an operating system, a managed app host gives you a one-click container with backups and TLS included.
- Provision the runtimePortkey Gateway ships as a container image or a documented install script. Pin a
release tag rather than tracking
latest, so an upstream change never surprises you on a Friday. - Attach persistent storagePoint the data volume at a path you back up. Most of these apps keep everything — users, settings, history — in one database plus an uploads folder.
- Put it behind a domain with TLSAdd an A record, then terminate TLS at your proxy or at the host. Set the public URL in the app's environment before first login, because several apps bake it into links.
- Secure the admin accountChange the default credentials, enable 2FA where offered, and close registration unless the app is meant to be public.
- Schedule the first backupA nightly snapshot that you have actually restored once is worth more than any feature on this page.
Licence and cost
. No licence is listed for this entry, so treat redistribution rights as unclear until you check the project repository.
Self-hosting removes the subscription but not the work: patching, backups, monitoring and the odd 2am alert. Budget a few hours a month for a small deployment.
Questions people ask
Is Portkey Gateway free to use?
Yes. Portkey Gateway is released under an open licence, so you can install and run it without a subscription. No licence is listed for this entry, so treat redistribution rights as unclear until you check the project repository. Hosting and maintenance still cost money — a small VPS or a managed app host is the usual answer.
Can I self-host Portkey Gateway?
Yes — that is the point of this listing. You need a server with a supported runtime, persistent storage and a backup schedule. A managed app host removes most of the setup work if you would rather not maintain the operating system yourself.
What is a good alternative to Portkey Gateway?
Activepieces is the closest option in the same category on this site — Open source automation and AI workflow builder. It is worth comparing licence terms before you pick.
Who is Portkey Gateway aimed at?
Start with a single team and a single workflow rather than rolling it out to the whole company at once.