Connect Dify to a LiteLLM Proxy. One OpenAI-compatible endpoint gives access to 100+ model providers.
Use a LiteLLM Proxy as the model provider for Dify. The proxy gives one OpenAI-compatible endpoint for 100+ model providers, with virtual keys, spend tracking, budgets, and fallbacks.
The plugin adds your proxy models to Dify as customizable models. It supports:
This plugin is for the LiteLLM Proxy server. It does not use the LiteLLM Python library.
Example proxy config:
The model names come from your own proxy config. The plugin does not include a model list. For more about the proxy, see LiteLLM Proxy as a provider.
If Dify runs in Docker, points to the Dify container. Use or the address of the proxy host.
Credential validation sends a small request () to or . The model must exist in the proxy config for the check to pass.
When a model answers with tool calls only, the proxy can leave out . The plugin treats it as an empty string.
Open an issue in dify-official-plugins and include the Dify version, the plugin version, and the model alias. Never include API keys or prompt content.
Apache License 2.0. See the repository LICENSE.
No outbound calls found
Last checked 10/12/2026 09:33 PM · version 0.0.1