# GoModel

GoModel is a self-hosted gateway for model requests and MCP servers. It accepts OpenAI- and Anthropic-compatible API formats.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed · ★ 1269
- Author: ENTERPILOT
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/ENTERPILOT/GoModel
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/gomodel

## What it does

GoModel accepts requests through the OpenAI-compatible `/v1` API and Anthropic-compatible `/v1/messages` API. Official SDKs can use it by changing their base URL. Add a provider in the dashboard, then configure the gateway with `.env`, `config.yaml`, or the dashboard itself. The Docker setup maps port `8080` and stores data in the `gomodel_data` volume.

Features listed include response caching, cost tracking, budgets, and request limits. Virtual models can route requests between targets under stable model names. A provider must be configured before the sample request to `/v1/responses` can work. macOS and Linux also have an install script.

## Requirements
- Needs: Docker
- Environment variables: `GOMODEL_MASTER_KEY`, `MCP_SERVERS` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- route model requests through one API
- set spending limits for users, teams, or keys
- cache repeated model responses
- route requests between targets with virtual model names

## Example prompts
- Configure GoModel as the OpenAI SDK base URL and send a model request.
- Add a provider in the GoModel dashboard, then test `/v1/responses`.
- Set a team budget and show its spending in the dashboard.

## Similar
- [supabase-schema-architect](https://affpapa.org/en/nevibecode/agents/supabase-schema-architect.md) — subagent · 3839 installs
- [fetcher](https://affpapa.org/en/nevibecode/skills/fetcher.md) — skill · 3700 installs
- [tigris-object-operations](https://affpapa.org/en/nevibecode/skills/tigris-object-operations.md) — skill · 3200 installs
- [building-tools](https://affpapa.org/en/nevibecode/skills/building-tools.md) — skill · 2900 installs
- [dm-limits-and-best-practices](https://affpapa.org/en/nevibecode/skills/dm-limits-and-best-practices.md) — skill · 1900 installs
- [prismic](https://affpapa.org/en/nevibecode/skills/prismic.md) — skill · 1500 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
