opensourceprojects.dev

A broadsheet for software that doesn't ask for your email

One OpenAI-compatible endpoint for your API keys, subscriptions, and local model...
GitHub RepoViews5

Project Description

View on GitHub

One Endpoint to Route Them All: A Look at Manifest LLM Gateway

If you've built anything with LLMs lately, you know the drill: one API key for OpenAI, another for Anthropic, a subscription login for something else, and maybe a local model running on your own machine. Each one has its own client, its own quirks, its own way of doing things. Wouldn't it be nice if you could point everything at a single OpenAI-compatible endpoint and let something else figure out which model actually handles the request? That's the pitch behind Manifest LLM Gateway, an open-source project that sits between your app and every model provider you use.

What It Does

Manifest LLM Gateway is an open-source LLM gateway built for AI agents and apps. The core idea is straightforward: you connect your API keys, subscriptions, and local models to one OpenAI-compatible endpoint, and the gateway routes each query to the right model. That means your application code talks to a single interface instead of juggling multiple provider SDKs, and you avoid locking yourself into any one provider.

Beyond routing, the gateway handles some of the operational concerns that tend to pile up once you're running LLMs in production. It keeps full body logs for both successful and error messages, so you can see exactly what went out and what came back. It tracks spending down to the dollar, with support for notifications and limits. And it includes fallback behavior, so when a query fails on one model, it can retry on a different one. The project ships with deploy options for Render, Railway, AWS, and GCP, plus a Docker image, which suggests it's meant to be stood up as a service rather than embedded as a library.

Why It's Cool

The single-endpoint abstraction is the headline, and it's genuinely useful. You write against the OpenAI API shape once, and the gateway handles the translation to whatever's behind it. That's a meaningful reduction in glue code, especially if you're prototyping across providers or want the freedom to swap models without rewriting your client.

  • Custom routing across key types. The gateway doesn't care whether you're using an API key, a subscription, a local model, or a custom provider. All of them plug into the same routing layer, which is a nice bit of flexibility if your setup is a mix of paid APIs and self-hosted models.

  • Logging that covers failures too. A lot of tooling logs the happy path and leaves you guessing when things break. Keeping full body logs for error messages as well is a small detail that pays off during debugging.

  • Cost tracking with limits and notifications. Tracking every dollar is the kind of feature you don't appreciate until you get a surprise bill. Having limits and alerts built in means you can set guardrails without building your own metering.

  • Fallback that self-heals. When a query fails, the gateway can fall back to a different model. That's the sort of resilience you'd otherwise have to hand-roll with retry logic and provider-specific error handling.

Taken together, these features point at a specific philosophy: treat model providers as interchangeable infrastructure rather than a commitment. That's a healthier posture for anyone building agents or apps that need to stay flexible as the model landscape keeps shifting.

How to Try It

The fastest path is to deploy it. The README includes one-click deploy buttons for Render, Railway, AWS (via CloudFormation), and GCP (via Cloud Shell), so you can have an instance running without touching a terminal if you prefer.

If you'd rather run it yourself, there's a Docker image available on Docker Hub under manifestdotbuild/manifest:

docker pull manifestdotbuild/manifest

From there, you configure your providers (API keys, subscriptions, local models) and point your application at the gateway's OpenAI-compatible endpoint instead of hitting providers directly. For the full setup details, configuration options, and deployment specifics, head to the repository:

github.com/mnfst/llm-gateway

The project also has a Discord community linked from the README if you run into questions.

Final Thoughts

Manifest LLM Gateway is aimed at developers who've moved past the single-provider stage and now find themselves managing a messy collection of keys, subscriptions, and local models. If that's you, the combination of a unified endpoint, routing, logging, cost tracking, and fallback covers a lot of the operational surface area you'd otherwise build yourself. It's not trying to be a model or a framework — it's plumbing, and the plumbing looks well-considered. If your AI stack is starting to feel like a juggling act, this is worth a look.


Follow @githubprojects for more developer tools and open source projects.

Back to Projects
Project ID: llm-gatewayLast updated: December 6, 2026 at 05:54 AM