openai-gemini
github.com · Open source · Maintained
Serverless proxy that exposes Gemini through the OpenAI API
- Infra & self-hosting
- Open source
- JavaScript
- Day-7 check
- Day-30 check
- gemini
- openai api
- proxy
- chatgpt api
- gemini ai
- openai
- serverless
- openai compatible gemini
- gemini proxy
- serverless openai proxy
- Stars
- 3.7k
- Forks
- 5.7k
- Open issues
- 10
- Last commit
- Releases
- 7
- Found
- 2 years ago
GitHub figures as of . They are context, not a ranking.
openai-gemini is a serverless proxy that translates OpenAI API requests into Gemini calls, so tools built for the OpenAI API can use Gemini models. It is a JavaScript project, and its repository describes it as a Gemini to OpenAI API proxy.
Repository description on GitHub: “✦ Gemini ➜ OpenAI API proxy. Serverless!”
What it does
- Serverless proxy that accepts OpenAI API requests and calls Gemini models
- Deploys to hosting providers, including a one-click Vercel option
- Can also run locally with Node, Deno or Bun
- Uses a personal Google API key from the Gemini API
Good for
- Point a tool built for the OpenAI API at Gemini models
- Run a personal OpenAI-compatible endpoint on Gemini's free tier
- Deploy the proxy to a serverless host without managing servers
Suits: Developers whose tools only support the OpenAI API.
Worth knowing: Needs your own Google API key, and the free tier has usage limits
What you can try
Read the README on GitHub and install from source.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw openai-gemini on , when johnd0e_ posted it to Show HN. The oldest published release on GitHub is gemini-1.5-pro, dated . Its first tagged release came 43 days after it was found. 7 releases have been published in total; the latest is gemini-3 ().
Day-7 and day-30 updates
Day 7 no new release
- No tagged release was published in the first 7 days after it was found (GitHub release dates).
- Show HN discussion at check time: 39 points, 12 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 no new release
- No tagged release was published in the first 30 days after it was found (GitHub release dates).
- Show HN discussion at check time: 39 points, 12 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: PublicAffairs/openai-gemini
- Found: johnd0e_ posted it to Show HN. Show HN
- Release gemini-1.5-pro
- Release gemini-1.5-flash
- Release gemini-1.5-x-002
- Release learnlm-1.5-pro-experimental
- Release gemini-2.0-flash-thinking-exp
- Release gemini-2.5-flash
- Release gemini-3
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was openai-gemini released?
- Its first tagged release on GitHub is dated 10 Apr 2024. Kip found it on Show HN on 27 Feb 2024.
- Is openai-gemini open source?
- Its source is public on GitHub at PublicAffairs/openai-gemini under the MIT licence.
- What does openai-gemini run on?
- API, Self-hosted.
- Is openai-gemini free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is openai-gemini still maintained?
- It had a commit or release in the last year, though not in the last 90 days, as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | PublicAffairs/openai-gemini REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-39528357. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.
Share
Similar tools
- Gemini BalanceQuiet
Self-hosted proxy that load-balances Gemini API keys behind OpenAI-style endpoints
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.