Best LLM Gateways in 2026

LLM gateways put one API in front of many model providers and handle routing, fallbacks, caching, guardrails, cost controls and logging in one place. The right one depends on whether you need routing alone, or routing with security and observability built in.

12 gateways compared · Updated 2026-10-26

Top 5 LLM gateways

Ranked on reliability, security, visibility, compatibility, deployment options and pricing clarity.

How the best LLM gateways compare

What each one does well, where it falls short and who should pick it.

#1

Spro

Hosted gatewayTop pick

OpenAI-compatible gateway with routing, guardrails and observability built in

Spro is a unified AI gateway that sits between your application and AI providers. It gives you one OpenAI-compatible endpoint for models from OpenAI, Anthropic, Google, DeepSeek, xAI, Mistral, Moonshot AI, MiniMax, Z.AI, Qwen, Meta Llama and more, and it speaks the Chat Completions, Responses and Anthropic Messages APIs, so most apps migrate by changing a base URL and an API key. Every model is billed at the provider's price with 0% markup on tokens.

Where Spro differs from a plain router is what is built into the gateway itself. When a model is served by more than one provider, Spro fails over between them and skips a provider that has just failed for 60 seconds, and you can send your own fallback chain or pin a provider. Exact-match and semantic caching are opt-in per request, with an x-spro-cache header that tells you whether you got a hit. Input and output guardrails cover sensitive information, content moderation, language filters and adversarial input such as prompt injection, with log, warn, block or redact actions.

Strengths

  • Guardrails, caching, tracing and alerts are part of the gateway, not separate products to buy and wire up
  • 0% markup on tokens, so model cost matches the provider's price
  • Free models available alongside paid ones, and a free plan to start

Tradeoffs

  • Hosted only: there is no self-hosted option
  • Younger ecosystem than long-running open-source gateways

Best for: Teams that want one API for every model with security guardrails, tracing and cost controls included, not bolted on. · Free trial · 0% markup on tokens

#2

OpenRouter

Hosted gateway

One OpenAI-compatible API for hundreds of models from many providers

OpenRouter started in early 2023 as an LLM marketplace and describes itself as the largest AI gateway. It gives you one OpenAI-compatible API, one key and one bill for 500+ models from 80+ providers, and its About page cites 700T+ tokens a month and 10M+ users. Inference is billed at each provider's list price; OpenRouter's revenue comes from a fee on credit purchases, 5.5% on Standard and 8% on Business, never on individual requests.

By default OpenRouter load-balances across providers, prioritizing price and deprioritizing any provider that had an outage in the last 30 seconds. You can steer it with sort options (price, throughput or latency), pin or exclude providers, set max prices, require ZDR or data-collection policies, and use model variants such as :nitro, :floor and :exacto. If a provider errors, the request falls back to the next one, and errored attempts are not billed for tokens.

Strengths

  • Very broad catalog behind one key, one bill and one SDK
  • Inference billed at provider list price on every plan
  • Nothing to host or operate

Tradeoffs

  • 5.5% (Standard) or 8% (Business) fee on every credit purchase
  • Free models are capped at 50 requests a day until you buy credits

Best for: Developers who want one key and one bill for many models without running any infrastructure. · Free · 5.5% fee on credit purchases

Spro vs OpenRouter
#3

Respan

Hosted gateway

AI router with built-in observability and automated evals

Respan (formerly Keywords AI) is an AI router with built-in observability and automated evals, aimed at teams running AI agents and LLM apps in production. Its gateway gives you one OpenAI-compatible API for 1,000+ models across the major providers, and switching models is a one-word change. Respan was founded in 2024, is based in San Francisco and lists a team of 1-10 people.

You set a fallback chain once, at the organization level or per request, and Respan moves to the next model when a provider errors or rate-limits. Failed requests retry automatically, traffic can be load-balanced across providers and models, and exact repeat requests are served from cache with a configurable TTL. Hard spend limits per key, per customer or organization-wide stop requests at the ceiling rather than only alerting, and costs break down by model, request and end customer.

Strengths

  • Gateway, tracing and evals in one platform, so every metric ties back to the request behind it
  • No processing fee on Respan credits, and provider discounts are passed through
  • Hard spend caps that block requests, not just alert

Tradeoffs

  • Adds roughly 30-40ms of latency from routing through a gateway layer
  • Newer platform with a smaller community than established tools

Best for: AI engineering teams that want routing, observability and evals in one platform. · Free · Team $199/month

Spro vs Respan
#4

Portkey

Hosted gateway

AI gateway with observability, guardrails and prompt management

Portkey is an AI gateway that combines routing with observability, guardrails, governance and prompt management. Its core gateway is open source under the MIT license and can be self-hosted, and its docs describe a unified interface to 250+ models; its homepage cites 1,600+ LLMs and 3,000+ GenAI teams. Note that its site now carries a banner saying Portkey is becoming Prisma AIRS AI Gateway from Palo Alto Networks, so check the current positioning before committing.

The gateway covers fallbacks, automatic retries (up to 5 with exponential backoff), weighted load balancing across keys or providers, conditional routing, timeouts, circuit breakers and canary testing. On top sit request logs and traces, budget and rate limits, virtual keys, simple and semantic caching, 40+ pre-built guardrails with partner integrations such as Patronus, Pangea and AWS Bedrock Guardrails, and a hosted prompt-management product.

Strengths

  • Observability, guardrails and governance alongside the gateway
  • Open-source core gateway with hosted and self-hosted options
  • Wide guardrail coverage with partner integrations

Tradeoffs

  • Priced by log volume, with a free tier that is not meant for production
  • More concepts to learn (configs, virtual keys) than a plain OpenAI-compatible endpoint

Best for: Teams that want a gateway plus observability and governance tooling in one product. · Free · Production from $49/month

Spro vs Portkey
#5

LiteLLM

Open-source proxy

Open-source Python SDK and proxy server that speaks the OpenAI format to many providers

LiteLLM is an open-source AI gateway and Python SDK that calls 100+ LLM providers in the OpenAI format; its homepage cites 140+ providers and 1,800+ models. You run the proxy yourself on your own Postgres and Redis, in your own cloud or fully air-gapped, and manage virtual keys, budgets and teams on top. The gateway is MIT-licensed and free to self-host, with a paid Enterprise license key on the same image.

Routing is configurable: simple-shuffle (the recommended default), least-busy, latency-based and cost-based strategies, ordered deployments with automatic failover, cooldowns for deployments that return 429, and RPM/TPM limits. Spend is tracked per key, user and team with budgets and budget durations, caching supports Redis, semantic caches, S3, GCS and in-memory backends, and logging connects to Langfuse, OpenTelemetry, Datadog, S3 and many more.

Strengths

  • Open source and MIT-licensed, so you can inspect, modify and self-host it
  • Strong controls for virtual keys, teams and budgets
  • Runs inside your own network, including air-gapped

Tradeoffs

  • You run, scale and secure the proxy, with Postgres and Redis behind it
  • SSO beyond 5 users, audit logs, key rotation and several guardrails need an Enterprise license

Best for: Platform teams that want to self-host a gateway and keep full control of the infrastructure. · Free (open source) · Enterprise on request

Spro vs LiteLLM
#6

TrueFoundry

Enterprise gateway

Enterprise AI gateway with governance and monitoring, deployable in your own environment

TrueFoundry's AI Gateway is the proxy layer between your applications and LLM providers and MCP servers. Its homepage cites 1,600+ models and its docs 1,000+ LLMs across 35+ platforms, with OpenAI and Anthropic SDK compatibility, and it covers chat, embeddings, responses, images, audio, video, rerank and realtime endpoints. TrueFoundry says it never marks up tokens: you pay only for the gateway.

It is aimed at governance. You get weighted, latency-based and priority routing with automatic fallback, semantic caching, rate limits and cost or token quotas per user, service or endpoint, budget rules, guardrails for PII, prompt injection and moderation, OpenTelemetry traces and request logs, and an MCP gateway that applies OAuth2 and RBAC to tool calls. It can run as SaaS, with logs in your own storage, or in your VPC, on-prem or air-gapped, and it can front self-hosted models served with vLLM, SGLang, KServe or Triton.

Strengths

  • Can be deployed in a VPC, on-prem or air-gapped
  • Governance controls: quotas, rate limits, budgets and role-based access across teams
  • Works with self-hosted models alongside hosted providers

Tradeoffs

  • Aimed at enterprise platform teams, so heavier to adopt than a simple hosted router
  • Pro does not include data residency or air-gapped deployment, and third-party guardrails are Enterprise-only

Best for: Enterprise platform teams that need central governance across teams and the option to run the gateway inside their own environment. · Free · Pro $25/user/month

Spro vs TrueFoundry
#7

Cloudflare AI Gateway

Edge gateway

AI gateway that runs on Cloudflare's network

Cloudflare AI Gateway is a gateway that sits in front of your AI provider calls on Cloudflare's network, giving you visibility and control over AI apps. It is available on all Cloudflare plans, and its core features, dashboard analytics, caching and rate limiting, are free. It supports 24 provider-native integrations including Workers AI, OpenAI, Anthropic, Google Vertex AI, Amazon Bedrock, Groq and Mistral, an OpenAI-compatible chat completions endpoint, and a Workers binding.

Caching is exact-match: it is off by default, keyed on a hash of the provider, model and full request body, with a TTL from 60 seconds to a month. Rate limiting is configured per gateway with fixed or sliding windows and returns 429 when exceeded. Dynamic routing lets you build versioned routes with conditional, percentage, rate-limit and budget-limit nodes, and guardrails evaluate prompts and responses with Llama Guard and are billed as Workers AI inference.

Strengths

  • Core features are free and fit naturally into an existing Cloudflare setup
  • Edge deployment close to your users
  • Flexible dynamic routing for A/B tests, paid vs free tiers and gradual rollouts

Tradeoffs

  • Tied to a Cloudflare account and network
  • Caching is exact-match only for text and image responses; semantic caching is only planned

Best for: Teams already on Cloudflare that want caching, rate limits and analytics in front of provider calls. · Core features free

Spro vs Cloudflare AI Gateway
#8

Vercel AI Gateway

Hosted gateway

One endpoint for many models, built into the Vercel platform and AI SDK

Vercel AI Gateway gives you one API key for 400+ models, with, in its words, no markup and no platform fee on tokens. It is available on all Vercel plans and works through the AI SDK, the OpenAI Chat Completions and Responses APIs and the Anthropic Messages API, so moving to it is typically a base URL swap. The default provider choice uses recent uptime and latency, and you can control order, filter providers, sort by cost, time to first token or throughput, and set timeouts and fallbacks.

Billing works through credits: every team has a free tier covering a subset of models and a paid tier where you buy credits and pay provider list price, with optional auto top-up. BYOK is paid-tier only with no markup, and failed BYOK requests retry on system credentials that are charged to your credits. Optional add-ons include custom reporting, trace drains and team-wide ZDR or provider allowlists at $0.10 per 1,000 requests on Pro and Enterprise.

Strengths

  • No markup on tokens, with credits billed through your Vercel account
  • Tight integration with the Vercel platform and AI SDK
  • Strong ZDR story with a published provider list

Tradeoffs

  • Designed around the Vercel platform and AI SDK
  • The free tier covers only a subset of models with lower rate limits

Best for: Teams building on Vercel and the AI SDK that want model access and usage visibility in the same place. · Pay as you go · no markup

Spro vs Vercel AI Gateway
#9

Requesty

Hosted gateway

Unified AI gateway and LLM router for 600+ models

Requesty is a unified AI gateway, LLM router and OpenAI-compatible API for 600+ models. Its homepage says it is used by 70,000+ developers processing 90+ billion tokens a day, and its docs describe routing across 30+ providers, although its pages state provider counts inconsistently. Pricing is simple: no per-seat fee and no minimum spend, you pay what your application spends plus a 5% markup, and failed requests are not charged.

Routing is policy-based. A bare model name is a managed policy that picks the best provider per request and fails over, and you can build fallback policies with up to 10 retries per model and exponential backoff, weighted load-balancing policies keyed on trace ID, and nested policies. Auto Cache adds cache breakpoints for providers that need them, with the cost savings stated as up to 80-90% on repeated prompts. Guardrails scan prompts for PII and secrets and can report or mask values, and BYOK works with OpenAI, Anthropic, Google AI Studio, Vertex AI, Mistral and xAI.

Strengths

  • Failed requests are not charged, only successful ones that return tokens
  • Flexible routing policies with retries, weights and nesting
  • EU data residency and regional endpoints, with a pre-signed DPA

Tradeoffs

  • 5% markup on usage, with no per-seat fee
  • SOC 2 Type II is in progress, and HIPAA and ISO 27001 are not stated

Best for: Teams that want routing policies, caching and EU data residency in a hosted gateway. · Free · 5% markup pay as you go

Spro vs Requesty
#10

OrcaRouter

Hosted gateway

One AI gateway with adaptive routing and governance

OrcaRouter is an OpenAI-compatible gateway for 200+ models that grades each prompt and can route it adaptively. You can ask orcarouter/auto to pick the cheapest live model that meets your bar, set routing rules as code in YAML and CEL, and configure fallback chains of up to five models that are tried on 5xx, 429 or network errors. It cites 40%+ inference cost savings from cache-aware adaptive routing, and its routing and latency claims are stated inconsistently across its pages.

It pairs routing with security and governance: guardrails for PII, secrets, jailbreaks and prompt injection, an agent firewall that allows, queues for human review or blocks tool and MCP calls, budgets, roles and an audit trail, request logs with cost and latency, prompt versioning and 32 compliance framework packs. Payments are provider price with a $0.00 routing fee, using pay as you go, a credit subscription or your own keys.

Strengths

  • $0.00 routing fee on tokens, with a free plan
  • MIT-licensed Lite gateway for self-hosting
  • Routing, failover, guardrails and logs in one gateway

Tradeoffs

  • Its region setting does not yet pin where data is stored or where inference runs
  • BYOK traffic may carry a platform fee, and Enterprise can include a per-million-token fee

Best for: Teams that want adaptive routing and governance in one gateway, with the option to self-host a lightweight version. · Free · Team $499/month

Spro vs OrcaRouter
#11

FastRouter

Hosted gateway

AI gateway with 0% markup: one OpenAI-compatible API for 200+ models

FastRouter is an LLM gateway and LLMOps platform that routes, compares and operates across 200+ models with a single OpenAI-compatible API, and also speaks the Anthropic Messages and Gemini native formats. Every tier, including the free Starter plan, passes model costs through with $0 markup. Its docs say 160+ models across 20+ providers, so the model count is stated two ways.

Routing options include lowest price, lowest latency, highest throughput, weighted shuffle, priority order and an AI auto router, with automatic retry of the next model or provider on rate limits, downtime or errors. Virtual model aliases map one stable name to many models, FastRouter Blend sends a prompt to several models and has a judge compare them, and prompt caching is included on all tiers. Response caching, guardrails in observe and validate modes, distributed tracing and alerts arrive on Pro and above.

Strengths

  • $0 markup on models on every tier, including the free plan
  • Wide routing strategy options and virtual model aliases
  • Self-hosting available on the Enterprise plan

Tradeoffs

  • Starter has no response caching, tracing, alerts or guardrails, and logs are capped at 200K a month
  • Self-hosting is limited to the Enterprise plan

Best for: Teams that want one hosted API for many models with failover, cost visibility and guardrails, and the option to self-host on an Enterprise plan. · Free · Pro $199/month · $0 markup

Spro vs FastRouter
#12

Concentrate AI

Hosted gateway

One API to switch between every LLM, with spend controls and zero-data-retention routing

Concentrate is a managed LLM gateway: one API for major model providers, with the headline "every model, every AI provider, no fees". Its docs say the API supports 168 models from 21 providers, though its marketing says hundreds. There is no platform markup on tokens and no service or credit-card fee, and you can bring your own provider keys to use your own credits or committed spend.

Its focus is spend and data control. Fallbacks follow an ordered chain you set across providers or models, and spend is tracked by organization, team, key, model and provider with limits by team or key and alerts for balances and unusual spend. Request logs show status, latency, tokens, cost and provider. Zero data retention can be enforced by provider, team or key, 104 models have at least one ZDR-certified provider, and PII, PCI and PHI can be redacted from prompts or responses.

Strengths

  • No platform markup on tokens, and no service or credit-card fees
  • Spend limits and tracking down to team and key level
  • ZDR enforcement and PII, PCI and PHI redaction

Tradeoffs

  • Hosted only: there is no self-hosted option
  • Fallbacks follow a chain you configure rather than automatic routing

Best for: Teams that want a managed gateway with key- and team-level spend limits and zero-data-retention enforcement. · Pay as you go · no markup

Spro vs Concentrate AI

How we rank gateways

Spro publishes this page. These are the criteria we apply to every gateway, and each profile shows the underlying facts.

  • Reliability: automatic fallbacks and routing across providers
  • Security: guardrails, zero data retention and bring-your-own-keys
  • Visibility: request logs, tracing, cost tracking and alerts
  • Compatibility: OpenAI-compatible API and how easy it is to migrate
  • Deployment: hosted, self-hosted or both
  • Pricing clarity: free tier, token markup and plan transparency

Frequently asked questions

Route every AI request through SPRO.

One OpenAI-compatible API for 350+ models, with intelligent routing, 29 built-in guardrails, observability, and automatic failover.

Talk to sales