
GoModel
io.github.ENTERPILOT由 GitHub 账号 ENTERPILOT 发布v0.2.2更新于 Nov 7, 2026
Self-hosted gateway aggregating upstream MCP servers behind one authenticated HTTP endpoint.
概览
自托管的 AI 网关,把多个上游 MCP 服务器聚合到一个带认证的 HTTP 端点之后,并提供缓存、预算与供应商路由。
- 可以做什么
- 在单一认证端点后聚合多个上游 MCP 服务器,可通过配置或环境变量声明
- 以 OpenAI 与 Anthropic 兼容格式代理多家供应商的 LLM 请求,支持故障转移与密钥轮换
- 缓存响应、统计每次请求成本,并按用户路径执行预算、速率限制与模型访问控制
- 提供用量接口、供应商原生透传接口、音频与图像端点,以及仪表盘中的模型试验场
- 适用场景
- 当你希望为多个 MCP 服务器或 LLM 供应商提供统一的受控入口,共享认证、支出上限与用量分析,并且愿意自行运行和维护该网关时使用。
- 运行要求
- 以 Docker 镜像(stdio/streamable-http)或安装脚本在本地运行;需要 GOMODEL_MASTER_KEY 用于客户端认证,通过 config.yaml、.env 或环境变量进行配置,并为所连接的上游供应商或 MCP 服务器准备各自的 API 密钥。
安装
在 SourceWeft 中
- 打开 控制台中的 GoModel,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
GoModel - The last AI gateway you will ever need
[CI] [GO Version] [Docker Pulls] [Discord] [Sponsor GoModel]
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
macOS / Linux
Windows (PowerShell)
ℹ️ 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
Step 3: Make an API call
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):
Full stack (adds GoModel + Prometheus; builds the app 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
.soat 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
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版本历史
19- v0.2.2最新Nov 7, 2026
- v0.2.1Oct 30, 2026
- v0.2.0Oct 29, 2026
- v0.1.108Oct 25, 2026
- v0.1.107Oct 24, 2026
- v0.1.106Oct 22, 2026
- v0.1.105Oct 20, 2026
- v0.1.103Oct 16, 2026
- v0.1.102Oct 13, 2026
- v0.1.101Oct 10, 2026
- v0.1.100Oct 7, 2026
- v0.1.99Oct 3, 2026
- v0.1.98Sep 27, 2026
- v0.1.97Sep 24, 2026
- v0.1.96Sep 23, 2026
- v0.1.95Sep 20, 2026
- v0.1.94Sep 18, 2026
- v0.1.93Sep 17, 2026
- v0.1.92Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Model 集成

model.tools — Zero-Auth Agent Utilities
tools.model官方发布者
零认证远程工具服务器,为智能体提供一次性邮箱验证码读取、持久检查点、Webhook 收件箱、定时唤醒、任务回执与网页转 Markdown。
NLP.COM.AI Open Model Catalog
ai.com.nlp官方发布者
搜索精选的开放权重AI模型发布、许可证、架构和原始来源。AI 翻译

Hologram Model Hub
foundation.uor.hub官方发布者
一个远程 MCP 服务器,让助手搜索开放模型索引,并获取带 SHA-256 校验值的下载链接。

ModelLens
由 GitHub 账号 Greatbeing 发布
探测兼容 OpenAI 的模型网关,按实测延迟与成功率给模型排名,并推荐该用哪个模型。

Bedrock Multi-Model
由 GitHub 账号 Sagargupta16 发布
本地 MCP 服务器,把 AWS Bedrock 的文本、图像、视频和嵌入模型封装成九个工具,让助手可以提问、对比和评审模型。