← all repositories

GewoonJaap/gemini-cli-openai

A Cloudflare Worker that proxies Google Gemini CLI endpoints to OpenAI API format.

887 stars TypeScript Inference · ServingOther AI
gemini-cli-openai
Velocity · 7d
+2.6
★ / day
Trend
steady
star history

This project deploys a Cloudflare Worker that exposes Google’s Gemini CLI endpoints as OpenAI-compatible REST API endpoints. It enables developers to use Gemini models through familiar OpenAI SDK patterns without requiring separate API keys, instead leveraging OAuth2 authentication tied to the user’s Google account. The worker handles token management, streaming responses, vision capabilities, and tool calling while providing low-latency edge deployment.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.