one-api
LLM API 管理 & 分发系统,支持 OpenAI、Azure、Anthropic Claude、Google Gemini、DeepSeek、字节豆包、ChatGLM、文心一言、讯飞星火、通义千问、360 智脑、腾讯混元等主流模型,统一 API 适配,可用于 key 管理与二次分发。单可执行文件,提供 Docker 镜像,一键部署,开箱即用。LLM API management & key redistribution system, unifying multiple providers under a single API. Single binary, Docker-ready, with an English UI.
💡 Why It Matters
This project addresses the complexity of managing multiple large language model APIs from diverse providers such as OpenAI, Anthropic Claude, Google Gemini, and several Chinese AI services, by unifying them under a single OpenAI-compatible API interface. It handles key management, quota, user and channel grouping, and supports load balancing across providers, plus features like streaming responses and multi-machine deployment. Backend engineers and platform teams benefit most from its extensive provider integration and token management capabilities, especially in environments requiring fine-grained access control and usage tracking. With over 37,000 stars, active development as of early 2026, and strong growth, it shows solid community interest and ongoing maintenance. It is not suitable if you need a lightweight proxy for a single provider or if your use case demands official SDK support and compliance guarantees, where commercial API gateways or vendor-specific SDKs might be better choices.
🎯 When to Use
Choose this when you need to unify access to multiple LLM providers behind a consistent API, with detailed user and token management for internal or external API redistribution. Consider alternatives like OpenAI's official API gateway or commercial API management platforms if you require vendor-certified compliance or simpler single-provider setups.
👥 Team Fit & Use Cases
Typically deployed in teams building internal AI platforms that aggregate multiple LLMs for chatbots, content generation, or research, where managing API keys, usage quotas, and user access is critical. It fits well in scenarios such as providing unified LLM access for internal tools, SaaS products with multi-tenant AI features, or experimentation platforms combining models from Western and Chinese providers.
🎭 Best For
🏷️ Topics & Ecosystem
📊 Activity
Latest commit: 2026-01-09. Over the past 372 days, this repository gained 9.5k stars (+34.2% growth). Activity data is based on daily RepoPi snapshots of the GitHub repository.