TokenHub

TokenHub

โ˜… 3.8 ๐Ÿ”– 1200 saves ๐Ÿ’ฐ Free API IntegrationGitHub

TokenHub is an open-source enterprise AI gateway published on GitHub that gives companies one private, governed entry point for every model call. The project has gathered around 1,400 GitHub stars and is actively developed, with its latest updates in 2026.

Overview

As employees adopt ChatGPT, Claude, coding agents and cheap API relays, model access fragments and cost, data and audit control break down. TokenHub pulls everything back behind a single gateway: it connects OpenAI, Azure OpenAI, Anthropic, Gemini, DeepSeek, Qwen, local models and custom OpenAI-compatible upstreams through native provider adapters and 150+ provider templates, then applies model routing, failover, project-scoped API keys, quotas and concurrency controls on top. Administrators manage providers, routing policies, SSO/OIDC identity, RBAC and audit trails from a web console, while finance and platform teams get usage analytics and provider-bill reconciliation attributed by user, team, project, model and cost center. It deploys privately with Docker Compose or a native systemd install, starts SQLite-first and scales to PostgreSQL for multi-instance setups.

Key Features

  • Unified OpenAI- and Anthropic-compatible gateway for 150+ providers
  • Policy-based model routing with priority, weights and failover
  • Project-scoped keys, quotas, budgets and cost attribution
  • SSO/OIDC sign-in, RBAC roles and full audit trails
  • Usage analytics and provider-bill reconciliation dashboards
  • Private deployment via Docker Compose or native install

๐Ÿ’ณ Pricing

TokenHub is free and open source under the Apache 2.0 license. You self-host it on your own infrastructure and only pay your model providers.

Who Is It For

Platform and IT teams at companies rolling out AI tools at scale who need one auditable, cost-controlled gateway instead of scattered personal API keys.

๐Ÿš€ Visit TokenHub Official Site

๐Ÿšฉ Report an issue