Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

Google GenAI Python SDK

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

Model SDKsPYPI

GitHubWebsiteAPI page

1. License

License from PyPI license expression.

github.com/googleapis/python-genai

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What Google GenAI Python SDK does

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

Google GenAI Python SDK popularity

73 / 100
Gid Score, #271 overall
40.7M
downloads a week, pypi
4,088
GitHub stars
102
agent projects use it
Google GenAI Python SDK: downloads per weekPyPI, google-genai 40,762,542
Google GenAI Python SDK: GitHub starsgoogleapis/python-genai 4,088

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How Google GenAI Python SDK is used

  • Google GenAI Python SDK is a dependency in 102 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (6.3% of the 1,623 Python ones), #7 of 92 in model sdks.
  • Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 1,186; those are left out of every share on this page.
  • The most used alternative in our scan is OpenAI Python Library (248 projects).
  • Projects that use it most often also use python-dotenv (73.5%), Uvicorn (61.8%), FastAPI (53.9%).
  • It is more common in projects set up for OpenClaw (5.7%) than for GitHub Copilot (1.4%).

By coding agent

49 projects, 1.5%
43 projects, 1.4%
37 projects, 1.5%
19 projects, 5.7%
7 projects, 1.5%
7 projects, 2.5%

Often used with

In 73.5% of its projects
In 61.8% of its projects
In 53.9% of its projects
In 52.0% of its projects
In 49.0% of its projects
In 41.2% of its projects
In 37.3% of its projects
In 35.3% of its projects

More about Google GenAI Python SDK

Head to head
More in Model SDKs

Alternatives

Google GenAI Python SDK This page

Apache-2.0Gid 7340.7M/wk

OpenAI Python Library

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

Apache-2.0Gid 8694.8M/wk

Anthropic Python SDK

Official Python library for calling Claude via the Anthropic API.

Apache-2.0Gid 7451.5M/wk

DashScope SDK

Official Python client SDK for Alibaba DashScope API to call language models.

Apache-2.0Gid 43339K/wk

Mistral AI SDK

Official Python SDK for the Mistral AI API to call Mistral language models.

Apache-2.0Gid 503.3M/wk

Cohere

Official SDK for accessing Cohere's language models and APIs.

MITGid 502.9M/wk

Compare Google GenAI Python SDK with another tool

Get started

Install it.

pip install google-genai

No step-by-step start for Google GenAI Python SDK yet: we have not written its hand-checked card.