Product
One API
One API is an open-source AI app, launched in 2023, made for developers and businesses.
A self-hosted gateway that puts many LLM APIs behind one OpenAI-compatible endpoint, with key management.
Main jobs: LLM API, One API for many models. It is open source and free to use. You can use it on your own server, through an API and in the terminal.
Markdown version of https://godooo.ai/en/product/one-api. Every page on this site has one: add .md to its address.
At a glance
- Type
- Product
- Launched
- 2023
- Galaxy
- Models & APIs
- Pricing
- Open source, free
- Open source
- Yes · MIT
- Source code
- github.com/songquanpeng/one-api
- GitHub stars
- 37,017
- How you run it
- Self-host · API · Terminal
- Made for
- Developers · Businesses
- Protocols
- OpenAI-compatible API
- Website
- oneapi.justsong.cn
- Also known as
- one-api
What it can do
LLM APImain jobunconfirmed
“之后就可以使用你的令牌访问 One API 了,使用方式与 OpenAI API 一致。”— github.com, 2026-09-24
One API for many modelsmain jobunconfirmed
“通过标准的 OpenAI API 格式访问所有的大模型,开箱即用”— github.com, 2026-09-24
unconfirmedproposed by a machine, awaiting calibration
Alternatives
- OpenRouterFree plan + paid upgradesAlso does: LLM API, One API for many models
- AI SDKOpen source, freeAlso does: LLM API, One API for many models
- LiteLLMOpen source, freeAlso does: LLM API, One API for many models
- LLMOpen source, freeAlso does: LLM API, One API for many models; runs offline
- Together AIPaidAlso does: LLM API, One API for many models
- ClaudeAlso does: LLM API; no code needed
- GeminiAlso does: LLM API; no code needed
- GPTAlso does: LLM API; no code needed
- GPT-3Also does: LLM API
- GPT-4Also does: LLM API; no code needed
- Hugging FaceFree plan + paid upgradesAlso does: LLM API, One API for many models; runs offline
- LlamaOpen source, freeAlso does: LLM API; runs offline
Questions
What is One API?
One API is an open-source AI app, launched in 2023, made for developers and businesses. A self-hosted gateway that puts many LLM APIs behind one OpenAI-compatible endpoint, with key management.
Is One API free?
Yes. One API is open source (MIT) and free to use.
Is One API open source?
Yes, under the MIT license. The source code is at https://github.com/songquanpeng/one-api.
Can One API run locally?
One API can be self-hosted on your own server.
What can One API do?
Main jobs: LLM API, One API for many models.
What are open-source alternatives to One API?
Open-source ones: AI SDK, LiteLLM, LLM and Llama. Others: OpenRouter, Together AI, Claude, Gemini, GPT and GPT-3.
Sources
- github.com/songquanpeng/one-apichecked 2026-09-24
- oneapi.justsong.cn