Cette page est affichée en anglais. Une traduction française est en cours.
SkillsMay 14, 2026·2 min de lecture

One API — Unified LLM API Gateway (Docker)

One API is a self-hosted LLM API gateway: unify OpenAI/Claude/Gemini/DeepSeek endpoints, manage keys, and deploy via Docker in minutes (33.7k★).

Prêt pour agents

Staging sûr pour cet actif

Cet actif est d'abord staged. Le prompt copié demande à l'agent d'inspecter les fichiers staged avant d'activer scripts, config MCP ou config globale.

Stage only · 29/100Policy : staging
Surface agent
Tout agent MCP/CLI
Type
Skill
Installation
Stage only
Confiance
Confiance : Established
Point d'entrée
Asset
Commande de staging sûr
npx -y tokrepo@latest install 65f4b9a7-d932-51b8-aa22-6f0ff7cff276 --target codex

Stage les fichiers d'abord; l'activation exige la revue du README et du plan staged.

Introduction

One API is a self-hosted LLM API gateway: unify OpenAI/Claude/Gemini/DeepSeek endpoints, manage keys, and deploy via Docker in minutes (33.7k★).

Best for: Developers who want one endpoint for multiple providers, with centralized key management and predictable routing for agents

Works with: Docker (recommended), optional MySQL, and downstream clients that can point to a single OpenAI-compatible base URL

Setup time: 10-30 minutes

Main

  • Multi-provider gateway: positioned as a unified API layer for many model providers, so agents can talk to “one base URL” instead of custom clients per vendor.
  • Docker-first deployment: the README provides runnable docker run commands (SQLite and MySQL variants) and a Compose option.
  • Operational knobs: documents env vars and multi-node notes (session secret, sync frequency, Redis) for production-ish usage.
  • Good for agent fleets: centralizes key/quotas so you can rotate credentials without touching every agent or tool.

FAQ

  • Do I need MySQL?: No. The README shows an SQLite-based docker run; use MySQL when you need multi-node or stronger persistence.
  • How do I upgrade safely?: The README suggests a watchtower-based update command; test on a staging instance first.
  • What is the first integration?: Point one client at the gateway base URL and verify a single model call before migrating everything.
🙏

Source et remerciements

Source: https://github.com/songquanpeng/one-api > License: MIT > GitHub stars: 33663 · forks: 6429

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires