aicoolies logo
One API logo
One API logo

One API

OpenAI API management gateway for 100+ LLM providers

open sourceupdated Jul 8, 2026

One API is a self-hosted LLM API gateway that provides a unified OpenAI-compatible interface for managing multiple model providers including OpenAI, Azure, Anthropic, Google, and dozens of Chinese providers. It handles load balancing, quota management, rate limiting, token tracking, and channel-based routing through a web dashboard. Widely adopted in the Chinese developer ecosystem with over 18,000 GitHub stars.

One API is the most popular open-source LLM API management platform in the Chinese developer ecosystem, providing a single unified endpoint that proxies requests to over 100 different model providers. Teams deploy it as a central gateway that handles authentication, load balancing across multiple API keys and providers, usage quota enforcement, and automatic failback when a provider experiences downtime. All traffic passes through the OpenAI-compatible API format, so client applications need no modification when switching between backend providers.

The platform includes a full web-based management dashboard for creating and managing API channels, setting per-user and per-channel rate limits, tracking token consumption with cost estimation, and configuring model-to-channel routing rules. Administrators can assign different priority weights to channels for intelligent load distribution and set up automatic channel health checks that disable failing providers. One API supports streaming responses, function calling, vision models, and embedding endpoints across all compatible providers.

With over 18,500 GitHub stars and active development under an MIT license, One API fills a critical infrastructure gap for organizations managing multiple LLM provider relationships. It deploys easily via Docker with SQLite or MySQL backends and supports Redis for rate limiting at scale. While similar in concept to LiteLLM, One API takes a more operations-focused approach with its built-in web UI, user management system, and enterprise quota controls that make it particularly suited for team and organization-wide LLM access management.

Pricing

Free and open source under MIT license

Platforms

Docker, self-hosted — web dashboard included

Categories

Tags

Use Cases

Related Tools

computed discovery: shared active categories · kept separate from editor-verified Alternatives

KTransformers parent kvcache-ai logo

KTransformers

Heterogeneous CPU-GPU inference and SFT for large MoE models

Open-source framework for running and fine-tuning large Mixture-of-Experts models with heterogeneous CPU-GPU execution, optimized kernels, limited VRAM and SGLang or LLaMA-Factory integrations.

Open Source
vLLM Production Stack parent vLLM logo

vLLM Production Stack

Official Kubernetes and Helm reference stack built on the vLLM inference engine

Official vLLM reference implementation for scaling the existing inference engine on Kubernetes with Helm, request routing, KV-cache offload, autoscaling and Prometheus/Grafana observability.

Open Source
Dynamo logo

NVIDIA Dynamo

Distributed inference orchestration above vLLM, SGLang and TensorRT-LLM

Open-source, datacenter-scale orchestration layer that coordinates vLLM, SGLang and TensorRT-LLM across nodes with disaggregated serving, KV-aware routing, multi-tier cache management and automatic scaling.

Open Source
GPUStack logo

GPUStack

Open-source GPU control plane for scalable AI model serving

Open-source GPU cluster manager that configures vLLM, SGLang, TensorRT-LLM or custom engines, serves models through compatible APIs, and provisions SSH-accessible GPU instances across on-premises, Kubernetes and cloud environments.

Open Source
Mooncake logo

Mooncake

Disaggregated KV cache storage and transfer for LLM serving

Open-source infrastructure for disaggregated LLM serving that pools KV caches across prefill and decode workers, with high-performance transfer, distributed storage and integrations for vLLM and SGLang.

Open Source
LMCache logo

LMCache

Reusable KV cache infrastructure for scalable LLM inference

Open-source KV cache management layer that persists, offloads and reuses model key-value caches across requests and serving engines to reduce repeated prefill work and improve inference throughput.

Open Source

Comparisons

One API vs LiteLLM — Self-Hosted LLM Gateways for Multi-Provider Management

One API and LiteLLM are both open-source LLM API gateways that provide unified OpenAI-compatible endpoints for managing multiple model providers. One API offers a web-based management dashboard popular in the Chinese ecosystem, while LiteLLM provides a Python-first proxy with broader Western adoption. This comparison helps teams choose the right gateway for their multi-provider LLM infrastructure.

One APILiteLLM

FAQ

What is One API?

One API is a self-hosted LLM API gateway that provides a unified OpenAI-compatible interface for managing multiple model providers including OpenAI, Azure, Anthropic, Google, and dozens of Chinese providers. It handles load balancing, quota management, rate limiting, token tracking, and channel-based routing through a web dashboard. Widely adopted in the Chinese developer ecosystem with over 18,000 GitHub stars.

Is One API free?

Yes — One API is open source and free to use. Free and open source under MIT license

Is One API open source?

Yes — One API is open source.

What are the best One API alternatives?

The top editor-verified One API alternatives are New API, Baseten.