GoModel FAQ
Common questions about deployment, provider switching, GoModel as a LiteLLM alternative, local models via Ollama, vLLM, and LM Studio, caching, usage tracking, and the roadmap.
GoModel is an open-source AI gateway written in Go and released under the MIT license. Your apps talk to one OpenAI- and Anthropic-compatible endpoint, and the gateway handles provider routing, model aliases, scoped workflows, caching, failover, budgets, rate limits, audit logs, and usage tracking behind it. It ships as a single small binary with an embedded admin dashboard, so there is nothing else to deploy.
Yes - in most cases you only change the base URL. GoModel serves the OpenAI API (/v1/chat/completions, /v1/responses, embeddings, files, batches) and the Anthropic Messages API (/v1/messages) natively, so the OpenAI SDK, the Anthropic SDK, and plain HTTP clients all keep working while routing, caching, and usage visibility move into the gateway.
38 providers, including OpenAI, Anthropic, Google Gemini and Vertex AI, Azure OpenAI, Amazon Bedrock, OpenRouter, Cohere, Groq, xAI, DeepSeek, and open models through Ollama, vLLM, SGLang, and llama.cpp. GoModel reads hundreds of models from live provider catalogs. You can register multiple API keys per provider for round-robin rotation, and any other OpenAI-compatible backend can join as its own provider instance.
In the reproducible September 2026 benchmark on the same AWS box, GoModel answered in 2.22 ms at the median vs 55.76 ms, sustained 4,498 req/s vs 220, peaked at 73.6 MB of RAM vs 1,488 MB, and cold-started in 0.81 s vs 26.77 s. LiteLLM still supports more providers today - the trade-off is runtime footprint on the request path, which matters most at high volume, on small machines, or in front of fast local models.
A workflow toggles cache, audit logging, usage tracking, budgets, guardrails, and failover per provider, model, or user path - the most specific matching scope wins. Workflow versions are immutable, so you can see exactly which policy a given request ran under. One gateway, different runtime policies for different workloads.
Yes, two ways. Exact-match caching returns identical non-streaming requests straight from the gateway - no provider call, no cost. Semantic caching goes further by matching similar prompts, backed by Qdrant, pgvector, Pinecone, or Weaviate. Cache lookups run after alias and workflow resolution, so policy decisions still apply, and cache hits are visible in the dashboard.
Yes. Tag requests with X-GoModel-User-Path or labels from virtual API keys, and GoModel records tokens and dollar cost per request against that path. The dashboard breaks spend down by team, tenant, model, and label, pricing overrides keep numbers accurate when your contract differs from list prices, and budgets enforce hard spend limits before a request is ever dispatched.
GoModel retries with backoff, trips a circuit breaker on repeated failures, and fails over to the next configured model or provider - skipping routes that are rate-limited or saturated. Every attempt lands in the audit log with the resolved route, so an outage becomes a routing event you can reconstruct rather than a mystery.
Yes - point OLLAMA_BASE_URL or VLLM_BASE_URL at your server and local models sit behind the same endpoint as the cloud providers. LM Studio, llama.cpp, and similar servers connect the same way through their OpenAI-compatible endpoints. Because the gateway itself is a 21 MB image that peaks at about 74 MB of RAM under load, it is cheap enough to run next to the models - on a laptop, an edge box, or a sidecar.
The fastest path is one docker run; Docker Compose, Kubernetes with the Helm chart, and the plain binary all work too. Storage starts on SQLite with zero setup and moves to PostgreSQL or MongoDB when traffic and retention grow. Operations run through the embedded admin dashboard and API, with Prometheus /metrics and health endpoints for your existing monitoring.
The whole v0.2.0 scope has shipped: plugins starting with guardrails, hardened custom and response-side guardrails, a reworked testing strategy, OpenTelemetry traces, the full /responses and /conversations lifecycles, Anthropic /messages with count_tokens, budgets per user_path and API key, editable pricing, and prompt cache visibility including the dashboard view. Version 0.3.0 focuses on MCP proxy hardening, simpler configuration and UI, a passthrough rework for every provider, Gemini native API ingress, price correctness, mid-stream failover, failover and streaming for the image endpoints, better audio and video support, plugins hardening, dashboard customization, and a workflows rework. Intelligent routing, context window compression, OIDC SSO, egress proxy pools, and secret manager vaults have shipped as GoModel Pro features.
GoModel Pro is the commercial distribution of GoModel: the same MIT gateway plus licensed prompt compression (2-20% fewer input tokens on agentic traffic), OIDC single sign-on, per-child quota templates, intelligent routing (beta), and egress proxy pools (beta). It is licensed per company with nothing counted, and the price is set on a short discovery call - book one with the founder. Every license is backed by a 30-day money-back guarantee. The license is a signed token validated offline, with no network call, and your key arrives by email within 24 hours.