GoRoute is a single-binary LLM gateway engineered to sit between your developer tools, coding agents, and upstream AI models. It aggregates multiple accounts across frontier labs and inference platforms, balances traffic, performs protocol translation on the fly, and guarantees continuous availability through automatic failover.
Traditional proxy gateways rely on heavyweight Python or Node.js runtimes consuming 400 MB to 1.5 GB of RAM. GoRoute delivers enterprise routing at < 5 MB idle RAM and 0.86 ms dispatch latency with zero background bloat.
Key Highlights
Ultra-Low Memory Footprint: Runs continuously as a system daemon in < 5 MB RSS RAM.
Sub-Millisecond Routing: Up to 21x lower overhead than interpreted Python or Node.js gateways.
Universal Protocol Translation: Transparently bridges OpenAI Chat Completions, Anthropic Messages (/v1/messages), and Google Gemini formats.
Multi-Account OAuth Pooling: Seamless round-robin and priority failover across multiple Google Antigravity, AWS Q Developer / Kiro, and OpenAI Codex accounts.
Dedicated Provider Connection Studio: In-dashboard studio to test pings, reorder priority, toggle active status, and audit cooldowns.
1-Click OmniRoute Vault Sync: Decrypts and imports existing OmniRoute SQLite vaults in under a second (goroute sync omniroute or via Web UI).
25+ Zero-Config Provider Templates: Pre-filled Base URLs for DeepSeek, OpenAI, Groq, Mistral, Anthropic, Together AI, and more—paste API keys and start instantly.
Zero External Dependencies: Single standalone executable without requiring Docker, Python, or Node.js.
GoRoute includes an embedded, high-performance web dashboard accessible at http://localhost:8128/. The dashboard compiles directly into the Go binary via //go:embed for zero-configuration access:
Providers Hub: Connect accounts via Google Cloud Code OAuth or 25+ auto-configured templates (DeepSeek, OpenAI, Groq, Mistral, Together AI). Base URLs are populated automatically—simply enter your API key.
Combos Studio: Build recursive failover cascades (e.g., frontier or claude-models) with drag-and-drop model ordering, weight controls, and live health verification.
Agent Fleet: One-click setup for Claude Code, Cursor, Codex, OpenCode, and Cline with automatic configuration file generation and environment exports.
OmniRoute Sync: One-click migration button under Providers that scans and imports existing credentials, account pools, and combos from OmniRoute SQLite vaults.
Interactive Playground: Real-time browser chat interface with live token counts, TTFT (time-to-first-token) measurement, and streaming SSE metrics.
from openai import OpenAI
client = OpenAI(
base_url="http://localhost:8128/v1",
api_key="goroute"
)
response = client.chat.completions.create(
model="claude", # Routes to active multi-account combo
messages=[{"role": "user", "content": "Explain EWMA latency routing."}]
)
print(response.choices[0].message.content)
4. Node.js / TypeScript (Anthropic SDK)
import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({
baseURL: "http://localhost:8128",
apiKey: "goroute"
});
const message = await client.messages.create({
model: "antigravity/claude-sonnet-4-6",
max_tokens: 1024,
messages: [{ role: "user", content: "Implement a thread-safe token bucket in Go." }]
});
console.log(message.content[0]);
5. Automated Coding Agent Fleet Setup
Configure local coding agents to route through GoRoute with one command:
goroute setup all # Auto-configures all 35 supported developer tools
goroute setup claude # Configure Claude Code CLI (~/.claude/settings.json)
goroute setup opencode # Configure OpenCode (~/.config/opencode/opencode.json)
goroute setup cursor # Configure Cursor IDE (~/.config/Cursor/User/settings.json)
goroute setup codex # Configure OpenAI Codex CLI (~/.codex/config.toml)
Provider Management
GoRoute includes built-in presets and auto-configured base URLs for 330+ AI providers:
Provider Category
Supported Platforms
Configuration Method
Autonomous OAuth Pools
Google Antigravity, AWS Q / Kiro, Codex CLI
goroute auth login <provider>
Frontier Model Labs
Anthropic, OpenAI, Google Gemini, Mistral
goroute provider add <id> --key <key>
Inference Networks
Groq, DeepSeek, OpenRouter, Together AI, Cerebras
goroute provider add <id> --key <key>
Local Offline LLMs
Ollama, LM Studio, vLLM, LocalAI
goroute provider add ollama
Combos & Failover
Combos aggregate multiple accounts and models under a single virtual model name. If an upstream account encounters rate limits (HTTP 429), token exhaustion, or outages, GoRoute transparently fails over to the next healthy account in sub-milliseconds. Combos also support recursive nesting:
Benchmarked on Linux x86_64 under 500 concurrent streaming requests:
Metric
OmniRoute (Node/Next.js)
LiteLLM (Python)
GoRoute (Go + Rust)
Efficiency Gain
Idle Memory (RSS)
~380 MB
~420 MB
4.7 MB
98.8% less RAM
Routing Latency
18.4 ms
24.1 ms
0.86 ms
21x faster
Under 500 Concurrency
850 MB – 2.1 GB
1.2 GB
18.2 MB
98.5% less RAM
Cold Startup Time
3,200 ms
2,800 ms
11 ms
290x faster
Dependencies
Node 20+, 800+ npm pkgs
Python 3.10+, pip pkgs
Zero (Single static binary)
Self-contained
Default Port
20128
4000
8128
Collision-free
Contributing
We welcome community contributions! Please review CONTRIBUTING.md for local environment setup, testing guidelines, and pull request conventions.
# Clone repository
git clone https://github.com/ziuus/goroute.git
cd goroute
# Run full test suite with race detector
go test -v -race ./...
# Build daemon binary
go build -o bin/goroute ./cmd/goroute