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
fix mypy
Sameer Kankute4548d9fbe982
diff --git a/litellm/cost_calculator.py b/litellm/cost_calculator.pyindex 1399bfbeb75..dae0bb1c2c0 100644--- a/litellm/cost_calculator.py+++ b/litellm/cost_calculator.py@@ -1896,7 +1896,7 @@ def batch_cost_calculator(usage: Usage,model: str,custom_llm_provider: Optional[str] = None,- model_info: Optional[dict] = None,+ model_info: Optional[ModelInfo] = None,) -> Tuple[float, float]:"""Calculate the cost of a batch job.