Status: [LIVE] Endpoints found: https://api.openai.com/v1/chat/completions https://api.openai.com/v1/chat https://api.openai.com/v1/chat/completions` Source: https://github.com/monologue82/Uni-API
[English](README.md) | [简体中文](README.zh-CN.md)

Uni-API ### A unified API gateway for the AI era. Route, proxy, and manage hundreds of AI providers through a single, self-hosted interface. --- ![License](https://img.shields.io/badge/license-AGPL--3.0-blue?style=flat-square) ![Python](https://img.shields.io/badge/Python-3.11+-3776AB?style=flat-square&logo=python&logoColor=white) ![Vue](https://img.shields.io/badge/Vue-3.5-4FC08D?style=flat-square&logo=vue.js&logoColor=white) ![FastAPI](https://img.shields.io/badge/FastAPI-0.115-009688?style=flat-square&logo=fastapi&logoColor=white) ![Stars](https://img.shields.io/github/stars/monologue82/Uni-API?style=flat-square&color=yellow) ![Issues](https://img.shields.io/github/issues/monologue82/Uni-API?style=flat-square)
--- ## Why Uni-API? You have an OpenAI key, a Claude key, a Gemini key, a DeepSeek key, a SiliconFlow key... and you keep switching `base_url` and `Authorization` headers in your code. Uni-API puts **all of them behind one endpoint**. A single self-hosted gateway that: - Hosts your own `/v1/chat/completions` for every provider you've paid for. - Encrypts API keys at rest. - Logs every call (status, latency, route). - Lets you mint short-lived client keys for your apps — and revoke them anytime. - Ships a clean Vue 3 admin UI so non-engineers can manage routes without touching the config. ## Highlights | | | |---|---| | **60+ built-in presets** | OpenAI, Anthropic, Google, Azure, DeepSeek, Groq, Mistral, Cohere, xAI, DashScope, Zhipu, Moonshot, Ollama, LM Studio, vLLM, Replicate, and many more. | | **Transparent proxy** | Request goes in, response comes out — including streaming. No SDK changes needed. | | **Per-route API key** | Encrypted with Fernet (`cryptography`) before being written to SQLite. | | **Live model discovery** | Hit *Fetch Models* and the preset pulls the live `