Cheapest LLM gateway options
First listed among cost-focused LLM gateways and routers on LLM Reference: LiteLLM (Self-hosted, Open source); OpenRouter (Hosted SaaS, Commercial); Requesty (Hosted SaaS, Commercial).
Last checked 2026-10-29
Cost-focused routing can lower spend by sending simple requests to cheaper models or cheaper provider routes. Use this page for gateways whose verified objective includes cost optimization.
Filtered router list
BerriAI
~100 models · Free OSS
Open-source Python SDK and proxy server that unifies 100+ LLM APIs behind a single OpenAI-compatible interface, with load balancing, cost tracking, and configurable failover.
OpenRouter, Inc.
~500 models · Passthrough + fee
Unified hybrid gateway to 500+ models from 80+ providers via a single OpenAI-compatible API, with an optional Auto Router that selects a model per prompt from market spend data.
Requesty
~600 models · Passthrough + fee
AI gateway and LLM router to 600+ models with routing and failover, caching, spend limits, governance, and observability.
Palo Alto Networks
~1.6K models · Subscription
Production AI gateway routing to 1,600+ LLMs with failover, load balancing, caching, and guardrails; MIT-licensed open-source core is self-hostable. Now part of Palo Alto Networks as Prisma AIRS AI Gateway.
Helicone
Subscription
Observability-first AI gateway with routing, caching, rate limiting, and request tracing; Apache-2.0 open-source platform with a managed hosted tier for logging and analytics.
Kong Inc.
Subscription
Multi-LLM AI gateway built on Kong Gateway 3.x, adding semantic routing, load balancing, guardrails, and MCP traffic analytics as plugins over Kong's existing API management platform.
Respan (formerly Keywords AI)
~1K models · Subscription
Unified LLM engineering platform (gateway + observability + evals + prompt management) with one endpoint to 1,000+ models; previously Keywords AI.
Comparison table
| Router | Type | Hosting | Openness | Self-host available | Pricing model | Models | API compatibility | Last checked |
|---|---|---|---|---|---|---|---|---|
| LiteLLM | Gateway | Self-hosted | Open source | Yes | Free OSS | 100 models | OpenAI | 2026-10-29 |
| OpenRouter | Hybrid | Hosted SaaS | Commercial | No | Passthrough + fee | 500 models | OpenAI | 2026-10-29 |
| Requesty | Hybrid | Hosted SaaS | Commercial | No | Passthrough + fee | 600 models | OpenAI | 2026-10-29 |
| Portkey | Gateway | Hosted SaaS | Open source | Yes | Subscription | 1.6K models | OpenAI | 2026-10-29 |
| Helicone | Gateway | Hosted SaaS | Open source | Yes | Subscription | - | OpenAI, Anthropic | 2026-10-29 |
| Kong AI Gateway | Gateway | Self-hosted | Commercial | Yes | Subscription | - | OpenAI, Native | 2026-10-29 |
| Respan | Hybrid | Hosted SaaS | Commercial | No | Subscription | 1K models | OpenAI | 2026-10-29 |
When to pick which
- LiteLLM Best for open source, self-hosting, OpenAI-compatible proxy, developer tooling, cost tracking. Open-source Python SDK and proxy server that unifies 100+ LLM APIs behind a single OpenAI-compatible interface, with load balancing, cost tracking, and configurable failover.
- OpenRouter Best for multi-provider access, cost optimization, auto model selection, provider fallback. Unified hybrid gateway to 500+ models from 80+ providers via a single OpenAI-compatible API, with an optional Auto Router that selects a model per prompt from market spend data.
- Requesty Best for cost optimization, observability, governance, EU data residency. AI gateway and LLM router to 600+ models with routing and failover, caching, spend limits, governance, and observability.
- Portkey Best for production reliability, governance, observability, self-hosting, enterprise. Production AI gateway routing to 1,600+ LLMs with failover, load balancing, caching, and guardrails; MIT-licensed open-source core is self-hostable. Now part of Palo Alto Networks as Prisma AIRS AI Gateway.
- Helicone Best for observability, LLM tracing, cost tracking, self-hosting. Observability-first AI gateway with routing, caching, rate limiting, and request tracing; Apache-2.0 open-source platform with a managed hosted tier for logging and analytics.
- Kong AI Gateway Best for enterprise API management, multi-LLM routing, Kong users, self-hosting. Multi-LLM AI gateway built on Kong Gateway 3.x, adding semantic routing, load balancing, guardrails, and MCP traffic analytics as plugins over Kong's existing API management platform.
- Respan Best for observability, evals, prompt management, multi-model gateway, agent tracing. Unified LLM engineering platform (gateway + observability + evals + prompt management) with one endpoint to 1,000+ models; previously Keywords AI.
Related decision paths
Related pages for routers, the providers they target, and model choices.
Compare every verified gateway, router, and hybrid.
Use the directory controls to add openness, hosting, API, and routing-scope filters.
Inspect the provider that one or more listed routers can target.
Inspect the provider that one or more listed routers can target.
Inspect the provider that one or more listed routers can target.
Inspect the provider that one or more listed routers can target.
Compare direct model price and quality watermarks.
Use the broader cost-routing query view.
Watch current output pricing before changing routes.
Frequently asked questions
Which cost-focused LLM gateways and routers are open source?
LiteLLM, Portkey, Helicone (open source).
Which cost-focused LLM gateways and routers can be self-hosted?
LiteLLM, Portkey, Helicone, Kong AI Gateway (self-host available).
How recent is the data on these cost-focused LLM gateways and routers?
Last checked 2026-10-29.
Machine-readable source
This page is generated from data/seed/router.json. Agents can consume the same catalog through /api/routers.