Installing and Configuring LiteLLM Proxy with Docker
Press play on the video. It'll jump straight to the section that answers the
title above — no need to watch the full video.
A technical walkthrough on installing LiteLLM via Docker, editing environment variables, and setting up 'Virtual Keys' to run Claude, Grok, and GPT together while staying within budget.
API Key Security
LITELLM_SALT_KEY is crucial because it is used to encrypt the provider API keys (such as Claude/GPT) that you store in the LiteLLM database. Do not change this key once the server is in use.
Advantages of Virtual Keys
Use Virtual Keys to segment access for different users. You can restrict specific users from using expensive models and set a 'Monthly Budget' to prevent bill spikes.
Localhost Networking
If Open WebUI and LiteLLM are on the same Docker network, you can use 'http://localhost:4000' or the container name as the Base URL for faster communication.
More from Local AI & Open Source Deployment
View All
None
Docker
Automating web browser tasks with Local LLMs (Ollama) & DeepSeek
Browser Use
Ollama
Install and configure Robin AI Dark Web Scraper with Docker and Tor
Robin
Docker
Run Local LLMs and Grok with OpenCode CLI
OpenCode
Grok
Build Your Own Socratic AI Tutor Using Open WebUI and Custom Prompts
Open WebUI
Claude
Setting Up the Admin Account and OpenAI API
OpenWebUI
OpenAI API