Migrate from OpenAI API to Gemini API
178+ public pull requests on GitHub since Oct 2024, in 167 repos, say they move a project from OpenAI API to Gemini API. 90+ 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 "OpenAI API to Gemini API".
When they moved
Pull requests a month. Most are recent: 178 in the last 13 months against 0 before. The busiest month was Mar 2026 (30). GitHub returned only the newest 500 matches, so earlier months are undercounted.
What they move
The part of the app a pull request's title names — "migrate auth from OpenAI API to Gemini API". Many titles name none, so the shares don't add up to 100%.
- Models and prompts24% 43 of 178
- API and functions24% 43 of 178
- Deployment3% 5 of 178
- Storage2% 4 of 178
- Realtime2% 3 of 178
- Docs2% 3 of 178
The newest 20 pull requests
- feat(dh): switch listup web search from OpenAI to Geminigrowthhackerssnu/admin · 2026-10-01
- Switch production thumbnails from OpenAI to Geminikevin4relocate/TripCaution · 2026-09-30
- feat: move OpenAI and Google defaults to GPT-6 and Gemini 3tag1consulting/ai-pr-review · 2026-09-29
- Migrate from OpenAI to Google Gemini for embeddings and LLManiilhr/agentic-ai-rag-chatbot · 2026-09-29
- fix: preserve image parts in OpenAI to Gemini responsesmoeacgx/NewAPI-Mao · 2026-09-27
- Updating from OpenAI to Gemini in llm.py following the potential toke…harpand87/banking-support-agent · 2026-09-27
- Switch the assistant LLM from OpenAI to Geministariik/Mia · 2026-09-26
- port(upstream): #4274 - disambiguate colliding tool call ids in openai to geminibloodf/durindoor · 2026-09-25
- feat(gemini): convert OpenAI Embeddings to Gemini embeddingstbphp/gpt-load · 2026-09-25
- Switch AI provider from OpenAI to Google GeminiOricrew/service-scheduler · 2026-09-24
- Switch Alora Chat from OpenAI to Google Gemini (free tier)vaniabhagania/Alora · 2026-09-24
- Podcast sources: switch from OpenAI to Google Gemininetteran/locreport · 2026-09-23
- fix(translator): disambiguate colliding tool call ids in openai to gemini requestdecolua/9router · 2026-09-23
- Switch the data analysis agent from OpenAI to Geminiluphone04/TalkToData_Data-Analytics-AI-Agent · 2026-09-21
- fix(relaykit): keep generated images when converting OpenAI chat to Geminimrdjango/models-gateway · 2026-09-20
- Switch analysis backend from OpenAI to Gemini APIgelson-ai/datachat-ai · 2026-09-18
- feat: bridge OpenAI Realtime to Gemini Livephongsathornpt/kokekokkor · 2026-09-16
- fix: changed chatbot ai api from openai to gemini due to insufficient…yani-clstn/Koolest · 2026-09-16
- Swap AI report generation from OpenAI to Google Geminirajibr0610/GRC-Quick-scan · 2026-09-14
- feat: translate OpenAI Responses to Geminiphongsathornpt/kokekokkor · 2026-09-13
OpenAI API and Gemini API, side by side
Among makers' products we track for LLM API: OpenAI API 728, Gemini API 99.
At input tokens 50 million tokens, output tokens 10 million tokens, OpenAI API costs $10/mo (GPT-6 Luna) and Gemini API $28/mo (Gemini 3.1 Flash-Lite), at list prices.
Where else OpenAI API projects go
Claude127 PRs
Groq50 PRs
DeepSeek21 PRs
Mistral AI9 PRs
Where else Gemini API's newcomers come from
Claude104+ PRs
Groq64 PRs
DeepSeek15 PRs
Mistral AI6 PRs
Questions
How many projects have moved from OpenAI API to Gemini API?
178+ public pull requests on GitHub since Oct 2024, in 167 repos, have a title saying they move from OpenAI API to Gemini API.
Do projects move back from Gemini API to OpenAI API?
Yes: 90+ pull requests over the same time go from Gemini API to OpenAI API, against 178+ from OpenAI API to Gemini API.
What do people move first from OpenAI API to Gemini API?
Of the pull request titles, 24% name models and prompts, 24% name API and functions.
Is Gemini API cheaper than OpenAI API?
At input tokens 50 million tokens, output tokens 10 million tokens: OpenAI API $10/mo (GPT-6 Luna), Gemini API $28/mo (Gemini 3.1 Flash-Lite), at list prices.
GitHub search, Oct 2026 (as of 2026-10-02).