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.
One API puts every LLM provider behind one endpoint
A key management and redistribution system unifying OpenAI, Azure, Claude, Gemini, DeepSeek, and a long list of Chinese providers under a single API, shipped as one executable file.
The unify-everything pitch
One API is an LLM API management and distribution system. Its purpose is to put multiple providers behind a single API so keys can be managed and access redistributed. The supported list is long: OpenAI's ChatGPT series, Anthropic Claude, Google PaLM2 and Gemini, Mistral, ByteDance Doubao, Baidu Ernie, Alibaba Qwen, iFlytek Spark, Zhipu ChatGLM, 360 Zhinao, Tencent Hunyuan, Moonshot AI, and DeepSeek, plus Azure. JavaScript under MIT, around 36,400 stars.
Tokens, quotas, and channels
Feature-wise the system handles load balanced access to multiple channels, stream mode for typewriter style output, and multi machine deployment. Token management covers expiry, quota, allowed IP ranges, and allowed models. There is also redemption code management with batch generation and export, and support for image mirroring and third party proxy services.
Deployment and one legal note
Docker images come in stable, preview, and alpha variants, with a GitHub mirror for image pulls, and a watchtower based command handles updates. The distribution is a single executable file, and the UI ships in English. The README also carries a compliance note worth reading: users must follow OpenAI usage terms and applicable laws, and must not provide unregistered generative AI services to the Chinese public. The homepage is oneapi.justsong.cn.
Who this is for
Anyone juggling keys across several providers, or running a shared gateway for a team, is the obvious audience. The redistribution features, tokens with quotas and redemption codes, point at scenarios where API access itself is the product being handed out to other people.
Editorial conclusion
A pragmatic piece of plumbing for a fragmented provider market. The compliance note in the README is unusual, and worth taking seriously.
Community notes