Skip to content
@theopenco

theopenco

LLM Gateway

One API for every model — and the products we build on top of it

llmgateway License Docs Discord X

Website · Models · Providers · Pricing · Docs · Status


We build open-source infrastructure for the multi-model era. One OpenAI-compatible endpoint routes to every major provider with automatic fallback, caching, cost analytics and guardrails — and everything else we ship runs on it.

flowchart LR
    A["DevPass Code<br/>terminal agent"] --> G
    B["Lounge<br/>chat &amp; studios"] --> G
    C["Your app<br/>OpenAI SDK"] --> G
    G["<b>LLM Gateway</b><br/>routing · fallback · caching · analytics"] --> P[("every major<br/>model &amp; provider")]
Loading

Products

Product What it is
LLM Gateway One API key, every model. Routing, fallback, caching, spend analytics. Cloud or self-hosted.
DevPass One flat coding subscription. Every model, in every agent you already use.
Lounge The members' lounge for AI — chat, image, video, audio and voice in one membership.
Clanker Support Open-source AI support widget that answers from your docs and escalates with full context.

⚡ LLM Gateway

One endpoint in front of every model. Point the OpenAI SDK at us, change the base URL, and you're done — no rewrites, no per-provider glue code. Requests retry transparently on a healthy provider when one degrades, and every token lands in your usage dashboard.

LLM Gateway dashboard
  • Drop-in compatible — OpenAI-format chat completions, streaming, tool calls, JSON mode, vision, reasoning
  • Automatic fallback — a degraded provider retries on a healthy one, mid-request
  • Cost-aware analytics — spend, tokens, cache hits and errors broken down by model, provider and project
  • Pay at provider rates — flat 5% platform fee on credits, or free with your own keys (BYOK)
  • Guardrails & audit logs — content filtering, compliance-aware routing, org-wide audit trail
  • Self-host anything — the core is AGPL-3.0 and ships as a single container
Try it in 10 seconds
curl https://api.llmgateway.io/v1/chat/completions \
  -H "Authorization: Bearer $LLM_GATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4o",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

Or self-host the whole stack — dashboard, gateway, playground and docs — in one container:

docker run -d --name llmgateway \
  -p 3002:3002 -p 4001:4001 \
  -e AUTH_SECRET="$(openssl rand -base64 32 | tr -d '\n')" \
  -e GATEWAY_API_KEY_HASH_SECRET="$(openssl rand -base64 32 | tr -d '\n')" \
  -v llmgateway_postgres:/var/lib/postgresql/data \
  -v llmgateway_redis:/var/lib/redis \
  ghcr.io/theopenco/llmgateway-unified:latest

See the self-hosting guide for the full setup.

Cost and usage analytics broken down by model

🎟️ DevPass

One AI coding subscription. Every model. Three flat prices. Every dollar becomes $3 of model usage at provider rates — metered transparently, no token math, no lock-in. Works in DevPass Code (our first-party terminal agent) and drops into every OpenAI-compatible tool you already run.

DevPass — one key, every model, three flat prices
npm i -g devpass-code   # or: brew install theopenco/tap/devpass-code
devpass-code auth login # opens your browser — no keys to copy, models built in

devpass.llmgateway.io · DevPass Code repo · setup guide


🥂 Lounge

Every frontier model. One membership. Chat with the models you already pay three subscriptions for, run the same prompt across several at once in group chat, and generate images, video and audio from the same place — with knowledge-base projects, canvas and voice calls built in.

Lounge — chat, group chat, image, video, audio and canvas studios

lounge.llmgateway.io


Open source

Repository What it is
llmgateway The gateway, dashboard, playground and docs — the whole platform
devpass-code Terminal coding agent for LLM Gateway (a fork of opencode)
llmgateway-templates Starter templates for building AI apps on the gateway
agent-skills Agent skills — image generation best practices and more
llmgateway-ai-sdk-provider Vercel AI SDK provider for LLM Gateway
clankersupport-templates One-click deploy templates for Clanker Support
homebrew-tap brew install theopenco/tap/devpass-code

The core platform is AGPL-3.0. Enterprise features under ee/ are commercially licensed — get in touch.



Building something on it? Come say hi.

Discord X GitHub

Made by the team behind LLM Gateway · contact@llmgateway.io

Pinned Loading

  1. llmgateway llmgateway Public

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

    TypeScript 1.6k 179

  2. llmgateway-templates llmgateway-templates Public template

    Open-source templates for building AI apps with LLM Gateway

    TypeScript 8 1

  3. llmgateway-ai-sdk-provider llmgateway-ai-sdk-provider Public

    Forked from OpenRouterTeam/ai-sdk-provider

    TypeScript 6 2

Repositories

Showing 10 of 11 repositories
  • llmgateway Public

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

    theopenco/llmgateway's past year of commit activity
    TypeScript 1,618 179 32 (1 issue needs help) 42 Updated Sep 9, 2026
  • llmgateway-templates Public template

    Open-source templates for building AI apps with LLM Gateway

    theopenco/llmgateway-templates's past year of commit activity
    TypeScript 8 MIT 1 0 0 Updated Sep 5, 2026
  • theopenco/llmgateway-ai-sdk-provider's past year of commit activity
    TypeScript 6 Apache-2.0 176 0 0 Updated Sep 5, 2026
  • llmchat Public
    theopenco/llmchat's past year of commit activity
    TypeScript 18 MIT 0 11 3 Updated Aug 21, 2026
  • .github Public

    Org-level GitHub defaults and the theopenco profile README

    theopenco/.github's past year of commit activity
    0 0 0 0 Updated Aug 16, 2026
  • devpass-code Public

    DevPass Code — the terminal coding agent for LLM Gateway (fork of opencode)

    theopenco/devpass-code's past year of commit activity
    TypeScript 2 MIT 0 0 0 Updated Jul 31, 2026
  • homebrew-tap Public

    Homebrew tap for DevPass Code

    theopenco/homebrew-tap's past year of commit activity
    Ruby 0 0 0 0 Updated Jul 31, 2026
  • clankersupport-templates Public

    Open-source starter templates for the Clanker Support AI-powered support agent — one-click deploys

    theopenco/clankersupport-templates's past year of commit activity
    PHP 0 MIT 0 0 0 Updated Jul 19, 2026
  • clankersupport-php Public

    Clanker Support PHP SDK — embed-snippet renderer with Laravel auto-discovery (@clankerSupport)

    theopenco/clankersupport-php's past year of commit activity
    PHP 0 MIT 0 0 0 Updated Jul 18, 2026
  • agent-skills Public

    AI agent skills for LLM Gateway - best practices for image generation and more

    theopenco/agent-skills's past year of commit activity
    JavaScript 2 0 0 0 Updated Jan 27, 2026