{
 "kind": "tool",
 "slug": "google-genai-pypi",
 "path": "tools/google-genai-pypi/",
 "name": "Google GenAI Python SDK",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Model SDKs",
   "tools/ai-sdks/"
  ]
 ],
 "lead": "Official Python SDK for Google's generative AI models including Gemini.",
 "chips": [
  {
   "label": "Model SDKs",
   "path": "tools/ai-sdks/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install google-genai"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/googleapis/python-genai"
  },
  {
   "label": "Website",
   "href": "https://github.com/googleapis/python-genai"
  },
  {
   "label": "API page",
   "path": "apis/google-gemini-api/"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "Apache-2.0",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI license expression.",
   "src": "https://github.com/googleapis/python-genai"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 24, 2026",
   "note": "Latest GitHub release Nov 18, 2026. ",
   "src": "https://github.com/googleapis/python-genai"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "102 projects",
   "status": "info",
   "sub": "#7 of 92 in its category",
   "note": "Dependency in 102 public GitHub projects set up for AI coding agents that we scanned (1.6%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Google GenAI Python SDK does",
   "parts": [
    {
     "t": "prose",
     "text": "Official Python SDK for Google's generative AI models including Gemini."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Google GenAI Python SDK popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "73",
       "of": "/ 100",
       "l": "Gid Score, #271 overall"
      },
      {
       "n": "40.7M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "4,088",
       "l": "GitHub stars"
      },
      {
       "n": "102",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Google GenAI Python SDK is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "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%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "49 projects, 1.5%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "43 projects, 1.4%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "37 projects, 1.5%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "19 projects, 5.7%",
       "v": "OpenClaw",
       "path": "agents/openclaw/"
      },
      {
       "l": "7 projects, 1.5%",
       "v": "Gemini CLI",
       "path": "agents/gemini-cli/"
      },
      {
       "l": "7 projects, 2.5%",
       "v": "Devin Desktop",
       "path": "agents/devin-desktop/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 73.5% of its projects",
       "v": "python-dotenv",
       "path": "tools/python-dotenv/"
      },
      {
       "l": "In 61.8% of its projects",
       "v": "Uvicorn",
       "path": "tools/uvicorn/"
      },
      {
       "l": "In 53.9% of its projects",
       "v": "FastAPI",
       "path": "tools/fastapi/"
      },
      {
       "l": "In 52.0% of its projects",
       "v": "Pydantic",
       "path": "tools/pydantic/"
      },
      {
       "l": "In 49.0% of its projects",
       "v": "Requests",
       "path": "tools/requests-py/"
      },
      {
       "l": "In 41.2% of its projects",
       "v": "OpenAI Python Library",
       "path": "tools/openai-pypi/"
      },
      {
       "l": "In 37.3% of its projects",
       "v": "Pillow",
       "path": "tools/pillow/"
      },
      {
       "l": "In 35.3% of its projects",
       "v": "NumPy",
       "path": "tools/numpy/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Google GenAI Python SDK",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Head to head",
       "items": [
        {
         "text": "Anthropic Python SDK vs Google GenAI Python SDK",
         "note": "used together in 20 projects",
         "path": "tools/compare/anthropic-python-sdk-vs-google-genai-python-sdk/"
        },
        {
         "text": "OpenAI Python Library vs Google GenAI Python SDK",
         "note": "used together in 42 projects",
         "path": "tools/compare/openai-python-library-vs-google-genai-python-sdk/"
        }
       ]
      },
      {
       "title": "More in Model SDKs",
       "path": "tools/ai-sdks/",
       "items": [
        {
         "text": "OpenAI",
         "path": "tools/openai-npm/"
        },
        {
         "text": "AI SDK",
         "path": "tools/ai/"
        },
        {
         "text": "Anthropic SDK",
         "path": "tools/anthropic-ai/"
        },
        {
         "text": "Google Generative AI",
         "path": "tools/google-genai-npm/"
        },
        {
         "text": "Hugging Face Hub",
         "path": "tools/huggingface-hub/"
        },
        {
         "text": "LiteLLM",
         "path": "tools/litellm/"
        },
        {
         "text": "Ollama",
         "path": "tools/ollama-pypi/"
        },
        {
         "text": "Transformers.js",
         "path": "tools/huggingface/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Google GenAI Python SDK",
       "me": true,
       "facts": [
        "Apache-2.0",
        "Gid 73",
        "40.7M/wk"
       ]
      },
      {
       "name": "OpenAI Python Library",
       "why": "Official Python SDK to call OpenAI APIs including GPT models and embeddings.",
       "path": "tools/openai-pypi/",
       "facts": [
        "Apache-2.0",
        "Gid 86",
        "94.8M/wk"
       ]
      },
      {
       "name": "Anthropic Python SDK",
       "why": "Official Python library for calling Claude via the Anthropic API.",
       "path": "tools/anthropic/",
       "facts": [
        "Apache-2.0",
        "Gid 74",
        "51.5M/wk"
       ]
      },
      {
       "name": "DashScope SDK",
       "why": "Official Python client SDK for Alibaba DashScope API to call language models.",
       "path": "tools/dashscope/",
       "facts": [
        "Apache-2.0",
        "Gid 43",
        "339K/wk"
       ]
      },
      {
       "name": "Mistral AI SDK",
       "why": "Official Python SDK for the Mistral AI API to call Mistral language models.",
       "path": "tools/mistralai/",
       "facts": [
        "Apache-2.0",
        "Gid 50",
        "3.3M/wk"
       ]
      },
      {
       "name": "Cohere",
       "why": "Official SDK for accessing Cohere's language models and APIs.",
       "path": "tools/cohere/",
       "facts": [
        "MIT",
        "Gid 50",
        "2.9M/wk"
       ]
      }
     ],
     "more": "Compare Google GenAI Python SDK with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install google-genai"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Google GenAI Python SDK yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi google-genai"
  ],
  [
   "Category",
   "Model SDKs"
  ],
  [
   "License",
   "Apache-2.0"
  ],
  [
   "Gid Score",
   "73.0"
  ],
  [
   "Rank in category",
   "#7 of 92"
  ],
  [
   "GitHub",
   "googleapis/python-genai"
  ],
  [
   "Last change",
   "Nov 24, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/googleapis.png"
}