This module integrates Drupal with LiteLLM, a service that offers a unified interface for various large language models. It allows you to use different LLMs through a single API within your Drupal application.
AI Provider: LiteLLM
This module provides an integration with LiteLLM, a lightweight and self-hostable service that provides a unified interface for various Large Language Models (LLMs).
This module allows you to use LiteLLM as an AI Provider in your Drupal application, enabling you to leverage the power of different LLMs through a single, consistent API.
Installation
1. Install the module via Composer:
composer require drupal/ai_provider_litellm
2. Enable the module in your Drupal site, for example via drush:
drush en ai_provider_litellm
Configuration
1. Navigate to the AI Provider configuration page in your Drupal admin interface via Admin -> Configuration -> AI -> AI Providers or via the page: /admin/config/ai/providers/ai_provider_litellm
2. Select your "LiteLLM" key, you may need to first create the key.
3. Enter the URL of your LiteLLM instance.
Depends on
Dependencies of the latest stable release
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.3.1 | Stable | 10–11 | Aug 19, 2026 | ||
| 1.3.0 | Stable | 10–11 | Aug 4, 2026 | ||
| 1.3.x-dev | Dev | 10–11 | Mar 3, 2026 | ||
| 1.2.0 | Stable | 10–11 | Oct 13, 2025 | ||
| 1.1.1 | Stable | 10–11 | Oct 9, 2025 | ||
| 1.2.0-rc1 | Pre-release | 10–11 | Oct 8, 2025 | ||
| 1.2.0-alpha1 | Pre-release | 10–11 | Sep 28, 2025 | ||
| 1.1.0 | Stable | 10–11 | Sep 3, 2025 | ||
| 1.0.0 | Stable | 10–11 | Sep 3, 2025 | ||
| 1.2.x-dev | Dev | 10–11 | Aug 27, 2025 | ||
| 1.1.0-beta1 | Pre-release | 10–11 | Jun 12, 2025 | ||
| 1.1.x-dev | Dev | 10–11 | Jun 12, 2025 | ||
| 1.0.0-beta3 | Pre-release | 10–11 | Mar 24, 2025 | ||
| 1.0.0-beta2 | Pre-release | 11 | Mar 4, 2025 | ||
| 1.0.0-beta1 | Pre-release | 11 | Initial beta release. | Feb 28, 2025 | |
| 1.0.x-dev | Dev | 10–11 | Feb 25, 2025 |