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 error
Sameer Kankuteab9c8409240a
diff --git a/litellm/types/utils.py b/litellm/types/utils.pyindex 7836804212b..41a09bd3917 100644--- a/litellm/types/utils.py+++ b/litellm/types/utils.py@@ -141,6 +141,7 @@ class ModelInfoBase(ProviderSpecificModelInfo, total=False):key: Required[str] # the key in litellm.model_cost which is returnedmax_tokens: Required[Optional[int]]+ max_input_tokens: Required[Optional[int]]max_output_tokens: Required[Optional[int]]input_cost_per_token: Required[float]input_cost_per_token_flex: Optional[float] # OpenAI flex service tier pricing