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: allow 128k and 256k tiered cache fields in registry schema test
mateof5157a63eb03
diff --git a/tests/test_litellm/test_utils.py b/tests/test_litellm/test_utils.pyindex 580d8dfcc09..14907e17b1b 100644--- a/tests/test_litellm/test_utils.py+++ b/tests/test_litellm/test_utils.py@@ -906,7 +906,9 @@ def test_aaamodel_prices_and_context_window_json_is_valid():"cache_creation_input_audio_token_cost": {"type": "number"},"cache_creation_input_token_cost": {"type": "number"},"cache_creation_input_token_cost_above_1hr": {"type": "number"},+ "cache_creation_input_token_cost_above_128k_tokens": {"type": "number"},"cache_creation_input_token_cost_above_200k_tokens": {"type": "number"},+ "cache_creation_input_token_cost_above_256k_tokens": {"type": "number"},"cache_creation_input_token_cost_above_272k_tokens": {"type": "number"},"cache_creation_input_token_cost_above_272k_tokens_flex": {"type": "number"@@ -917,7 +919,9 @@ def test_aaamodel_prices_and_context_window_json_is_valid():"cache_creation_input_token_cost_flex": {"type": "number"},"cache_creation_input_token_cost_priority": {"type": "number"},"cache_read_input_token_cost": {"type": "number"},+ "cache_read_input_token_cost_above_128k_tokens": {"type": "number"},"cache_read_input_token_cost_above_200k_tokens": {"type": "number"},+ "cache_read_input_token_cost_above_256k_tokens": {"type": "number"},"cache_read_input_token_cost_above_272k_tokens": {"type": "number"},"cache_read_input_token_cost_above_272k_tokens_flex": {"type": "number"