{"library":"google-generativeai","type":"library","category":null,"description":"DEPRECATED. The original Python SDK for Gemini API (AI Studio). Replaced by google-genai (the unified Google Gen AI SDK). End-of-life: November 30, 2025. All support permanently ended. New features like Live API, Veo, Imagen 3 are only available in google-genai. Last version: 0.8.6. Do not use for new projects.","language":"python","status":"deprecated","version":"0.8.6","tags":["google","gemini","llm","genai","python","vertex-ai","deprecated"],"last_verified":"Tue Jun 09","install":[{"cmd":"pip install google-genai","imports":["from google import genai\nfrom google.genai import types\n\nclient = genai.Client(api_key='GEMINI_API_KEY')\nresponse = client.models.generate_content(\n    model='gemini-2.5-flash',\n    contents='Explain quantum computing',\n    config=types.GenerateContentConfig(temperature=0.1)\n)\nprint(response.text)","from google.genai import types\nconfig = types.GenerateContentConfig(\n    temperature=0.1,\n    max_output_tokens=1024\n)","from google import genai\n\n# Vertex AI mode\nclient = genai.Client(\n    vertexai=True,\n    project='your-project-id',\n    location='us-central1'\n)\n\n# Gemini API mode (AI Studio)\nclient = genai.Client(api_key='GEMINI_API_KEY')"]},{"cmd":"pip install google-generativeai","imports":[]}],"homepage":"https://ai.google.dev","github":"https://github.com/google/generative-ai-python","docs":null,"changelog":null,"pypi":"https://pypi.org/project/google-generativeai/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":75,"avg_install_s":7.9,"avg_import_s":3.58,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/google-generativeai/compatibility"}}