ZhiYi-R

    ZhiYi-R/moon-bridge

    Moon Bridge 是一个用 Go 编写的协议转换与模型路由代理。对外暴露 OpenAI Responses API(/v1/responses),对内支持 Anthropic Messages、Google Gemini(GenAI)、OpenAI Chat Completions 等多种上游协议。客户端指定不同模型别名时,自动将请求路由到对应上游 Provider 并在协议间自动转换。

    api
    Go
    GPL-3.0
    756 stars
    126 forks
    756 GitHub watchers
    Updated Oct 26, 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.

    The project lists 14 contributors on GitHub.

    Use Cases & Benefits

    • Implements a protocol conversion and model routing proxy exposing OpenAI Responses API while supporting multiple upstream AI protocols internally.
    • Enables seamless automatic routing and protocol translation between diverse AI providers using model aliases, simplifying multi-provider integration.
    • Use for unifying AI model access in applications requiring interoperability between OpenAI, Anthropic, and Google Gemini APIs.
    • Use for developers needing runtime configuration hot-reloading and detailed request tracing for debugging multi-protocol AI interactions.
    • Use for deploying a local AI proxy server to route and convert requests in multi-modal AI workflows with token usage and cost aggregation.

    Should you depend on it?

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

    License

    GPL 3.0

    Copyleft: distributing software that includes it generally requires releasing your source under the same license.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    • GPL-style copyleft: including it in distributed software generally requires releasing your source under the same license.
    • No GitHub releases; pin a commit or tag instead of a release.

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

    From the README

    Moon Bridge 是一个用 Go 编写的协议转换与模型路由代理。对外暴露 OpenAI Responses API(/v1/responses),对内支持 Anthropic Messages、Google Gemini(GenAI)、OpenAI Chat Completions 等多种上游协议。客户端指定不同模型别名时,自动将请求路由到对应上游 Provider 并在协议间自动转换。

    🍳 新手先看这里 → CookBook.md:一份按目标找做法的菜谱,5 分钟跑通第一个对话。 官方qq群:1103798316

    源码开发要求 Go 1.25+。

    Excerpt from the ZhiYi-R/moon-bridge README on GitHub (GPL-3.0 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

    Forks

    126-3

    Open issues

    49+19

    Compared with peers in API

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

    ZhiYi-R/moon-bridge compared with API repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    vxcontrol/pentagi33.5K+7123831 days ago
    usebruno/bruno48.2K+2815914 days ago
    agentgateway/agentgateway6.0K+183609 days ago
    mudler/LocalAI50.2K+1765912 days ago
    sveltejs/svelte88.6K+77659 days ago
    ZhiYi-R/moon-bridge756—18—
    Category median48.2K+18359—

    Discover Repositories

    Search across tracked repositories by name or description