Latest / AI & agents

gemini-web2api

github.com · Open source · Maintained

Python server that exposes Gemini web as an OpenAI-compatible API

Visit github.com ↗Share

Stars
3.7k
Forks
794
Open issues
13
Last commit
Found
6 months ago

GitHub figures as of . They are context, not a ranking.

gemini-web2api is a single-file Python server that exposes the Gemini web interface as OpenAI-compatible chat and model endpoints, plus Gemini-native and Responses API routes. It suits developers who want OpenAI-style tools to reach Gemini through a local server.

Repository description on GitHub: “Convert Google Gemini web into OpenAI-compatible API. Zero auth, cross-platform, single file.”

What it does

  • OpenAI-compatible chat and model endpoints
  • Function calling in OpenAI format
  • Streaming responses over SSE
  • Optional Bearer API keys

Good for

  • Point an OpenAI-compatible chat client at a local Gemini endpoint
  • Use Gemini web models from Codex CLI or Gemini CLI

Suits: Developers who use OpenAI-style clients with Gemini.

Worth knowing: Streaming requires the optional httpx dependency.

What you can try

Install httpx, then run the single Python file to start the server on port 8081.

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 gemini-web2api on , when Sophomoresty created its repository on GitHub. GitHub listed no published releases for Sophomoresty/gemini-web2api when checked , so the project may ship straight from its main branch. The repository was created .

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).

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).

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: Sophomoresty/gemini-web2api
  2. Found: Sophomoresty created its repository on GitHub. GitHub
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was gemini-web2api released?
No dated release record is available. Kip found it on GitHub on 28 May 2026.
Is gemini-web2api open source?
Its source is public on GitHub at Sophomoresty/gemini-web2api under the MIT licence.
What does gemini-web2api run on?
Self-hosted, API.
Is gemini-web2api free?
It is open source, so the code is free to read and run; check the licence for terms.
Is gemini-web2api 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

SourceRecordLast checked
GitHublisting
official API record
GitHub repositorySophomoresty/gemini-web2api
REST API record
GitHub Releasesrelease list
REST API record

Stable ID github-1252289708. Summary written by KipFound’s editor.

Share

Similar tools

More in AI & agents

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.