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]

Revert "fix(gemini): gemini-3.5-flash-lite priority cache read is $0.054/M"

kerry86f625736c22
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index 5fd860a040c..a39017f0ab9 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -27838,7 +27838,7 @@
"gemini/gemini-3.5-flash-lite": {
"cache_read_input_token_cost": 3e-08,
"cache_read_input_token_cost_flex": 2e-08,
- "cache_read_input_token_cost_priority": 5.4e-08,
+ "cache_read_input_token_cost_priority": 5e-08,
"input_cost_per_token": 3e-07,
"input_cost_per_token_batches": 1.5e-07,
"input_cost_per_token_flex": 1.5e-07,
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 5fd860a040c..a39017f0ab9 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -27838,7 +27838,7 @@
"gemini/gemini-3.5-flash-lite": {
"cache_read_input_token_cost": 3e-08,
"cache_read_input_token_cost_flex": 2e-08,
- "cache_read_input_token_cost_priority": 5.4e-08,
+ "cache_read_input_token_cost_priority": 5e-08,
"input_cost_per_token": 3e-07,
"input_cost_per_token_batches": 1.5e-07,
"input_cost_per_token_flex": 1.5e-07,
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 a285d5431b7..798d657cce7 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
@@ -3426,7 +3426,7 @@ GEMINI_36_FLASH_SERVICE_TIER_PRICING = [
GEMINI_35_FLASH_LITE_TIER_RATES_BY_SURFACE = [
("gemini", None, 3e-07, 2.5e-06, 3e-08),
("gemini", "flex", 1.5e-07, 1.25e-06, 2e-08),
- ("gemini", "priority", 5.4e-07, 4.5e-06, 5.4e-08),
+ ("gemini", "priority", 5.4e-07, 4.5e-06, 5e-08),
("vertex_ai", None, 3e-07, 2.5e-06, 3e-08),
("vertex_ai", "flex", 1.5e-07, 1.25e-06, 1.5e-08),
("vertex_ai", "priority", 5.4e-07, 4.5e-06, 5.4e-08),