LiteLLM v1.99.1 is a container-only release that addresses telemetry accuracy for prompt-caching workloads. Users relying on PyPI packages should remain on version 1.99.0, as no updated Python package was published for this release.
If you rely on OTel token counts for spend tracking, you must update your containers to capture the newly added cache creation and read token metrics.
📊 Product & Engineering Leads
This update ensures more accurate cost accounting for prompt-caching features, which may affect billing or usage reporting logic.
⚙️ DevOps & Security
Note that this release is exclusively distributed via container images; CI/CD pipelines expecting a PyPI update for v1.99.1 will fail.
⚡ Performance & Enhancements (1)
OpenTelemetry v2 spans now emit gen_ai.usage.cache_creation.input_tokens and gen_ai.usage.cache_read.input_tokens
🔧 Bug Fixes & Patches (1)
Corrected under-counting of prompt-caching spend in OTel token-based reporting
❓ Frequently Asked Questions
Does LiteLLM v1.99.1 contain breaking changes?
No. There are no breaking changes; however, there is a distribution change as this version is only available as a Docker image and not on PyPI.
What is the primary highlight of v1.99.1?
The inclusion of specific cache token counts in OpenTelemetry spans to ensure accurate spend tracking for prompt-caching workflows.
How should teams prepare to upgrade to v1.99.1?
Teams should skip attempting a PyPI update and instead pull the latest versioned Docker images from ghcr.io or docker.io, verifying the release via cosign.
📄 View Raw Release Notes (Original Developer Log)
## Docker-only release
**This release ships container images only. There is no PyPI package for `1.99.1`.**
`pip install litellm==1.99.1` will not resolve - install the images below, or stay on `1.99.0` on PyPI. The git tag and this release exist so the images are traceable to an exact commit.
| Image | Tags |
|---|---|
| `ghcr.io/berriai/litellm` · `docker.io/litellm/litellm` | `1.99.1`, `v1.99.1` |
| `ghcr.io/berriai/litellm-database` · `docker.io/litellm/litellm-database` | `1.99.1`, `v1.99.1` |
| `ghcr.io/berriai/litellm-non_root` · `docker.io/litellm/litellm-non_root` | `1.99.1`, `v1.99.1` |
This is the newest stable image, so the rolling `latest` and `main-stable` image tags now point at `1.99.1`.
It carries one fix on top of `1.99.0`: OpenTelemetry v2 spans now emit cache token counts (`gen_ai.usage.cache_creation.input_tokens` and `gen_ai.usage.cache_read.input_tokens`) alongside the cache cost that was already reported. If you compute spend from OTel token counts rather than from LiteLLM's own cost fields, prompt-caching workloads were previously under-counted.
---
## Verify Docker Image Signature
All LiteLLM Docker images are signed with [cosign](https://docs.sigstore.dev/cosign/overview/). Every release is signed with the same key introduced in [commit `0112e53`](https://github.com/BerriAI/litellm/commit/0112e53046018d726492c814b3644b7d376029d0).
**Verify using the pinned commit hash (recommended):**
A commit hash is cryptographically immutable, so this is the strongest way to ensure you are using the original signing key:
```bash
cosign verify \
--key https://raw.githubusercontent.com/BerriAI/litellm/0112e53046018d726492c814b3644b7d376029d0/cosign.pub \
ghcr.io/berriai/litellm:v1.99.1
```
**Verify using the release tag (convenience):**
Tags are protected in this repository and resolve to the same key. This option is easier to read but relies on tag protection rules:
```bash
cosign verify \
--key https://raw.githubusercontent.com/BerriAI/litellm/v1.99.1/cosign.pub \
ghcr.io/berriai/litellm:v1.99.1
```
Expected output:
```
The following checks were performed on each of these signatures:
- The cosign claims were validated
- The signatures were verified against the specified public key
```
---
## What's Changed
* chore(release): backport #38716 to stable/1.99.x and cut 1.99.1 by @yuneng-berri in https://github.com/BerriAI/litellm/pull/39179
**Full Changelog**: https://github.com/BerriAI/litellm/compare/v1.99.0...v1.99.1