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
VENDOR MODELS15+ providers
One account per employee
Own API key · every token traceable
ENTERPRISE AGENTSUnified auth
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
Everything you need to run LLMs
Model access, knowledge retrieval, governance, employee quotas and visibility, all in one platform.
Model Integration: cloud + local, one API
OpenAI-compatible access to major cloud providers and local engines like Ollama and vLLM. Route by cost, latency or capability, with automatic failover.
Explore Model IntegrationRAG Knowledge Base: teach models your business
Upload PDFs, Word files and web pages; TokenHub parses, chunks and embeds them. Hybrid search plus reranking returns answers with source citations you can verify.
Explore RAG Knowledge BaseAccess & Security
Org, team and project-level RBAC, SSO, granular API key controls and end-to-end audit logs.
Explore Access & SecurityEmployee Quotas
One key per employee, scoped by expiry, budget and allowed models. Track tokens and model fees by provider and estimate monthly spend.
Explore Employee QuotasLive Dashboard
Calls, tokens, cost, latency and error rates in real time, sized for meeting-room and ops-center screens.
Explore Live DashboardPlatform Features
Model playground, prompt templates, request logs, monitoring and alerts, cost center, webhooks and an open API.
See all featuresChange 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"
}'* Sample figures. Actual results depend on your deployment and workload.
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.
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
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 server (Docker)
Up and running in minutes with one Docker Compose command. Great for individuals, small teams and moderate production loads.
Cluster / high availability
Scale out across nodes with load balancing and automatic failover. Built for company-wide rollouts and heavy traffic.
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
Built for real-world use cases
Knowledge assistant
Instant answers from policies, product docs and tech specs, with sources attached.
Customer support
Answer customers from your product knowledge base and hand tough cases to a human.
Developer productivity
Give every engineer model access through one gateway, with quotas per team.
Regulated & public sector
Self-hosted deployment with local models to meet compliance and data-residency requirements.
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.