llama-index-llms-gemini
llama-index llms gemini integration
What it is and what it does
This package provides a connector between LlamaIndex and Google's Gemini language model. It depends on google-generativeai for API access, llama-index-core for the framework integration, and pillow for image handling.
As of version 0.6.2, this integration is officially deprecated and no longer maintained. The package's own documentation directs users to a replacement. This means no further updates, bug fixes, or security patches should be expected, and new projects should use the successor instead.
Use it for:
- Maintaining legacy code that currently depends on this specific integration version
- Evaluating whether your codebase can migrate to the supported replacement
- Understanding deprecation timelines for LlamaIndex integrations
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Integrates Google's Gemini LLM with LlamaIndex, though this integration is no longer supported as of version 0.6.2.
No. The package is explicitly unsupported as of version 0.6.2 and replaced by an alternative. New projects should use the replacement. Existing projects should plan migration. Installing a deprecated, unmaintained integration creates technical debt and leaves you without vendor support or updates.
Install
llama-index-llms-gemini on PyPI
pip
pip install llama-index-llms-geminiuv
uv add llama-index-llms-geminipoetry
poetry add llama-index-llms-geminiInstalling llama-index-llms-gemini
Before you install
Low install friction with three straightforward dependencies. However, maintenance status is aging—the package was last released 205 days ago and the description explicitly states this integration is no longer supported as of version 0.6.2.
License in practice
MIT license is permissive and poses no restrictions on use, modification, or distribution.
Quickstart
pip install llama-index-llms-gemini
from llama_index_llms_gemini import Gemini
llm = Gemini(model="gemini-pro")
Requires Python >=3.9,<4.0 and google-generativeai to be installed and configured with API credentials
Verify before relying
- Whether the replacement package is a true drop-in replacement or requires code changes
- Current state of google-generativeai dependency compatibility with this version
- Whether the package will receive security updates despite being unsupported
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4.0,>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — google-generativeai, llama-index-core, pillow |
| Maintenance | aging — 205 days since the last release |
| First released | |
| Downloads | 82,032/month — #14,188 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: llama_index_llms_gemini-0.6.2-py3-none-any.whl
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
llama-index-llms-vertexIntegrates Google Vertex AI's LLM capabilities…
permissive · top 15,000 on PyPI
llama-index-llms-google-genaiIntegrates Google's Gemini models into…
permissive · top 15,000 on PyPI
llama-index-embeddings-google-genaiIntegrates Google's Gemini and Vertex AI…
permissive · top 15,000 on PyPI
llama-index-llms-langchainBridges LlamaIndex with LangChain LLM…
permissive · top 15,000 on PyPI
llama-index-llms-ibmIntegrates IBM watsonx.ai foundation models…
permissive · top 15,000 on PyPI
llama-index-agent-openaiIntegrates OpenAI language models with…
permissive · top 5,000 on PyPI
llama-index-embeddings-langchainIntegrates Langchain embedding models with…
permissive · top 15,000 on PyPI
llama-index-llms-openai-likeProvides a thin wrapper to use…
permissive · top 15,000 on PyPI
llama-index-vector-stores-milvusIntegrates the Milvus vector database with…
permissive · top 15,000 on PyPI
llama-index-llms-litellmIntegrates LiteLLM with LlamaIndex to provide…
permissive · top 15,000 on PyPI