GoModel: High-Performance Go-Based AI Gateway with Unified API for Multiple AI Providers
By
santiago-pl
Kettled twice. Extra chewy, extra trustworthy.
Summary
GoModel is a high-performance AI gateway written in Go that provides a unified OpenAI-compatible API for multiple AI providers including OpenAI, Anthropic, Gemini, xAI, Groq, OpenRouter, Azure OpenAI, Oracle, Ollama, and others. It serves as an alternative to LiteLLM with features like observability, guardrails, and streaming support. The article provides deployment instructions, security recommendations for handling API keys, and demonstrates how to make API calls through the gateway.
Key quotes
· 4 pulledA high-performance AI gateway written in Go, providing a unified OpenAI-compatible API for OpenAI, Anthropic, Gemini, xAI, Groq, OpenRouter, Z.ai, Azure OpenAI, Oracle, Ollama, and more.
⚠️ Avoid passing secrets via -e on the command line - they can leak via shell history and process lists. For production, use docker run --env-file .env to load API keys from a file instead.
GoModel automatically detects the provider from the request and routes it accordingly, providing a unified interface for all supported AI services.
LiteLLM alternative with observability, guardrails & streaming.
You might also wanna read
LLM Gateway: Unified API for Accessing Multiple AI Models
LLM Gateway is a unified API platform that allows developers to access multiple AI models from different providers through a single interfac
GitHub - QuantumNous/new-api: A unified AI model hub for aggregation & distribution. It supports cross-converting various LLMs into OpenAI-compatible, Claude-compatible, or Gemini-compatible formats. A centralized gateway for personal and enterprise model
MakeHub.ai: OpenAI-Compatible API for LLM Provider Arbitrage and Optimization
MakeHub.ai offers an OpenAI-compatible API endpoint that automatically routes requests to the cheapest and fastest LLM provider for each mod
ModelPilot: Intelligent LLM Router Optimizes AI Model Selection for Cost, Speed, Quality, and Environmental Impact
ModelPilot is an intelligent LLM router that automatically selects the optimal AI model for each prompt based on cost, latency, quality, and
Callio: Unified API Gateway for AI Agents Simplifies API Management
Callio is a unified API gateway service that simplifies API management for AI agents by providing a single proxy to handle authentication, r
FreeLLMAPI: OpenAI-Compatible Proxy Aggregating Free-Tier AI Provider Keys for Personal Experimentation
The article introduces FreeLLMAPI, an OpenAI-compatible proxy service that aggregates free-tier API keys from approximately 14 different AI
