diff --git a/litellm/litellm_core_utils/llm_cost_calc/utils.py b/litellm/litellm_core_utils/llm_cost_calc/utils.py index acd3bbfc78d..4e96816ff7b 100644 --- a/litellm/litellm_core_utils/llm_cost_calc/utils.py +++ b/litellm/litellm_core_utils/llm_cost_calc/utils.py @@ -713,8 +713,6 @@ def generic_cost_per_token( # noqa: PLR0915 # 2. text_tokens>0 but < total (mixed content like PDF+text) - gap fills remainder # Skip filling when has_non_token_alternative_billing is True (character_count, # video_length_seconds, or image_count are active) - those dimensions - # Skip filling when has_non_token_alternative_billing is True (character_count, - # video_length_seconds, or image_count are active) - those dimensions # already account for the prompt_tokens gap. unaccounted_tokens = usage.prompt_tokens - accounted_tokens prompt_tokens_details["text_tokens"] += unaccounted_tokens