GoModel

Open-source AI gateway written in Go: one OpenAI- and Anthropic-compatible endpoint for 39 providers with caching, failover, budgets and audit logs.

Working when we checked on .

Visit GoModel

What is GoModel?

GoModel is an open-source, self-hosted AI gateway, written in Go and MIT-licensed, that unifies 40 AI providers (OpenAI, Anthropic, Gemini, Bedrock, Groq, Ollama, vLLM and more) behind a single OpenAI- and Anthropic-compatible API. It targets teams whose provider switching, debugging, and usage tracking logic is leaking into application code. Capabilities include model aliases and virtual models, automatic failover with retries and circuit breakers, exact-match response caching, per-key and per-team budgets, rate limits, usage and cost tracking, and audit logs. It ships as one binary with an embedded admin dashboard and SQLite, Postgres, or MongoDB storage.

GoModel pricing

Pricing model: Free

GoModel pros

  • Open-source, MIT licensed, ships as a single binary with embedded admin dashboard
  • OpenAI and Anthropic SDK compatible - only the base URL changes
  • 40 providers supported, including Ollama, vLLM, Bedrock, and Azure OpenAI
  • Exact-match response caching avoids paying twice for identical requests
  • Per-request usage and cost tracking maps spend to teams and tenants
  • Claims 34× lower latency than LiteLLM

GoModel cons

  • Users must self-host and manage the gateway themselves (Docker or binary)
  • Provider API keys are required and configured by the user in .env
  • Pro add-ons and roadmap items are not fully detailed on the homepage

Frequently asked questions about GoModel

What is GoModel?

GoModel is an open-source AI gateway written in Go and released under the MIT license. Apps talk to one OpenAI- and Anthropic-compatible endpoint, and the gateway handles provider routing, model aliases, workflows, caching, failover, budgets, rate limits, audit logs, and usage tracking behind it.

Can I keep using the OpenAI or Anthropic SDK with GoModel?

Yes - in most cases only the base URL changes. GoModel natively serves the OpenAI API (/v1/chat/completions, /v1/responses, embeddings, files, batches) and the Anthropic Messages API (/v1/messages), so OpenAI SDK, Anthropic SDK, and plain HTTP clients keep working.

Which AI providers and models does GoModel support?

40 providers, including OpenAI, Anthropic, Google Gemini and Vertex AI, Azure OpenAI, AWS Bedrock, Groq, Ollama, vLLM, and LM Studio, all behind one endpoint.

How do I deploy GoModel?

Run it with Docker, Docker Compose, or install the binary with a one-line script for macOS/Linux or Windows. Then open the dashboard at http://localhost:8080/admin/dashboard and send an OpenAI-compatible request.

Does GoModel support local models?

Yes. Local providers such as Ollama, vLLM, and LM Studio are among the supported providers, all accessible through the same gateway endpoint.

How does GoModel handle provider outages?

Automatic failover, retries, circuit breakers, and failover chains turn a provider incident into a routing event, falling back to alternate providers automatically.

Does GoModel track costs and usage?

Yes. Tokens and cost are tracked per request, user, and tag, ready for chargeback or a Prometheus dashboard, mapping spend to teams, tenants, and features.

What storage options does GoModel support?

GoModel ships with SQLite by default and can scale to PostgreSQL or MongoDB, all embedded in the single binary so storage grows with the workload.

Who is GoModel for?

Teams whose provider switching, debugging, and usage tracking logic is leaking into application code, and who want that logic moved into one self-hosted gateway layer.

Is GoModel free and open source?

Yes. GoModel is MIT-licensed open source, with a GitHub repository at ENTERPILOT/GoModel. The site mentions Pro add-ons on its roadmap, but no paid pricing is shown.

Categories

Use cases

Alternatives to GoModel

Similar AI tools

Search AI tools on NeedAnAI · All AI tools A–Z