litellm/tests/unit/llms/perplexity
Kerry Lu 19d8e57485
fix(perplexity): bill cached prompt tokens at the cache read rate when the response has no cost (#51669)
* fix(perplexity): bill cached prompt tokens at the cache read rate when the response has no cost

* fix(perplexity): bill cached tokens at the off-peak cache read rate when the model has no standard one

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-11-16 03:30:13 +08:00
..
chat
embedding
responses
search
__init__.py
test_perplexity.py
test_perplexity_cost_calculator.py fix(perplexity): bill cached prompt tokens at the cache read rate when the response has no cost (#51669) 2026-11-16 03:30:13 +08:00
test_perplexity_integration.py