Skip to content

GoModel

Go-based AI gateway giving one OpenAI and Anthropic compatible endpoint for many LLM

Permissive (OSI) · MIT AI-native
  • Self-hosted

Listed by , founder & editor

79

Health

Thriving

Overview

Stars

1,327

Last commit

today

Nov 2026

Repository age

12 months

since Dec 2025

Latest version

v0.2.6

Nov 2026

Contributors

–

9 active in 90 days

Releases

25

last 12 months

Docker pulls

137k

enterpilot/gomodel

Language

Go

GoModel is an AI gateway written in Go. It sits between your applications and LLM providers and exposes one endpoint that speaks the OpenAI format at /v1 and the Anthropic format at /v1/messages. The official SDKs work unchanged once you point their base URL at it.

It supports dozens of providers, including OpenAI, Anthropic, Google Gemini, Mistral, Groq, Azure OpenAI, Amazon Bedrock, Ollama, vLLM, and any OpenAI-compatible service. Features include exact and semantic response caching, aliases, scoped workflows, failover, budgets, audit logs, and usage tracking. An admin dashboard lets you add providers and manage the main settings.

You can run it as a Docker container or install it with a script on macOS, Linux, or Windows. Configuration comes from a config.yaml file, a .env file, or environment variables. A Docker Compose setup adds Redis, PostgreSQL, MongoDB, and Prometheus. It is MIT licensed and positions itself as an alternative to LiteLLM and Portkey.

Who it's for

Developers calling several LLM providers from one codebase

A single endpoint lets you switch providers without changing SDK code.

Skip if: You only use one provider and need no routing or caching.

Platform teams tracking AI spend

Budgets, usage tracking, and audit logs sit in one gateway.

Skip if: You need a mature, long-established product, since the project began in 2025.

Teams mixing local and hosted models

It supports Ollama, vLLM, and SGLang next to cloud providers.

Skip if: You only want a local runtime without a gateway layer.

The problem it solves

Using several LLM providers means different APIs, scattered keys, and no single view of cost. A gateway gives your apps one endpoint and one place for caching, failover, and usage records.

Strengths

  • Accepts both OpenAI and Anthropic request formats
  • Exact and semantic response caching to cut repeated calls
  • Supports dozens of providers including Ollama and vLLM
  • MIT license with a Docker image and install scripts
  • Frequent releases, 25 in the last year

Trade-offs

  • Young project, first commit in 2025, still at v0.2.x
  • Full stack with Redis, PostgreSQL, or MongoDB adds setup work
  • Speed and efficiency claims come from the project's own benchmarks

Self-host GoModel

Self-hostable
Yes
Docker image
enterpilot/gomodel
Docker Compose
The repository ships a Compose file
Kubernetes
Helm chart available

Quick start

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

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is GoModel free?

Yes. It is MIT licensed and free to use and self-host.

Do I need to change my code?

Usually only the base URL. The OpenAI and Anthropic SDKs work against it as is.

How do I run it?

Use the Docker image, or the install script on macOS, Linux, or Windows. Then open the dashboard at /admin/dashboard on port 8080.

Which providers are supported?

They include OpenAI, Anthropic, Gemini, Mistral, Groq, Azure OpenAI, Bedrock, Ollama, and any OpenAI-compatible provider.

Similar tools in LLM gateways and routers

Portkey AI Gateway

LLM gateways and routers

Self-hostable MIT-licensed gateway for routing requests across LLM providers

13k 1.4k 6 months ago Dormant MIT

Bifrost

LLM gateways and routers

Self-hosted AI gateway that routes one OpenAI-style API to 23+ LLM providers

10k 1.6k today Thriving Apache-2.0

Manifest

LLM gateways and routers

Self-hosted OpenAI-compatible gateway that routes agent requests across models and keys

7.7k 534 today Thriving MIT

Replaces OpenRouter

ClawRouter

LLM gateways and routers

Local LLM router that sends each request to the cheapest capable model for AI agents

6.7k 656 today Thriving MIT

oh-my-cpa

LLM gateways and routers

Self-hosted web console for monitoring and routing traffic through CLIProxyAPI

487 55 today Thriving MIT

agentgateway

LLM gateways and routers

Rust proxy that routes and secures LLM, MCP and agent-to-agent traffic

6.4k 1.1k today Thriving Apache-2.0