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
linting error fix
Ishaan Jaff726785251124
diff --git a/litellm/types/utils.py b/litellm/types/utils.pyindex 4cabf683460..faae0ff222a 100644--- a/litellm/types/utils.py+++ b/litellm/types/utils.py@@ -67,6 +67,7 @@ class ModelInfo(TypedDict, total=False):input_cost_per_image: Optional[float] # only for vertex ai modelsinput_cost_per_audio_per_second: Optional[float] # only for vertex ai modelsinput_cost_per_video_per_second: Optional[float] # only for vertex ai models+ input_cost_per_second: Optional[float] # for OpenAI Speech modelsoutput_cost_per_token: Required[float]output_cost_per_character: Optional[float] # only for vertex ai modelsoutput_cost_per_token_above_128k_tokens: Optional[diff --git a/litellm/utils.py b/litellm/utils.pyindex 57166fd2ab2..f1597f2218f 100644--- a/litellm/utils.py+++ b/litellm/utils.py@@ -5082,6 +5082,7 @@ def get_model_info(model: str, custom_llm_provider: Optional[str] = None) -> Mod"input_cost_per_token_above_128k_tokens", None),input_cost_per_query=_model_info.get("input_cost_per_query", None),+ input_cost_per_second=_model_info.get("input_cost_per_second", None),output_cost_per_token=_output_cost_per_token,output_cost_per_character=_model_info.get("output_cost_per_character", None