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]

chore(cost): drop redundant together fallback comment

mateo-berriac866e98c8d1
diff --git a/litellm/cost_calculator.py b/litellm/cost_calculator.py
index 6b1218415af..78a555940c8 100644
--- a/litellm/cost_calculator.py
+++ b/litellm/cost_calculator.py
@@ -1557,9 +1557,6 @@ def completion_cost(
if (
"togethercomputer" in model or "together_ai" in model or custom_llm_provider == "together_ai"
) and not has_together_registry_entry(model, litellm.model_cost):
- # together ai prices unmapped models based on size of llm
- # get_model_params_and_category takes a model name and returns the category of LLM size it is in model_prices_and_context_window.json
-
model = get_model_params_and_category(model, call_type=CallTypes(call_type))
# replicate llms are calculate based on time for request running