GoModel

io.github.ENTERPILOT由 GitHub 帳號 ENTERPILOT 發布v0.2.2更新於 Nov 7, 2026

Self-hosted gateway aggregating upstream MCP servers behind one authenticated HTTP endpoint.

發布方自己的服務:model.tools — Zero-Auth Agent Utilities

概覽

AI 產生的概覽

自架的 AI 閘道,把多個上游 MCP 伺服器彙整到單一需驗證的 HTTP 端點之後,並提供快取、預算與供應商路由。

可以做什麼
  • 在單一驗證端點後彙整多個上游 MCP 伺服器,可透過設定檔或環境變數宣告
  • 以 OpenAI 與 Anthropic 相容格式代理多家供應商的 LLM 請求,支援容錯切換與金鑰輪替
  • 快取回應、統計每次請求成本,並依使用者路徑執行預算、速率限制與模型存取控制
  • 提供用量 API、供應商原生透傳 API、音訊與影像端點,以及儀表板中的模型測試區
適用情境
當你希望為多個 MCP 伺服器或 LLM 供應商提供統一的受控入口,共用驗證、支出上限與用量分析,且願意自行執行與維護此閘道時使用。
執行需求
以 Docker 映像(stdio/streamable-http)或安裝腳本在本機執行;需要 GOMODEL_MASTER_KEY 進行用戶端驗證,透過 config.yaml、.env 或環境變數設定,並為所連接的上游供應商或 MCP 伺服器準備各自的 API 金鑰。
安裝前請注意
若未設定 GOMODEL_MASTER_KEY,閘道會以不安全的無驗證模式執行,任何能連上該連接埠的人都能使用。上游憑證(如供應商 API 金鑰或權杖)會存放在其設定中,且會實際產生供應商費用,應設定預算與速率限制。它會把請求與用量資料轉送給第三方供應商。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 GoModel,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[GoModel logo]

GoModel - The last AI gateway you will ever need

[CI] [GO Version] [Docker Pulls] [Discord] [Sponsor GoModel]

[Hacker News] [docs GoModel]

[GoModel on Hacker News]

GoModel is the fastest and the most resource-efficient AI Gateway (the self-reproducible benchmarks). It's an alternative to LiteLLM (which was hacked recently) and Portkey (which is no longer maintained on GitHub).

[GoModel AI gateway dashboard showing AI usage analytics, observability panel, token and costs tracking, and estimated cost monitoring]

(click on the animation ↑ to see the live demo)

GoModel saves you money and nerves.

Money - because you can remember the responses on this layer (caching), track your spending and do tricks like prompt compression and intelligent routing.

Nerves - because we strive to achieve good quality and reliability. Our ambition is to be the last AI gateway you will need - the most reliable, resource-optimal, feature-rich and fast.

Quick Start

Step 1: Install and start GoModel

Docker

bash
docker run --rm -p 8080:8080 \  -v gomodel_data:/app/data \  enterpilot/gomodel

macOS / Linux

bash
curl -fsSL https://gomodel.enterpilot.io/install.sh | sh# OPENAI_API_KEY="your-openai-key" # (optional)gomodel

Windows (PowerShell)

powershell
irm https://gomodel.enterpilot.io/install.ps1 | iex# $env:OPENAI_API_KEY = "your-openai-key" # (optional)gomodel

ℹ️ Configure GoModel with .env, a config.yaml file, or manage the most important settings directly in the dashboard.

ℹ️ See .env.template for the complete list of environment variables, including all available providers.

Step 2: Open the dashboard and add a provider

text
http://localhost:8080/admin/dashboard

Step 3: Make an API call

bash
curl http://localhost:8080/v1/responses \  -H "Content-Type: application/json" \  -d '{    "model": "gpt-5-chat-latest",    "input": "Hello!"  }'

GoModel and official SDKs

GoModel accepts requests in two compatible formats:

  • OpenAI-compatible at /v1
  • Anthropic-compatible at /v1/messages

The official SDKs therefore work unchanged. Configure their base URLs as follows:

  • OpenAI SDK: http://localhost:8080/v1
  • Anthropic SDK: http://localhost:8080 (the SDK appends /v1/messages)

List of Supported LLM Providers

  • OpenAI
  • Anthropic
  • xAI (Grok)
  • Google Gemini
  • Cohere
  • Vertex AI
  • DeepSeek
  • Groq
  • Fireworks AI
  • Together AI
  • Meta (Muse Spark)
  • OpenRouter
  • Z.ai
  • Alibaba Cloud Model Studio (Bailian)
  • Kilo AI
  • Eden AI
  • MiniMax
  • Xiaomi MiMo
  • OpenCode Go
  • Azure OpenAI
  • Oracle
  • Ollama
  • SGLang
  • vLLM
  • llm-d
  • Amazon Bedrock Runtime and Bedrock Mantle
  • ChatGPT (the Codex backend) and Claude
  • GitHub Copilot
  • ElevenLabs (text-to-speech and speech-to-text)
  • Jev (TypeSafe System One decision API) and self-hosted Kev, also behind OpenAI's Decisions API
  • All OpenAI-compatible providers

See the Providers Overview for the full per-provider feature matrix.


Docker Compose

Infrastructure only (Redis, PostgreSQL, MongoDB, Adminer - no image build):

bash
cp .env.template .env# Add your API keys to .envdocker compose up -d# or: make infra

Full stack (adds GoModel + Prometheus; builds the app image):

bash
docker compose --profile app up -d# or: make image

API docs


Gateway Configuration

GoModel resolves configuration in the following order, with each source overriding those to its left:

Good defaults → config.yaml → .env → exported environment variables

See the Configuration reference for the full list of settings.


Features

  • Caching - exact and semantic response caching, so repeated prompts cost nothing
  • Cost tracking - per-request cost estimates, usage analytics, and spending breakdowns in the dashboard
  • Budgets - hard spend limits per user, team, or key
  • Rate limits - requests, tokens, and concurrency caps per user path, provider, or model
  • Usage API - clients check their own usage, remaining budget, and rate-limit headroom with the key they already use for inference
  • Virtual models - aliases and load balancing (round-robin or cost-based) behind stable model names
  • Session keeping - detect a client session and pin it to one target and provider key, so provider prompt caches stay warm and audit logs read as threads
  • Failover - automatic rerouting to backup providers, with retries and circuit breakers
  • Labelling - tag requests from HTTP headers or API keys and break down usage by label
  • User paths - hierarchical scoping of keys, model access, budgets, usage, and audit logs
  • Model access control - per-group, per-user, and per-key model allowlists that intersect down the user-path tree
  • MCP gateway - aggregate your MCP servers behind one authenticated endpoint
  • Passthrough API - provider-native APIs under /p/{provider}/..., with GoModel auth and tracking
  • Audio and image APIs - OpenAI-compatible text-to-speech, transcription, and image generation and editing with the same access rules, budgets, and cost tracking as chat
  • Provider replay state - preserves Gemini thought signatures and Anthropic thinking blocks across turns, APIs, and providers
  • Guardrails - request and response policies enforced at the gateway
  • Plugins - one contract for guardrails, response and stream filters, header edits, and routing strategies; built in, compiled in, or loaded from a .so at startup
  • Workflows - versioned per-request policies that scope cache, budgets, audit logging, guardrail phases, and failover by user path, provider, or model
  • Provider key rotation - round-robin over multiple API keys to lift per-key rate limits
  • Observability - Prometheus metrics, OpenTelemetry traces, audit logs, and live request streaming in the dashboard
  • Playground - try any model or virtual model from the dashboard and inspect the exact request and response JSON

GoModel Pro

GoModel Pro is the commercial build: the same gateway, configuration, and dashboard, with licensed extensions.

  • Prompt compression - remove repeated and structural context before it reaches the provider, without changing the request shape
  • Intelligent routing - classify each request as easy or hard, then pick the healthiest and cheapest provider in that tier
  • OIDC single sign-on - protect the dashboard with your identity provider using Authorization Code flow with PKCE

More in the documentation...

Not ready for Pro? Sponsor GoModel to keep the open-source gateway moving.

Roadmap

See the roadmap for GoModel Pro and the upcoming 0.3.0 release.

Featured Sponsors

[Neiko2002] [ajboainain]

Goal: $1K/month - ~15% achieved!

If GoModel saves you money or time, become a sponsor or try GoModel Pro.

Community

We are on Discord. Feel free to stop by and tell us what you think about GoModel.

來源:README.md,提交 f6fd009

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

19
  1. v0.2.2最新Nov 7, 2026
  2. v0.2.1Oct 30, 2026
  3. v0.2.0Oct 29, 2026
  4. v0.1.108Oct 25, 2026
  5. v0.1.107Oct 24, 2026
  6. v0.1.106Oct 22, 2026
  7. v0.1.105Oct 20, 2026
  8. v0.1.103Oct 16, 2026
  9. v0.1.102Oct 13, 2026
  10. v0.1.101Oct 10, 2026
  11. v0.1.100Oct 7, 2026
  12. v0.1.99Oct 3, 2026
  13. v0.1.98Sep 27, 2026
  14. v0.1.97Sep 24, 2026
  15. v0.1.96Sep 23, 2026
  16. v0.1.95Sep 20, 2026
  17. v0.1.94Sep 18, 2026
  18. v0.1.93Sep 17, 2026
  19. v0.1.92Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Model 整合