Migrate from Gemini API to OpenAI API

90+ public pull requests on GitHub since Oct 2024, in 87 repos, say they move a project from Gemini API to OpenAI API. 178+ go the other way. Real code changes by developers in general, not only makers — read from the titles, so a PR is counted when its title says "Gemini API to OpenAI API".

When they moved

Pull requests a month. Most are recent: 90 in the last 13 months against 0 before. The busiest month was May 2026 (21). GitHub returned only the newest 500 matches, so earlier months are undercounted.

Oct 2024Oct 2026 (so far)

What they move

The part of the app a pull request's title names — "migrate auth from Gemini API to OpenAI API". Many titles name none, so the shares don't add up to 100%.

  • API and functions32% 29 of 90
  • Models and prompts19% 17 of 90
  • Storage8% 7 of 90

The newest 20 pull requests

All matching pull requests on GitHub, both ways ↗

Gemini API and OpenAI API, side by side

Among makers' products we track for LLM API: Gemini API 99, OpenAI API 728.

At input tokens 50 million tokens, output tokens 10 million tokens, Gemini API costs $28/mo (Gemini 3.1 Flash-Lite) and OpenAI API $10/mo (GPT-6 Luna), at list prices.

$0$100$500$1,000$2,0001510501005001k5k
OpenAI APIGemini APIx: input tokens per month (million tokens), other usage scaled with it · cheapest usable plan at each point, list prices · try your own numbers

Where else Gemini API projects go

Where else OpenAI API's newcomers come from

Questions

How many projects have moved from Gemini API to OpenAI API?

90+ public pull requests on GitHub since Oct 2024, in 87 repos, have a title saying they move from Gemini API to OpenAI API.

Do projects move back from OpenAI API to Gemini API?

Yes: 178+ pull requests over the same time go from OpenAI API to Gemini API, against 90+ from Gemini API to OpenAI API.

What do people move first from Gemini API to OpenAI API?

Of the pull request titles, 32% name API and functions, 19% name models and prompts.

Is OpenAI API cheaper than Gemini API?

At input tokens 50 million tokens, output tokens 10 million tokens: Gemini API $28/mo (Gemini 3.1 Flash-Lite), OpenAI API $10/mo (GPT-6 Luna), at list prices.

GitHub search, Oct 2026 (as of 2026-10-02).