Overview
LiteLLM can be deployed as an internal proxy in front of MixRoute. Applications call LiteLLM, and LiteLLM forwards requests to MixRoute while providing unified authentication, model discovery, Dashboard management, virtual keys, and usage records. LiteLLM official Docker Compose deployment guide: https://docs.litellm.ai/docs/proxy/deployDocker Compose deployment
Prepare three files:.env:
docker-compose.yml:
Start LiteLLM:
Connect MixRoute
MixRoute Base URL:config.yaml:
openai/ is the LiteLLM OpenAI-compatible provider prefix. It does not mean that the upstream model must come from OpenAI.
Client usage
OpenAI-compatible Base URL:openai/gpt-5.5, anthropic/claude-sonnet-5, gemini/gemini-2.5-flash, or the alias o3-mini.
Verification
generateContent uses the LiteLLM frontend path /v1beta/models/gemini/<model-id>:generateContent; the upstream MixRoute base remains https://api.mixroute.ai/v1.