From 4beea8947171ace0d9f4bf30f27c4937d8e7128a Mon Sep 17 00:00:00 2001 From: Praveen11558 <44603409+Praveen11558@users.noreply.github.com> Date: Thu, 12 Mar 2026 16:10:36 +0530 Subject: [PATCH] Update utils.py --- litellm/litellm_core_utils/llm_cost_calc/utils.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/litellm/litellm_core_utils/llm_cost_calc/utils.py b/litellm/litellm_core_utils/llm_cost_calc/utils.py index 63f090b22b7..01a8f5f37c8 100644 --- a/litellm/litellm_core_utils/llm_cost_calc/utils.py +++ b/litellm/litellm_core_utils/llm_cost_calc/utils.py @@ -726,16 +726,6 @@ def generic_cost_per_token( # noqa: PLR0915 model_info=model_info, usage=usage, service_tier=service_tier ) - prompt_cost = _calculate_input_cost( - prompt_tokens_details=prompt_tokens_details, - model_info=model_info, - prompt_base_cost=prompt_base_cost, - cache_read_cost=cache_read_cost, - cache_creation_cost=cache_creation_cost, - cache_creation_cost_above_1hr=cache_creation_cost_above_1hr, - service_tier=service_tier, - ) - prompt_cost = _calculate_input_cost( prompt_tokens_details=prompt_tokens_details, model_info=model_info,