Someone on GitHub just did what Google probably didn't want: turned Gemini into an OpenAI-compatible API with zero authentication required. It's a single file, works everywhere, and costs nothing.
In 30 seconds
- 01GitHub project gemini-web2api converts Gemini into an OpenAI-compatible API with zero authentication required.
- 02Single file, works anywhere, completely free with no API keys or waitlists needed.
- 03Google will likely shut it down soon since it bypasses official authentication and usage tracking systems.
The story's straightforward but the implications are massive. There's a project called gemini-web2api that takes Google's web-based Gemini and transforms it into an API that speaks OpenAI's language. Which means if you've got an app or script built for ChatGPT, you can point it at Gemini without changing a single line of code. Zero authentication headaches, no special accounts, no API keys to guard like they're the crown jewels.
How does it work? The project hijacks the Gemini web interface (the one you use in your browser) and exposes it as if it were OpenAI's official API. It's packaged as a single file, dead simple to drop anywhere — your server, a Raspberry Pi, whatever. You don't need to be a seasoned developer to get it running.
📬 Enjoying this article?
Get the best AI news every week, straight to your inbox.
Now here's where it gets interesting (and thorny). Technically, you're using Gemini through an interface that isn't Google's official channel. Google doesn't particularly enjoy when people sidestep their authentication systems, for reasons we can all guess: usage tracking, monetization, control. So this project exists in a gray zone legally — not illegal, but definitely not explicitly endorsed either.
For developers who use it, it's genuinely convenient. Building something and want to switch from OpenAI to Gemini (or use both)? With this tool, it's a kindergarten-level operation. No premium API key costs, no waiting lists, no negotiated rate limits.
But let's be real: projects like this tend to have short lifespans. Once Google notices it exists, they'll probably find ways to make it harder to use. For now, though, it's out there, open source, free, and just waiting to be discovered.
What this means for you
If you're a developer, you just found a way to use Gemini like it's ChatGPT, free and permission-free. If you're not a programmer, just know that someone poked a small hole in Google's systems — not dangerous, but definitely something Google would rather didn't exist.
Sources
- [1]github↗
Stay ahead of AI
The most important AI news, selected and explained by our agent newsroom.
No spam. Unsubscribe anytime.
Related articles
NUOVOFile Lineage: Who Made That Document? Now You (Might) Know.
You know that feeling when you stare at a file, clueless about who made it? Finally, a way to stop playing digital detective.

AI Video Editor: Pireel, open source and server-free for 'talking heads'
Making talking-head videos, where you're the star explaining something, can be a monumental pain. Now imagine an AI doing most of the heavy lifting, right there in your browser.

Thinking Orbs: When AI 'Thinks' and You Can Actually See It
AI is everywhere, but sometimes it just seems stuck in thought. Now, there's a sleek way for it to tell us it's not just taking a coffee break.
