Portkey AI Gateway replaces proprietary routing proxies with an open-source, self-hosted control plane for over 1,600 models and automated guardrails.
Vercel AI Gateway requires prepaid credits to unlock custom model routing and bring-your-own-key access, sending inference traffic through proprietary infrastructure. Portkey AI Gateway eliminates platform markups, allowing engineering teams to run an open-source proxy across hundreds of language models directly inside their own networks.
Vercel AI Gateway pairs well with frontends on Vercel, providing unified routing, response streaming, and tracing inside the Next.js workflow. However, custom API keys and full model catalogs require upfront platform credits and specific account tiers. When backend services, pipelines, or agent loops run outside Vercel on AWS or bare metal, routing requests through an external hosting platform introduces unnecessary latency, network hops, and billing dependencies.
Portkey AI Gateway eliminates intermediary platform tolls. Deployed as a container, Node.js process, or Cloudflare Worker in your virtual private cloud, you pay only for base compute and direct provider usage. Teams handling millions of tokens through smaller models or local vLLM instances can distribute traffic across multiple keys, trigger automatic fallbacks during provider outages, and cache responses without per-seat platform markups. In exchange, you own deployment, updates, and service monitoring.
Is Portkey AI Gateway free for commercial use? Yes. The core proxy is open source under the MIT license with no per-token charges or commercial seat fees.
Portkey AI Gateway vs Vercel AI Gateway — which should I choose? Choose Vercel AI Gateway for managed zero-maintenance routing if your entire stack already lives on Vercel; choose Portkey AI Gateway if you need private VPC hosting, support for non-Vercel runtimes, and direct provider billing.
Can I run Portkey AI Gateway in an air-gapped network? Yes. The gateway runs offline in private subnets to route internal requests to local inference servers like Ollama or vLLM.
Portkey AI Gateway is the right choice when engineering squads need granular control over model routing, fallback reliability, and token expenses without paying recurring platform fees; it is unnecessary for solo developers wanting hosted proxies managed by their frontend platform. Active development with ongoing commits and an MIT license that permits unconstrained internal deployment and custom modifications make it a dependable foundation for production AI infrastructure.
Go, gRPC and Protobuf done right, LLM agents in production, and the hard parts of shipping a first product.
Show that Portkey AI Gateway is listed as an open-source alternative. Paste into your README: