openflarestack Star this repo
  1. Catalog
  2. LLM gateways
  3. Gemini to OpenAI Proxy
Ranked 39 of 234

Gemini to OpenAI Proxy

PublicAffairs/openai-gemini

Lets you use Gemini's free AI models through any tool that expects an OpenAI API endpoint.

A self-hosted alternative to OpenAI API.

What it sets up in your account

We didn’t find any bindings in its wrangler config. It may be a plain Worker, or set them up from its README.

Category
LLM gateways
Licence
MIT
Stars
3,667
Last commit
7 months ago
Latest release
gemini-3

Use it with AI or code

  • Markdown for AIPaste into ChatGPT, Claude or any LLM./apps/openai-gemini.md
    Open
  • JSON APIFree, no key, CORS open./api/v1/apps/openai-gemini.json
    Open

More in the API docs and llms.txt.

Keeping it up to date

The Deploy button copies the repo into your GitHub. Run this in your copy whenever a new version comes out.

terminal
git remote add upstream https://github.com/PublicAffairs/openai-gemini.git
git pull upstream main
npx wrangler deploy

Gemini to OpenAI Proxy questions

What is Gemini to OpenAI Proxy?

Lets you use Gemini's free AI models through any tool that expects an OpenAI API endpoint. It’s an open-source, self-hosted alternative to OpenAI API. It runs on Cloudflare Workers in your own account.

What does Gemini to OpenAI Proxy set up in my Cloudflare account?

We didn’t find any bindings in its wrangler config, so it may be a plain Worker. Check its README for setup steps.

How do I deploy Gemini to OpenAI Proxy?

Press Deploy to Cloudflare. Cloudflare copies the repository into your GitHub account, creates what it needs and deploys it with Workers Builds.

Is Gemini to OpenAI Proxy free and open source?

Yes. It’s published under the MIT licence. Running it uses your own Cloudflare account, and small setups usually fit in the free plan.

How do I update Gemini to OpenAI Proxy?

Pull from the original repository and redeploy: add https://github.com/PublicAffairs/openai-gemini.git as an upstream remote, run git pull upstream main, then npx wrangler deploy.