Endpoint

ModRouter’s LiteLLM router combines OpenAI, Anthropic, GenAI, Bedrock, and Cohere route families under the /litellm prefix.

Python

Provider Compatibility

LiteLLM already abstracts provider request shapes. ModRouter adds gateway features such as provider key management, fallbacks, logging, governance, and MCP tool injection where applicable. Requests still need to match a route family ModRouter implements under /litellm. If a LiteLLM provider or endpoint is not covered by ModRouter’s integration routes, use a ModRouter native endpoint or passthrough route instead.

Headers

Pass ModRouter headers through LiteLLM when you need virtual keys or routing metadata: