1. Conduid
  2. Content
  3. LLM Gateway
MCP server · Content

LLM Gateway

Route, manage, and analyze your LLM requests across multiple providers with a unified API interface.

Unclaimed content
74Good

Scored 5 hours ago · breakdown

About LLM Gateway

LLM Gateway is an MCP server published by theopenco in the Content category: route, manage, and analyze your LLM requests across multiple providers with a unified API interface.

The repository has 1.7K stars and 201 forks, with the last commit 15 hours ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/theopenco/llmgateway

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (16)

get-accountGet the connected user, project, organization, role, analytics scope, API key spend limits and organization credit balance (owners/admins only). No secrets are returned. Use this before interpreting

Parameters not published.

get-usageGet the connected user

Parameters not published.

get-usage-breakdownRank usage by actual provider, model, coding agent/app, or API key within the connected user

Parameters not published.

getTimeGet the current time for a location

Parameters not published.

getWeatherGet the current weather for a location

Parameters not published.

get_timeGet the current time for a city

Parameters not published.

get_weatherGet the current weather for a given city

Parameters not published.

lookupLook up a value.

Parameters not published.

read_documentExport a Google Docs document as plain text using its file ID.

Parameters not published.

read_messageRead a Gmail message by its ID.

Parameters not published.

Show all 16 tools
screenshotCapture an image

Parameters not published.

searchRestaurantsSearch for restaurants in a location by cuisine type

Parameters not published.

search_filesFind Google Drive files using Drive query syntax, for example name contains

Parameters not published.

search_messagesSearch Gmail using Gmail search syntax. Returns message IDs; use read_message for contents.

Parameters not published.

search_ordersSearch recent store orders using Shopify order search syntax.

Parameters not published.

search_productsSearch store products using Shopify product search syntax.

Parameters not published.

Ask AI

✦

Ask AI about LLM Gateway

Powered by Claude

Ask about LLM Gateway — answers draw on its README.

Security checks

Static checks derived from the repository 6 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.

2 checks have not been run yet.

Releases

v1.24.0v1.24.0 · 2 Nov 2026What's Changed fix(gateway): authenticate before model resolution by @steebchen in https://github.com/theopenco/llmgateway/pull/4820 feat(admin): show carrier-paused Airside listings by @steebchen in…
v1.23.0v1.23.0 · 26 Oct 2026What's Changed fix(models): deactivate baidu glm-5 mapping by @steebchen in https://github.com/theopenco/llmgateway/pull/4716 fix(actions): bound GCP token cache by upstream expiry by @steebchen in…
v1.22.0v1.22.0 · 19 Oct 2026What's Changed feat(ui): add prompt cache rate to project model usage chart by @steebchen in https://github.com/theopenco/llmgateway/pull/4612 fix(models): use Google Cloud Privacy Notice for Google providers by @steebchen in…
v1.21.0v1.21.0 · 12 Oct 2026What's Changed feat(worker): model error-rate discord alerts by @steebchen in https://github.com/theopenco/llmgateway/pull/4431 fix(admin): sort and paginate airside tables by @steebchen in https://github.com/theopenco/llmgateway/pull/4436…
v1.20.0v1.20.0 · 5 Oct 2026What's Changed refactor(api): render invoices with native Forme by @steebchen in https://github.com/theopenco/llmgateway/pull/4269 feat(admin): show throughput on catalogue pages by @steebchen in…

README

LLM Gateway

LLM Gateway is an open-source API gateway for Large Language Models (LLMs). It acts as a middleware between your applications and various LLM providers, allowing you to:

  • Route requests to multiple LLM providers (OpenAI, Anthropic, Google Vertex AI, and others)
  • Manage API keys for different providers in one place
  • Track token usage and costs across all your LLM interactions
  • Analyze performance metrics to optimize your LLM usage

Features

  • Unified API Interface: Compatible with the OpenAI API format for seamless migration
  • Usage Analytics: Track requests, tokens used, response times, and costs
  • Multi-provider Support: Connect to various LLM providers through a single gateway
  • Performance Monitoring: Compare different models' performance and cost-effectiveness

Getting Started

You can use LLM Gateway in two ways:

  • Hosted Version: For immediate use without setup, visit llmgateway.io to create an account and get an API key.
  • Self-Hosted: Deploy LLM Gateway on your own infrastructure for complete control over your data and configuration.

Self-Hosted With Docker

Use Docker-managed volumes for the unified image. Do not bind-mount a host directory directly to /var/lib/postgresql/data, because PostgreSQL initialization inside the container needs to set permissions on that directory and that can fail depending on the host filesystem and ownership.

export LLM_GATEWAY_SECRET="$(openssl rand -base64 32 | tr -d '\n')"
export GATEWAY_API_KEY_HASH_SECRET="$(openssl rand -base64 32 | tr -d '\n')"
./scripts/run-unified-container.sh

If you prefer a one-off docker run, use named volumes instead of ~/some-host-dir:

docker volume create llmgateway_postgres
docker volume create llmgateway_redis

docker run -d \
  --name llmgateway \
  --restart unless-stopped \
  -p 3002:3002 \
  -p 3003:3003 \
  -p 3005:3005 \
  -p 3006:3006 \
  -p 3007:3007 \
  -p 4001:4001 \
  -p 4002:4002 \
  -v llmgateway_postgres:/var/lib/postgresql/data \
  -v llmgateway_redis:/var/lib/redis \
  -e AUTH_SECRET="$LLM_GATEWAY_SECRET" \
  -e GATEWAY_API_KEY_HASH_SECRET="$GATEWAY_API_KEY_HASH_SECRET" \
  ghcr.io/theopenco/llmgateway-unified:latest

Using LLM Gateway API

curl -X POST https://api.llmgateway.io/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LLM_GATEWAY_API_KEY" \
  -d '{
  "model": "gpt-4o",
  "messages": [
    {"role": "user", "content": "Hello, how are you?"}
  ]
}'

Development Setup

  1. Install dependencies and set up the development environment:

    pnpm i && pnpm run setup
    

    This will install all dependencies, start Docker services, sync the database schema, and seed initial data.

    Note for WSL2 users: Ensure Docker Desktop is running with WSL integration enabled.

  2. Start development servers:

    pnpm dev
    
  3. Build for production:

    pnpm build
    

Folder Structure

  • apps/ui: Next.js dashboard frontend
  • apps/playground: Lounge — consumer AI chat app (Next.js)
  • apps/code: Next.js Dev Plans + coding tools landing & dashboard
  • apps/airside: Airside — self-serve provider portal (Next.js)
  • apps/api: Hono backend
  • apps/gateway: API gateway for routing LLM requests
  • apps/docs: Documentation site
  • ee/admin: Internal admin dashboard
  • packages/db: Drizzle ORM schema and migrations
  • packages/models: Model and provider definitions
  • packages/shared: Shared types and utilities

Adding a provider

We do not accept pull requests that add new providers. Inference providers onboard through Airside, our self-serve provider portal, where you register and manage your model listings.

License

LLMGateway is available under a dual license:

  • Open Source: Core functionality is licensed under AGPLv3 - see the LICENSE file for details.
  • Enterprise: Commercial features in the ee/ directory require an Enterprise license; multi-organization administration requires a white-label license. See ee/LICENSE for details.

Enterprise features include:

  • Advanced billing and subscription management
  • Full request and response payload retention (Retain All Data); other plans are metadata only
  • Custom provider key configurations
  • Team and organization management
  • Priority support
  • And more to be defined

For enterprise licensing, please contact us at contact@llmgateway.io

README fetched from the repository 6 days ago. The original is authoritative.

Questions

About LLM Gateway

How do I install LLM Gateway?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is LLM Gateway safe to use with an AI agent?

Its trust score is 74 out of 100 (good). It passes 4 of the 4 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is LLM Gateway still maintained?

Yes — the latest release is v1.24.0 (2 Nov 2026), and the last commit was 15 hours ago. The repository has 1.7K stars and 89 open issues.