An Open WebUI pipe for OpenAI, Anthropic and Google in one place. It discovers new models from each API as they come out, so the list stays current without edits.
- Open WebUI → Admin Panel → Functions → +, paste in
multi_provider_external.py. - Set whichever keys you have:
OPENAI_API_KEY,ANTHROPIC_API_KEY,GOOGLE_API_KEY.
| Valve | Default | |
|---|---|---|
MODEL_PREFIX |
MPE: |
prefix on model names |
ENABLE_OPENAI / _ANTHROPIC / _GOOGLE |
on | turn providers off |
AUTO_DISCOVER_MODELS |
on | off = built-in list only |
CACHE_DURATION_MINUTES |
60 | model list cache |
USE_PERMISSIVE_SAFETY |
on | Google safety filters off |
Falls back to a built-in model list if discovery fails. Needs google-generativeai for Gemini.
MIT