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
fail ai test fix
Ishaan Jaffer5e4da6566403
diff --git a/litellm/litellm_core_utils/llm_cost_calc/utils.py b/litellm/litellm_core_utils/llm_cost_calc/utils.pyindex 2fd0b44962e..d9dbc703d3a 100644--- a/litellm/litellm_core_utils/llm_cost_calc/utils.py+++ b/litellm/litellm_core_utils/llm_cost_calc/utils.py@@ -11,8 +11,8 @@ from litellm.types.utils import (ImageResponse,ModelInfo,PassthroughCallTypes,- Usage,ServiceTier,+ Usage,)from litellm.utils import get_model_info@@ -716,6 +716,15 @@ class CostCalculatorUtils:model=model,image_response=completion_response,)+ elif custom_llm_provider == litellm.LlmProviders.FAL_AI.value:+ from litellm.llms.fal_ai.cost_calculator import (+ cost_calculator as fal_ai_image_cost_calculator,+ )++ return fal_ai_image_cost_calculator(+ model=model,+ image_response=completion_response,+ )else:return default_image_cost_calculator(model=model,