Skip to content

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]

test(pricing): allow video endpoint and rates

kerryaa5f0858f75b
diff --git a/tests/test_litellm/test_utils.py b/tests/test_litellm/test_utils.py
index b40c10de428..d694c08510a 100644
--- a/tests/test_litellm/test_utils.py
+++ b/tests/test_litellm/test_utils.py
@@ -940,6 +940,7 @@ def test_aaamodel_prices_and_context_window_json_is_valid():
"/v1/audio/transcriptions",
"/v1/audio/speech",
"/v1/ocr",
+ "/v1/videos",
"/vertex_ai/live",
"/v1/listen",
"/v1beta/interactions",
@@ -1069,6 +1070,9 @@ def test_aaamodel_prices_and_context_window_json_is_valid():
# Add any model IDs that should be exempt from the cost validation
# Example: "expensive-model-id",
"runwayml/seedance2", # 4K output is 150 credits/second = $1.50/second
+ "fal_ai/bytedance/seedance-2.0/text-to-video",
+ "fal_ai/bytedance/seedance-2.0/image-to-video",
+ "fal_ai/bytedance/seedance-2.0/reference-to-video",
]
is_valid, violations = validate_model_cost_values(actual_json, exceptions)