mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-11 03:38:38 +00:00
A model missing from the price map gets response_cost 0.0 in the standard logging payload, with response_cost_failure_debug_info set. The OpenInference writer (arize, phoenix, langfuse_otel) and the OTel v2 span data copied that 0.0 into llm.cost.total, litellm.cost.total and langfuse.observation.cost_details, so backends showed the call as free. Skip the cost when the lookup failed, except on cache hits, which are free. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_arize.py | ||
| test_arize_health_check.py | ||
| test_arize_otel_coexistence.py | ||
| test_arize_phoenix.py | ||
| test_arize_utils.py | ||