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
test(utils): accept the per-size image cost keys in the price-map schema check (#42612)
devin-ai-integration[bot]cf08cb89e81d
diff --git a/tests/test_litellm/test_utils.py b/tests/test_litellm/test_utils.pyindex 79462d16a8c..283cff97ce0 100644--- a/tests/test_litellm/test_utils.py+++ b/tests/test_litellm/test_utils.py@@ -631,6 +631,9 @@ def validate_model_cost_values(model_data, exceptions=None):"output_cost_per_character","input_cost_per_image","output_cost_per_image",+ "output_cost_per_image_512",+ "output_cost_per_image_1024",+ "output_cost_per_image_1536","input_cost_per_pixel","output_cost_per_pixel","input_cost_per_second",@@ -858,6 +861,9 @@ def test_aaamodel_prices_and_context_window_json_is_valid():"output_cost_per_character": {"type": "number"},"output_cost_per_character_above_128k_tokens": {"type": "number"},"output_cost_per_image": {"type": "number"},+ "output_cost_per_image_512": {"type": "number"},+ "output_cost_per_image_1024": {"type": "number"},+ "output_cost_per_image_1536": {"type": "number"},"output_cost_per_image_token": {"type": "number"},"output_cost_per_video_token": {"type": "number"},"output_cost_per_pixel": {"type": "number"},