Skip to content
ToolHosted agent

llm-gateway

Open source LLM gateway that routes agent requests across providers and local models

llm-gateway is a freemium AI tool for ai models and llm tooling. It is available on Web, API and Self-hosted.

Pricing
Freemium
Platforms
Web, API, Self-hosted
GitHub stars
7.7K
Last commit
Language
TypeScript
License
MIT

Similar tools

About llm-gateway

Manifest sits between your agents or apps and the model providers they call. You connect API keys, existing provider subscriptions and local servers such as Ollama or LM Studio, then send every request to one OpenAI-compatible endpoint. The gateway picks the target model per route, so switching providers does not require rewriting client code.

When a request fails, Manifest can retry it on another provider and can repair malformed requests before the error reaches the agent. Full request and response bodies are logged for both successful and failed calls, and spend is broken down by agent, key and provider so you can see where inference money goes.

The software is MIT-licensed and ships as a Docker image that you can run on your own machine or infrastructure, with one-click templates for several hosting platforms. A hosted version is also offered for teams that prefer not to run servers. It suits developers building multi-model agent workflows and teams that want visibility into their token consumption.

What it does

Unified OpenAI-compatible endpoint
Every connected provider and local model is reached through one endpoint, with a model value of auto letting the gateway choose.
Model fallbacks
A failed request is retried on another provider so an outage at one vendor does not stop the agent.
Request autofix
Malformed requests are repaired before the error is returned to the calling agent.
Full body logs
Complete request and response bodies are recorded for every call, including errors.
Spend tracking
Costs are broken down by agent, key and provider, with budget alerts and notifications.
Local and custom providers
Ollama, LM Studio, llama.cpp and any compatible custom endpoint can be routed alongside cloud APIs.
Self-hosted deployment
Run the gateway from a Docker image on your own servers, with the data kept on your side.

Good for

  • Route one agent's calls across several model providers without changing client code
  • Keep sensitive traffic on local models while sending other requests to the cloud
  • Recover from provider outages by automatically retrying on a backup model
  • Track token spend per agent or API key across a team
  • Debug failing LLM calls by inspecting full request and response bodies

Pricing

Freemium, from $19 a month

Self-hosted free; Manifest Cloud $19/month; Enterprise by contract

Prices change. Check manifest.build before you buy.

llm-gateway FAQ

Is Manifest free to self-host?

Yes. The self-hosted gateway is MIT-licensed and has no request limit, and it includes the same features as the cloud version.

How much does the hosted version cost?

Manifest Cloud is $19 per month with no request quota, and it is intended for a single user.

Does Manifest add a markup on token usage?

No. You bring your own provider keys and pay the providers directly.

Which providers can be connected?

API keys from many major providers, subscription logins for several services, and local servers such as Ollama, LM Studio and llama.cpp are supported, plus any custom OpenAI or Anthropic-compatible endpoint.

What are the best alternatives to llm-gateway?

The closest alternatives to llm-gateway are gateway, Berri.ai, bifrost, Text Generator and LibreChat.

Where this comes from

  • Description: written from the project's README and the project's website.