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_bedrock_anthropic_prompt_caching

Ishaan Jafferfd83b292a632
diff --git a/tests/test_litellm/litellm_core_utils/llm_cost_calc/test_llm_cost_calc_utils.py b/tests/test_litellm/litellm_core_utils/llm_cost_calc/test_llm_cost_calc_utils.py
index 1541eea4939..664ecb896b6 100644
--- a/tests/test_litellm/litellm_core_utils/llm_cost_calc/test_llm_cost_calc_utils.py
+++ b/tests/test_litellm/litellm_core_utils/llm_cost_calc/test_llm_cost_calc_utils.py
@@ -649,5 +649,5 @@ def test_bedrock_anthropic_prompt_caching():
assert prompt_cost >= 0
assert completion_cost >= 0
- assert round(prompt_cost, 3) == 0.845
+ assert round(prompt_cost, 3) == 0.111
assert round(completion_cost, 5) == 0.00820