This is a project that unifies the management of LLM APIs. It can call multiple backend services through a unified API interface, convert them to the OpenAI format uniformly, and support load balancing. Currently supported backend services include: OpenAI, Anthropic, DeepBricks, OpenRouter, Gemini, Vertex, etc.
Star History
Momentum
+32
STARS · LAST 30 DAYS
1
PER DAY
#238
MOST-STARRED Rust
| Window | 7 days | 30 days | 90 days |
|---|---|---|---|
| Stars gained | +7 | +32 | +90 |
| Per day | 1 | 1 | 1 |
| Forks gained | +1 | +3 | +10 |
uni-api gained 32 stars in the last 30 days, about 1 a day, and now has 1.3K. It is about 2 years old and has averaged roughly 632 stars a year. It ranks #238 among Rust repositories and #2,358 across all languages on GitHubRepo.
Trending Record
2
DAYS ON TRENDING
#2305
BEST RANK
Sep 27, 2026
FIRST APPEARANCE
Active
STATUS TODAY
uni-api has maintained a continuous presence across global trending indexes, peaking at #2305. Below is the 30-day activity profile:
💡 Overview
uni-api is an open-source project written in Rust: This is a project that unifies the management of LLM APIs. It can call multiple backend services through a unified API interface, convert them to the OpenAI format uniformly, and support load balancing. Currently supported backend services include: OpenAI, Anthropic, DeepBricks, OpenRouter, Gemini, Vertex, etc.
Engineered for speed, consistency, and developer ease, it solves common hurdles in aws, azure, claude. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.
⚡ Key Features
Optimized execution pipeline written in Rust for predictable speed.
Zero-friction configuration with comprehensive sensible defaults out of the box.
Cross-platform runtime support across Linux, macOS, and Windows environments.
Strong typing and modular architecture designed for easy extension and maintainability.
Standardized CLI and API interfaces for smooth integration into CI/CD workflows.
Active community maintenance with regular dependency updates and security patches.
📥 Installation
$ cargo install uni-api
⚙ System Requirements
Platforms
- • macOS
- • Linux
- • Windows
Runtime & Dependencies
Rust toolchain (rustc / cargo >= 1.70)
Architecture
x86_64, ARM64 (Apple Silicon & Graviton)
🧠 How It Works
uni-api coordinates its core functionality through a modular Rust pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.
🎯 Production Use Cases
Autonomous AI Agents
Orchestrate intelligent workflows and tool-calling routines with uni-api.
Model Inference & Prompting
Integrate fast, local or cloud-hosted generative AI models directly into production code.
Context Memory & RAG
Augment language models with dynamic vector retrieval and structured project memory.
Developer Productivity
Automate repetitive engineering tasks, code generation, and test creation using AI agents.
🚀 Getting Started
Install uni-api using your package manager: `cargo install uni-api`
Initialize your project workspace or configuration file for uni-api.
Import uni-api into your codebase or invoke it directly from your terminal.
Execute your test suite or run `uni-api --help` to verify successful setup.
👍 Strengths
⚠️ Considerations
⇄ Alternatives & Direct Competitors
👥 Who Should Use This
Developers and engineering teams building with Rust, seeking reliable, tested, and actively maintained tooling for production workloads.
🏆 Nearby in the Rankings
yym68686/uni-api is currently ranked #2,358 by stars across every repository tracked on GitHubRepo. These are adjacent projects:
| Rank | Repository | Language | Stars | Action |
|---|---|---|---|---|
| #2,353 | OpenLiberty/open-liberty | Java | ★ 1.3K | Compare ↗ |
| #2,353 | joshuafuller/ATAK-Maps | Python | ★ 1.3K | Compare ↗ |
| #2,355 | pymc-labs/pymc-marketing | Python | ★ 1.3K | Compare ↗ |
| #2,356 | elementary/website | PHP | ★ 1.3K | Compare ↗ |
| #2,357 | Blair2004/NexoPOS | PHP | ★ 1.3K | Compare ↗ |
| #2,358 | yym68686/uni-api This Project | Rust | ★ 1.3K | |
| #2,358 | sofa-framework/sofa | C++ | ★ 1.3K | Compare ↗ |
| #2,360 | ryokun6/ryos | TypeScript | ★ 1.3K | Compare ↗ |
| #2,361 | facebook/mariana-trench | C++ | ★ 1.3K | Compare ↗ |
| #2,362 | HearthSim/HSTracker | Swift | ★ 1.3K | Compare ↗ |
| #2,363 | Aryan-Raj3112/episteme | Kotlin | ★ 1.3K | Compare ↗ |
Frequently Asked Questions
What does uni-api do? +
This is a project that unifies the management of LLM APIs. It can call multiple backend services through a unified API interface, convert them to the OpenAI format uniformly, and support load balancing. Currently supported backend services include: OpenAI, Anthropic, DeepBricks, OpenRouter, Gemini, Vertex, etc.
What language is uni-api written in? +
The primary language is Rust. Topics include: aws, azure, claude, gemini, grok.
Is uni-api actively maintained? +
Yes, the last recorded push was on Sep 26, 2026 with 15 open issues being tracked.
How many stars does uni-api have? +
uni-api has 1,263 stars and 158 forks on GitHub.
How does uni-api rank among GitHub repositories? +
With 1,263 stars, yym68686/uni-api is ranked #2,358 globally across all repositories tracked on GitHubRepo and #238 among Rust projects.
What license is uni-api distributed under? +
The repository reports a Apache-2.0 license. Always verify the repository LICENSE file for legal terms.