{"repo":"arifozgun/OpenGem","free":true,"listed":false,"github":"https://github.com/arifozgun/OpenGem","clone":"git clone https://github.com/arifozgun/OpenGem.git","description":"Free, Open-Source AI API Gateway with Gemini, OpenAI & Anthropic Compatibility in 1 file","language":"TypeScript","stars":49,"topics":["antigravity","antrophic","api","backend","chatgpt","claude","cli","gateway","gemini","load-balancer"],"license":"MIT","category":"networking-infra","readme_excerpt":"Quick Start · API Usage · Admin Console · Configuration --- What Is OpenGem? OpenGem turns one or more Google accounts into a local, load-balanced Gemini gateway. It exposes the native Gemini API shape and also accepts OpenAI Chat Completions, OpenAI Responses, Anthropic Messages and OpenRouter-style requests, so most SDKs can point at your OpenGem server with only a base URL change. It is designed for personal, educational and research usage. You run the gateway, connect your own Google accounts, create your own API keys, and monitor usage from the admin console. Highlights - Next.js admin console with a rebuilt setup wizard, dashboard, Logs, Requests, API keys, docs, settings and chat playground. - Native Gemini endpoint : POST /v1beta/models/{model}:generateContent . - OpenAI-compatible endpoints : POST /v1/responses , POST /v1/chat/completions and GET /v1/models . - OpenRouter-style aliases : /api/v1/chat/completions , /api/v1/responses , /api/v1/models and /api/v1/messages . - Anthropic-compatible endpoint : POST /v1/messages . - Adaptive multi-account balancing with health scoring, cooldowns, Retry-After handling, local request windows and automatic account reactivation. - Local SQLite backend using Node.js node:sqlite , plus optional Firebase Firestore. - Secure API key store with hashed keys, JWT admin sessions, optional SMTP email 2FA, rate limiting and Helmet headers. - Streaming support across Gemini, OpenAI-compatible and Anthropic-compatible surfaces. - Function ","default_branch":null,"files":null,"tree":[],"storefront":"/r/arifozgun","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/arifozgun/OpenGem/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}