Skip to content
Agents tracked: 502 Releases (7d): 613 Agent status: 4 with issuesSince last limit reset: Claude 7d · Codex 5d For AI agents: Markdown Updated Nov 18, 2026

OpenAI Python Library vs Google GenAI Python SDK

In 1,621 Python projects set up for AI coding agents, OpenAI Python Library is a dependency in 247 (15.2%) and Google GenAI Python SDK in 101 (6.2%): OpenAI Python Library is 2.4× as common. Among repos created in the last 90 days that use a model sdks tool, OpenAI Python Library is in 50.0% and Google GenAI Python SDK in 25.0%, against 57.7% and 23.4% of older ones. 41 projects list both, often a sign of a migration or of a monorepo with several apps.

Model SDKs PyPI Updated Nov 17, 2026

OpenAI Python Library15.2%
Google GenAI Python SDK6.2%

Share of 1,621 Python projects set up for AI coding agents that list each one as a dependency.

Side by side

OpenAI Python LibraryGoogle GenAI Python SDK
Agent projects that use it247101
Rank in model sdks#3#7
In new repos with a model sdks tool (last 90 days)50.0%25.0%
In older repos with one57.7%23.4%
Downloads, last 7 days90.3M40M
GitHub stars32.2K4,075
Last push to its repoNov 17, 2026Nov 17, 2026
LicenseApache-2.0Apache-2.0
Funding——
Projects that list both41

Downloads include CI runs and installs as a dependency of other packages. Stars and pushes are from GitHub's API; downloads from PyPI.

By coding agent

Projects set up forPython reposOpenAI Python LibraryGoogle GenAI Python SDK
Claude Code78213.7%6.3%
GitHub Copilot80514.0%5.2%
Cursor54816.1%6.6%
Gemini CLI8324.1%8.4%
OpenAI Codex7819.2%0%
OpenCode5318.9%0%
OpenClaw10432.7%16.3%
Devin Desktop6021.7%11.7%

Share of the Python repos configured for each agent (its config file in the repo) that list the tool. A repo set up for two agents counts for both.

OpenAI Python Library

Official Python SDK to call OpenAI APIs including GPT models and embeddings.

Most often used with it:

python-dotenv70.9% of its projects
Pydantic56.7% of its projects
Uvicorn51.8% of its projects
FastAPI48.6% of its projects
Requests44.9% of its projects

pip install openai

Google GenAI Python SDK

Official Python SDK for Google's generative AI models including Gemini.

Most often used with it:

python-dotenv73.3% of its projects
Uvicorn61.4% of its projects
FastAPI53.5% of its projects
Pydantic51.5% of its projects
Requests48.5% of its projects

pip install google-genai

More matchups

OpenAI Python Library vs Anthropic Python SDKAnthropic Python SDK vs Google GenAI Python SDKOpenAI vs Anthropic SDKAnthropic SDK vs Google Generative AIOpenAI vs Google Generative AI

How we count

Projects are public GitHub repos our weekly scan finds through coding-agent config files (CLAUDE.md, AGENTS.md, .cursor/mcp.json and others); a project uses a tool when its package.json, requirements.txt or pyproject.toml lists it. "Same job" was checked for every pair, so add-ons and companions are never paired. Shares by repo age compare repos created in the last 90 days with older ones in the same scan. More on the method.