---
title: "v1.85.7 - Stream Cost Recovery & Cache-Control Cap"
url: "/release_notes/v1.85.7/v1-85-7"
canonical_url: "https://docs.litellm.ai/release_notes/v1.85.7/v1-85-7"
type: "release-notes"
last_updated: "2026-10-04"
related:
  - "/release_notes/v1.86.0/v1-86-0"
  - "/release_notes/v1.85.6/v1-85-6"
---
# v1.85.7 - Stream Cost Recovery & Cache-Control Cap

> Index of all LiteLLM docs: https://docs.litellm.ai/llms.txt

## Deploy this version

**Docker**

```bash
docker run \
-e STORE_MODEL_IN_DB=True \
-p 4000:4000 \
docker.litellm.ai/berriai/litellm:1.85.7
```

**Pip**

```bash
pip install litellm==1.85.7
```

`v1.85.7` is a patch release on top of [`v1.85.6`](/release_notes/v1.85.6/v1-85-6). It backports cost-tracking recovery for interrupted Anthropic streams, caps Anthropic `cache_control` injection at the 4-block API limit, and pulls in OpenSSL and OSV-flagged dependency bumps for CVE coverage. It also hardens usage parsing by coercing a dict `server_tool_use` into a typed `ServerToolUse` object.

### What's Changed

- fix(integrations): cap Anthropic cache_control injection at 4 blocks - [PR #30480](https://github.com/BerriAI/litellm/pull/30480)
- fix(passthrough): recover output tokens for interrupted anthropic streams - [PR #30787](https://github.com/BerriAI/litellm/pull/30787)
- fix(proxy): record partial spend on the failure row for interrupted streams - [PR #30788](https://github.com/BerriAI/litellm/pull/30788)
- fix(passthrough,streaming): recover cost on interrupted and agentic Anthropic streams - [PR #31035](https://github.com/BerriAI/litellm/pull/31035)
- fix(deps): bump osv-flagged dependencies to clear known CVEs - [PR #31122](https://github.com/BerriAI/litellm/pull/31122)
- fix(docker): bump wolfi-base digest to patch openssl CVE-2026-34182 - [PR #31133](https://github.com/BerriAI/litellm/pull/31133)

## Full Changelog

https://github.com/BerriAI/litellm/compare/v1.85.6...v1.85.7

## Related pages

- [v1.86.0](https://docs.litellm.ai/release_notes/v1.86.0/v1-86-0.md)
- [v1.85.6](https://docs.litellm.ai/release_notes/v1.85.6/v1-85-6.md)
