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 is the industry-standard, open-source LLM API management and key redistribution platform engineered in Go by Song Quanpeng. One API unifies access across OpenAI, Azure OpenAI, Anthropic Claude, Google Gemini, DeepSeek, Baidu Ernie, Zhipu GLM, Moonshot, and Alibaba Tongyi Qianwen into a single, seamless OpenAI-compatible API interface. Engineered as a self-contained single binary with an integrated web administration interface, One API enables private teams and commercial SaaS builders to manage model keys, enforce token quotas, load-balance across upstream providers, and safely resell or distribute AI compute.
One API operates through structured, deterministic execution stages:

One API channel management interface configuring multi-provider upstream credentials

One API token issuance and user quota allocation console
/v1/chat/completions and /v1/embeddings endpoints.One API Architecture Diagram
*Interactive system architecture visualizer provided via GitDiagram.*
| Specification | Minimum Requirement | Recommended Specification |
|---|---|---|
| Operating System | macOS 11.0+ / Linux x64 & ARM64 / Windows 10/11 / Docker | Latest stable release build |
| Processor Architecture | 4-Core x86_64 or Apple Silicon M1 | 8-Core Apple Silicon / Core i7+ |
| Memory (RAM) | 4 GB Unified Memory | 16 GB+ High-Speed RAM |
| Disk Space | 1 GB free SSD storage | 5 GB+ free SSD storage |
docker run -d \ --name one-api \ -p 3000:3000 \ -e SQL_DSN="root:123456@tcp(localhost:3306)/one-api" \ -v $(pwd)/data:/data \ justsong/one-api:latest
git clone https://github.com/songquanpeng/one-api.git cd one-api go build -ldflags "-s -w" -o one-api ./one-api --port 3000
Unlock application details to view installation, configuration, and workflow guides.
http://localhost:3000 and sign in with initial credentials (root / 123456).Unlock application details to view installation, configuration, and workflow guides.
./one-api --reset-password or wipe local sqlite data.proxy_buffering off; and proxy_set_header X-Accel-Buffering no; in Nginx configuration.Unlock this app with 5 Redit to access verified runbooks and usage workflows.
100% Free & Open-Source native desktop software. Star the repository to support development.
A blazing fast AI Gateway with integrated guardrails. Route to 1,600+ LLMs, 50+ AI Guardrails with 1 fast & friendly API.