OpenGem
A Load-Balanced Gemini API Proxy (No API Key Required)
Details
- External ID
- 47111607
- Source
- HN
- Company
- —
- Product
- OpenGem
- Website domain
- github.com
- Launched
- Feb. 22, 2026
- Cohort
- —
- Upvotes
- 7
- Upvotes percentile
- 0.38207547169811323
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:25 p.m.
- Updated at
- Sept. 7, 2026, 9:25 p.m.
Description
Hi HN! I built OpenGem, an open-source, load-balanced proxy for the Gemini API that requires absolutely no paid API keys.GitHub: https://github.com/arifozgun/OpenGemThe Context: Like many developers, I was constantly hitting "429 Quota Exceeded" errors while building AI agents and processing large payloads on free tiers. I wanted to build freely without calculating API costs for every test request.How it works: I reverse-engineered the official Gemini CLI authentication to get standard API access. However, a single free Google account quota depletes quickly. To solve this, I built a Smart Load Balancer at the core of OpenGem.What it does: - You connect multiple idle/free Google accounts to the dashboard via OAuth. - OpenGem acts as a standard endpoint (`POST /v1beta/models/{model}`). - It routes traffic to the least-used account. If an account hits a real 429 quota limit, OpenGem instantly detects it, puts that account on a 60-minute cooldown, and seamlessly retries with the next available account. It differentiates between simple RPM bursts and actual limits.Tech specs: - Fully compatible with official Google SDKs (`@google/genai`), LangChain, and standard SSE streaming (no broken [DONE] chunks). - Supports native "tools" (Function Calling) for agentic workflows. - Raised payload limit to 50MB for massive contexts. - AES-256-GCM encryption for all sensitive configs and OAuth tokens at rest. - Toggle between Firebase Firestore or a fully offline Local JSON database.It’s strictly for educational purposes and personal research to bypass the friction of testing/prototyping. The entire project is MIT licensed.I’m currently running it with my own side projects and it handles heavy agent tasks flawlessly. I would love any feedback on the load balancing logic, security implementations, or just general thoughts!
Enrichment
- Theme
- Vertical
- —
- Function
- Dev tools
- Audience
- Developer
- AI stance
- Not AI
- Project type
- Hobby / open-source project
- Normalized one-liner
- load-balanced gemini api proxy
- Manually corrected
- False
Could you build this?
Yes A reverse proxy that pools free-tier credentials or rotates endpoints to bypass rate limits on Gemini's API is a straightforward HTTP middleware service.
Discussion
3 comments analyzed.
Competitors mentioned: Simplio.dev
Concerns raised: Managing multiple free-tier quotas, Single points of failure with single provider
Competitors
Other products that read as similar to this one — 184 launches clear the similarity bar, closest 8 shown.
Attention rank: #123 of 185 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 102 days after the earliest competitor.
- AI agents run my one-person company on Gemini's free tier · hn · 2026-03-08 · 16 upvotes · similarity 0.50
- gemini-3-pro-preview-api-pricing-fr · github · 2026-09-29 · 7 upvotes · similarity 0.46
- Turn your Google accounts into a free, load-balanced LLM API gateway · hn · 2026-05-27 · 5 upvotes · similarity 0.45
- gemini-3-pro-image-preview-official-api-fr · github · 2026-09-29 · 18 upvotes · similarity 0.44
- gemini-3-pro-image-preview-official-api-cn · github · 2026-09-29 · 19 upvotes · similarity 0.44
- ag-login-inject · github · 2026-09-25 · 43 upvotes · similarity 0.43
- llm-api-proxy-no-vpn-ja · github · 2026-09-29 · 15 upvotes · similarity 0.43
- llm-api-proxy-no-vpn-fr · github · 2026-09-29 · 16 upvotes · similarity 0.43
Other launches for this product
- No other launches for this product.