Skip to main content

LLM Gateway

Own this tool?

Developers can switch and fail over between providers without changing application code, while tracking cost and usage.

Open-source API gateway that routes requests across many language-model providers behind one OpenAI-compatible endpoint, with analytics and controls.

  • Platform and product engineering teams
  • Developers using multiple LLM providers
  • Companies needing self-hosting

Features

  • Unified API interface — OpenAI-compatible
  • Multi-provider routing
  • Cost and usage analytics
  • Automatic failover
  • Guardrails — Prompt injection and PII detection
  • Self-hosting
  • SSO and SCIM — On Enterprise

Pros

  • Open source under AGPLv3 with a self-host option
  • Routes across 40+ providers and 250+ models
  • Provides cost, latency and error analytics
  • Adds failover, guardrails and spend caps

Cons

  • Guardrails, SSO, audit logs and SLA are Enterprise features
  • Enterprise features on self-hosting require a license key

Overview

LLM Gateway is an open-source API gateway for large language models. It sits between an application and model providers, exposing an OpenAI-compatible interface so developers can route requests across 250+ models and 40+ providers by changing a base URL rather than rewriting code. The project states it has routed over one trillion tokens and 80 million requests.

Built-in features include routing, caching, automatic failover, spend caps per key and member, and cost, latency, error and cache analytics. When a provider errors, times out or rate-limits, the gateway can retry on another provider within the same request. Enterprise adds SSO with SAML 2.0 and SCIM, role-based access, audit logs, guardrails that detect prompt injection and PII, and a 99.9% SLA. The platform states SOC 2 Type II compliance.

LLM Gateway can run in the vendor's cloud or be self-hosted with Docker or Kubernetes; the core is licensed under AGPLv3 and the enterprise code is source-available. Bringing your own provider keys is free, with a 5% fee on credit purchases; Enterprise pricing is custom.

Similar tools

All AI tools →

Reviews

No reviews yet — be the first to share your experience.

Write a review

Where this tool appears

For Founders

Building a similar tool?

Get listed on Altimateguide and reach founders actively searching for ai tools solutions.