skillfed

llama-index-llms-gemini

llama-index llms gemini integration

llama-index-llms-gemini v0.6.2 82.0K downloads/30d#14,188 on PyPI
Permissive license MIT AGING released

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-gemini

uv

uv add llama-index-llms-gemini

poetry

poetry add llama-index-llms-gemini

Installing 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

gemini llm integrationllamaindex geminigoogle gemini llama indexgemini language model llamaindexllm integration framework
deprecatedllm-integrationgemini

More Artificial Intelligence packages

litellm

LiteLLM provides a unified Python interface to…

permissive · top 100 on PyPI

huggingface-hub

Client library and CLI tool for downloading,…

permissive · top 100 on PyPI

langchain

LangChain provides a framework for building…

permissive · top 1,000 on PyPI

hf-xet

hf-xet provides chunk-based deduplication and…

permissive · top 1,000 on PyPI

tokenizers

Tokenizers converts raw text into token…

permissive · top 1,000 on PyPI

transformers

Transformers provides a unified framework for…

permissive · top 1,000 on PyPI

llama-index-llms-vertex

Integrates Google Vertex AI's LLM capabilities…

permissive · top 15,000 on PyPI

llama-index-llms-google-genai

Integrates Google's Gemini models into…

permissive · top 15,000 on PyPI

llama-index-embeddings-google-genai

Integrates Google's Gemini and Vertex AI…

permissive · top 15,000 on PyPI

llama-index-llms-langchain

Bridges LlamaIndex with LangChain LLM…

permissive · top 15,000 on PyPI

llama-index-llms-ibm

Integrates IBM watsonx.ai foundation models…

permissive · top 15,000 on PyPI

llama-index-agent-openai

Integrates OpenAI language models with…

permissive · top 5,000 on PyPI

llama-index-embeddings-langchain

Integrates Langchain embedding models with…

permissive · top 15,000 on PyPI

llama-index-llms-openai-like

Provides a thin wrapper to use…

permissive · top 15,000 on PyPI

llama-index-vector-stores-milvus

Integrates the Milvus vector database with…

permissive · top 15,000 on PyPI

llama-index-llms-litellm

Integrates LiteLLM with LlamaIndex to provide…

permissive · top 15,000 on PyPI

Further reading