LiteLLM is moving to Rust Read the latest updates.
LiteLLM v1.108.21 (LTS) stops recording failed requests as zero-cost spend rows
Released
tip
v1.108.21 is a patch release on the 1.108 LTS line. The lts image tag always points to the latest LTS release, so pull docker.litellm.ai/berriai/litellm:lts to stay on the newest LTS patch. See the LTS pilot.
Deploy this version​
- Docker
- Pip
docker run \
-e LITELLM_MASTER_KEY=sk-<paste-a-long-random-key> \
-e DATABASE_URL=postgresql://<user>:<password>@<host>:5432/<dbname> \
-e STORE_MODEL_IN_DB=True \
-p 4000:4000 \
docker.litellm.ai/berriai/litellm:1.108.21
pip install litellm==1.108.21
This release is published as ghcr.io/berriai/litellm:v1.108.21. See the GitHub release and the full releases page.
v1.108.21 is a patch release on top of v1.108.20. There are no new database migrations. The v1.108.21 tag points at 230d42e.
What's Changed​
- Cost tracking and pricing: Fixed failed requests being recorded as zero-cost rows in spend logs and daily usage - PR #54608
The change is backported in PR #54986.
Full Changelog​
https://github.com/BerriAI/litellm/compare/v1.108.20...v1.108.21