█

AI/TLDR

Buy me a coffee
Buy me a coffee

AIHelms

Self-hosted enterprise AI gateway that gives every employee one API key, with budgets, cost attribution and a Skill/MCP registry

Gateways & RoutingOpen source
Language
Python
License
GPL-3.0
$git clone https://github.com/beizhu-1209/AIHelms.git
IN SHORT

What is AIHelms?

AIHelms is an open-source AI resource management platform for companies that want to hand AI models out to their staff without losing track of who uses what and what it costs. It sits in the Gateways & Routing category of the Evaluation & Production Ops tools and is open-source, written in Python and licensed GPL-3.0.

Overview

AIHelms is an open-source AI resource management platform for companies that want to hand AI models out to their staff without losing track of who uses what and what it costs. Administrators onboard model providers such as OpenAI, Azure, Anthropic Claude and DeepSeek in one admin console, then issue each employee an "AI identity": a single API key, with its own model allow-list, budget and rate limits. Employees pick up that key and endpoint from a self-service portal and plug it into whichever client they already use.

AIHelms admin console dashboard showing today's active users, calls, cost, pending approvals, a call-trend chart and a resource overview of models, MCP servers, Skills and keys
The admin dashboard: today's calls, cost and to-dos at a glance.AIHelms README ↗
AIHelms architecture diagram: use cases on top, the platform's management and data capabilities in the middle, model and MCP resources below, and PostgreSQL, Redis, Celery, Nginx, Docker and inference engines such as vLLM, SGLang, Ollama and LM Studio as infrastructure
Architecture: the platform layer sits between AI clients and the models and MCP servers it manages.AIHelms README ↗

Under the hood it is built on the LiteLLM community edition, which does the actual model routing, and adds a management layer around it: a FastAPI backend, a Vue admin console and user portal, PostgreSQL, Redis and Celery, all started together with Docker Compose. The gateway accepts both OpenAI- and Anthropic-format requests and can load-balance across several deployments of the same model. Beyond models, it also acts as an internal marketplace where teams register, approve and distribute MCP servers and agent Skills.

The part that sets it apart from a plain LLM proxy is cost governance. AIHelms tracks two prices for every call, the provider's external cost and an internal settlement price you bill departments, and traces each call back to a person, department, project and model down to the token. Budgets can be set at any of those levels with soft limits (alerts) or hard limits (cut-off), and weekly and monthly efficiency reports show adoption, activity and spend per department. The interface is primarily in Chinese; the project is licensed GPL-3.0, with a commercial license offered by the maintainers.

What it does

  • One AI identity (API key) per employee, with a model allow-list, quota, rate limits and expiry
  • Unified gateway over multiple providers on LiteLLM, accepting OpenAI and Anthropic formats with load balancing across deployments
  • Dual internal/external pricing and real-time cost attribution to person, department, project and model
  • Multi-dimensional budgets with soft alerts and hard cut-offs, plus weekly and monthly efficiency reports
  • Central marketplace to register, approve and distribute MCP servers and Skills, with resource-request approval
  • Admin audit log and AI Policies review that scans a Skill for malicious instructions, data exfiltration and excessive permissions
AIHelms model management screen listing onboarded models with a DeepSeek model open, showing an OpenAI-format and an Anthropic-format deployment
Model management: providers, multiple deployments and connectivity tests.
AIHelms AI identity editor where an admin selects which models, MCP servers, Skills and agents a key can use and sets per-resource monthly budgets
AI identity: key issuance, allowed resources and per-resource budgets.
AIHelms AI efficiency adoption page with coverage rate, active-user trend, usage-depth distribution and per-department coverage table
AI efficiency: adoption coverage, activity and department breakdowns.

Getting started

AIHelms ships as a Docker Compose stack. The README lists Docker 20.10+, Docker Compose v2+ and at least 4 cores and 8 GB of RAM.

Clone and configure

Clone the repository and copy the example environment file. Fill in your own secrets in .env, at minimum POSTGRES_PASSWORD, SECRET_KEY (JWT signing), SUPER_ADMIN_PASSWORD and the LiteLLM master and salt keys.

bashbash
git clone https://github.com/beizhu-1209/AIHelms.git
cd AIHelms
cp .env.example .env
# Edit .env and fill in your secrets

Start the stack

Bring every service up in the background with Docker Compose.

bashbash
docker compose up -d

Open the consoles

The user portal is served at the root, the admin console at /admin and the API docs at /api/docs. Sign in to the admin console as admin with the SUPER_ADMIN_PASSWORD from .env.

texttext
http://your-host          # user portal
http://your-host/admin    # admin console
http://your-host/api/docs # API docs
AIHelms user portal showing an employee's AI identity card with a masked API key, budget, and the models, MCP servers and Skills it can access
The user portal, where an employee copies their key and sees what it unlocks.AIHelms README ↗

Onboard a model and hand out a key

In the admin console, add a provider credential, then create a model, link it to that credential and publish it. Employees then open My AI Identity in the user portal, copy their key and endpoint, and configure their AI client with them.

texttext
1. Admin console → Providers → Add credential
2. Admin console → Models → Create model → Link credential → Publish
3. User portal → My AI Identity → Copy key and endpoint → Configure your client

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Give every employee governed access to several LLM providers through one key instead of sharing raw provider keys
  • Charge AI spend back to departments and projects with an internal price that differs from the provider's bill
  • Enforce per-person or per-department AI budgets with alerts and hard cut-offs
  • Run an internal catalogue of approved MCP servers and Skills that staff request access to

How AIHelms compares

AIHelms alongside other open-source gateways & routing tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
OmniRoute★ 91.4kA local-first AI gateway that fronts hundreds of model providers with one OpenAI-compatible endpoint, quota-aware auto-fallback, many routing strategies and prompt compression.
Free Claude Code★ 74.7kA local proxy that points Claude Code, Codex, Pi, OpenCode, Cline and other agent CLIs at 50 free, paid, subscription or local model providers, with automatic failover and an admin UI.
LiteLLM★ 64.2kA Python SDK and proxy server that gives one OpenAI-compatible API to 100+ LLM providers, with cost tracking, budgets, fallbacks, rate limiting, and an admin UI.
Kong Gateway★ 44.4kA Lua/NGINX API gateway whose AI Gateway plugins put one universal endpoint in front of OpenAI, Anthropic, Gemini, Bedrock and other providers, with semantic routing, caching and MCP traffic governance.
magpie★ 43.7kMenu bar app and local gateway that lets Claude Code, Codex, Gemini CLI and dozens of other coding agents run on any provider's model, with routing groups that fail over across accounts when a quota runs out.
9Router★ 33kLocal OpenAI-compatible router for coding CLIs that tracks per-provider quota, falls back from subscription to cheap to free models, and compresses tool results to cut tokens.
Experiential★ 20.1kAn open-source gateway that puts hosted, BYOK, local and custom models behind one OpenAI-compatible API, with per-identity model and spend limits and routers fitted from your own traces.
AIHelms★ 1kSelf-hosted enterprise AI gateway that gives every employee one API key, with budgets, cost attribution and a Skill/MCP registry