The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
Update router.py (#12604)
Daniele Scasciafratte760ece5c8ba4
diff --git a/litellm/types/router.py b/litellm/types/router.pyindex e9e9b731eb5..fb964bb557b 100644--- a/litellm/types/router.py+++ b/litellm/types/router.py@@ -554,6 +554,7 @@ class ModelGroupInfo(BaseModel):max_output_tokens: Optional[float] = Noneinput_cost_per_token: Optional[float] = Noneoutput_cost_per_token: Optional[float] = None+ input_cost_per_pixel: Optional[float] = Nonemode: Optional[Union[str,