TokenHub is available as a Docker image, Linux package, and offline installer Download now
NewOne-click local models · Hybrid RAG search

TokenHub · AI Compute Orchestration Hub

One gateway to every LLM

TokenHub puts cloud models from major providers and your own local models behind one OpenAI-compatible API, with built-in RAG, fine-grained permissions and a live dashboard. Run it on your own servers and roll out AI that's secure, controlled and on budget.

Free download · Self-hosted · Your data never leaves your servers
Free for personal and non-commercial use. Commercial use requires a commercial license.

LOCAL MODELSStays on-prem
QQQianqian AI InferencePrivate GPU cluster · intranet
VENDOR MODELS15+ providers
DSDeepSeekReasoning · code
KKIMILong context
GLGLM (Zhipu)General · multimodal
SdSeedance 2.5Video generation
MxMiniMax H3Voice · chat
+ More providers
TokenHub

One account per employee
Own API key · every token traceable

12,480tokens / s
1,286employees online
42agent calls / s
ENTERPRISE AGENTSUnified auth
AsQianqian AssistantQ&A · office worksk-th
CrQianqian CreativeImage · videosk-th
</>CodeNeoCoding agentsk-th
CxCodexCoding agentsk-th
ClClaudeCoding · writingsk-th

Local / vendor models → TokenHub accounts & keys → In-house agentsSample data

Works with the major model providers and local inference engines, with more added all the time

OAOpenAI AnAnthropic Claude GeGoogle Gemini DSDeepSeek QwQwen (Alibaba Cloud) ERERNIE (Baidu) GLGLM (Zhipu AI) KKimi (Moonshot AI) DbDoubao (ByteDance) HyHunyuan (Tencent)
OlOllama vLvLLM XiXinference LMLM Studio SGSGLang LALocalAI AzAzure OpenAI BRAWS Bedrock MiMistral MxMiniMax
CORE CAPABILITIES

Everything you need to run LLMs

Model access, knowledge retrieval, governance, employee quotas and visibility, all in one platform.

UNIFIED API

Change one line, switch any model

TokenHub speaks the OpenAI API, so your existing code and SDKs just work. Cloud and local models are called the same way, and knowledge base retrieval is a single parameter.

Smart routing & failover

If the primary model times out or gets rate-limited, traffic moves to a backup automatically. Your apps never notice.

Metering by user and project

Every call's tokens and cost are attributed to the right user, team and project.

One key, full control

Teams only ever hold a TokenHub key. Provider keys stay on your servers and are never exposed.

from openai import OpenAI

client = OpenAI(
    base_url="http://localhost:8080/v1",  # your TokenHub URL
    api_key="th-your-api-key",
)

resp = client.chat.completions.create(
    # swap in deepseek-chat / qwen-plus / ollama/qwen2.5 to switch
    model="auto",
    messages=[{"role": "user", "content": "Summarize weekly sales"}],
    # optional: attach a RAG knowledge base for cited answers
    extra_body={"knowledge_base": "kb_sales"},
)
print(resp.choices[0].message.content)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "http://localhost:8080/v1", // your TokenHub URL
  apiKey: process.env.TOKENHUB_API_KEY,
});

const resp = await client.chat.completions.create({
  model: "auto", // TokenHub picks the model per your routing policy
  messages: [{ role: "user", content: "Summarize weekly sales" }],
  knowledge_base: "kb_sales",
});

console.log(resp.choices[0].message.content);
# replace localhost:8080 with your TokenHub address
curl http://localhost:8080/v1/chat/completions \
  -H "Authorization: Bearer $TOKENHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "auto",
    "messages": [{"role": "user", "content": "Summarize weekly sales"}],
    "knowledge_base": "kb_sales"
  }'
50+
Supported models
99.95%
Gateway uptime target
<20ms
Added gateway latency
30%
Cost saved with smart routing

* Sample figures. Actual results depend on your deployment and workload.

GET STARTED

Live in three steps, same day

No changes to your existing systems. Make your first call within 10 minutes of installing.

Download & deploy

Grab the package and start TokenHub on your server with a single Docker command. An offline installer is available for air-gapped networks.

Add models & policies

Paste in provider API keys or point to local Ollama / vLLM endpoints, then set routing rules, fallbacks, quotas and permissions. Attach a RAG knowledge base if you need one.

Call one API

Teams call the unified API with a TokenHub key, and all usage flows into the dashboard and reports in real time.

LIVE DASHBOARD

AI usage and spend, on one screen

Track company-wide calls, token usage, department rankings, latency and budget burn in real time, with instant alerts when something looks off.

  • Scales from 1920×1080 to meeting-room and ops-center displays
  • Cloud vs. local model mix and cost comparison
  • Token rankings by department, project and user
  • Live latency, error rate and knowledge base hit rate
SELF-HOSTED

Runs on your own servers

Download TokenHub and deploy it yourself, with no dependency on any vendor cloud. Your data, keys and logs stay under your control. Pick the setup that fits your scale and compliance needs.

Single node

Single server (Docker)

Up and running in minutes with one Docker Compose command. Great for individuals, small teams and moderate production loads.

Cluster

Cluster / high availability

Scale out across nodes with load balancing and automatic failover. Built for company-wide rollouts and heavy traffic.

Air-gapped

Air-gapped deployment

Install from an offline package. Pair it with local models, knowledge bases and vector stores, and no data ever leaves your network.

You pay cloud providers directly for model usage; local models cost nothing per call. See download & install guide

Ready to bring all your LLMs under one roof?

Download TokenHub for free and have it running on your own server in minutes. It's free for personal and non-commercial use; for business use, get in touch about a commercial license.