Overview
Personal tool, open source (MIT). gemini-router is a Gemini API adapter: one backend, three wire formats — OpenAI, OpenAI Responses, and Anthropic — over a round-robin key pool.
What was built
- Endpoints:
/v1/chat/completions,/v1/responses,/v1/messages,/v1beta/*passthrough,/health. - Round-robin key pool across Gemini keys.
- SSE streaming with tool-call mapping.
- Single static binary; stdlib-first (only dependency:
yaml.v3). - Runs as a systemd service.
Why this stack
Why Go here: concurrent streaming translation, low-dependency single binary.
Note
Unofficial; not affiliated with Google, OpenAI, or Anthropic.
Engagement
Available for API-adapter builds — spec, build, deploy, runbook.



