Open-source Gemini gateway

Point any Gemini SDK at one /v1 URL.

Pool keys, fail over, log requests. Same OpenAI and Google clients you already use.

Get startedGitHubMIT licensed
import { GoogleGenAI } from '@google/genai'; const ai = new GoogleGenAI({ apiKey: 'YOUR_PROXY_API_KEY', httpOptions: { baseUrl: 'https://gemini.rollan.email/v1', }, }); const response = await ai.models.generateContent({ model: 'gemini-3.7-flash', contents: 'Hello', }); console.log(response.text);

Pool keys

Rotate credentials across projects and rate limits.

Fail over

Retry failed requests on the next healthy key.

Log every request

Inspect latency, usage, errors, and payloads.

Deploy anywhere

Run full-stack, standalone API, or at the edge.

Deploy

One proxy, three operating modes.

Next.js full-stack

dashboard + API

Standalone API

Node.js

Edge

Vercel, Cloudflare

Gemini Proxy - API Key Management