mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-29 06:33:28 +00:00
* fix(cost): bill Gemini audio/image/video prompt tokens at the resolved input rate when no modality rate exists
Co-authored-by: shivam <shivam@berri.ai>
* style(cost): ruff format the modality cost calls
---------
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: shivam <shivam@berri.ai>
Backport of #47373 to stable/1.105.x.
Cherry-picked from
|
||
|---|---|---|
| .. | ||
| assertions.py | ||
| conftest.py | ||
| cost_tracking_case.py | ||
| cost_tracking_cases.json | ||
| test_batch_realtime_cost.py | ||
| test_cost_tracking.py | ||