songquanpeng

    songquanpeng/one-api

    #417 this week

    LLM API 管理 & 分发系统,支持 OpenAI、Azure、Anthropic Claude、Google Gemini、DeepSeek、字节豆包、ChatGLM、文心一言、讯飞星火、通义千问、360 智脑、腾讯混元等主流模型,统一 API 适配,可用于 key 管理与二次分发。单可执行文件,提供 Docker 镜像,一键部署,开箱即用。LLM API management & key redistribution system, unifying multiple providers under a single API. Single binary, Docker-ready, with an English UI.

    api
    ai
    networking
    api-gateway
    azure-openai-api
    chatgpt
    claude
    ernie-bot
    JavaScript
    MIT
    37.2K stars
    6.9K forks
    37.2K GitHub watchers
    Updated Oct 24, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    Ranks #417 of 3,103 repositories GStars tracks this week (top 13%).

    No releases in the last 90 days; the most recent was 628 days ago, with 130 contributors on GitHub.

    Peaked at #19 in the weekly ranking the week of Jan 18, its best in the past year.

    Use Cases & Benefits

    • Provides a unified API gateway to manage and distribute access to multiple large language model providers under a single OpenAI-compatible interface.
    • Enables seamless integration and load balancing across diverse LLM providers with token management, multi-channel support, and easy deployment via single binary or Docker.
    • Use for consolidating API keys and routing requests to various LLM services in a multi-provider AI platform.
    • Use for deploying a self-hosted, scalable LLM API proxy with user, token, and quota management for enterprise or team environments.
    • Use for integrating third-party AI models into existing applications with consistent OpenAI API compatibility and customizable user authentication.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present

    Watch-outs

    • No commits in the last six months (last push Jan 2026).

    General guidance from repository metadata, not legal advice. How we score

    From the README

    中文 | English | 日本語

    ✨ 通过标准的 OpenAI API 格式访问所有的大模型,开箱即用 ✨

    Excerpt from the songquanpeng/one-api README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Aug 8: +5Oct 10: +4

    +1,203 stars over 87 days across 9 snapshot days; best day +5 on Aug 8.

    Forks

    6.9K+130

    Open issues

    1.0K+13

    Compared with peers in API

    Fastest-growing repositories GStars tracks in this cohort for the week of Oct 18, by 7-day star growth

    songquanpeng/one-api compared with API repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    vxcontrol/pentagi32.3K+1.5K7519 days ago
    fastapi/fastapi104.1K+1.0K751 day ago
    jasonxu114514/opencode2api1.3K+38675today
    mudler/LocalAI49.9K+345751 day ago
    Mag1cFall/AIStudio2API423+166421 day ago
    songquanpeng/one-api37.2K+075628 days ago
    Category median32.3K+38675—

    Also by songquanpeng

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description