v1.86.7 - Stream Cost Recovery & MCP Key Scoping
Deploy this version​
- Docker
- Pip
docker run \
-e STORE_MODEL_IN_DB=True \
-p 4000:4000 \
docker.litellm.ai/berriai/litellm:1.86.7
pip install litellm==1.86.7
v1.86.7 is a patch release on top of v1.86.6. It backports cost-tracking recovery for interrupted Anthropic streams, adds a no-mcp-servers sentinel that scopes a key to zero MCP servers, caps Anthropic cache_control injection at the 4-block API limit, and bumps OpenSSL plus cryptography, python-multipart, pydantic-settings, and pypdf for CVE coverage.
What's Changed​
- fix(integrations): cap Anthropic cache_control injection at 4 blocks - PR #30480
- fix(passthrough): recover output tokens for interrupted anthropic streams - PR #30787
- fix(proxy): record partial spend on the failure row for interrupted streams - PR #30788
- feat(mcp): scope a key to zero MCP servers with no-mcp-servers sentinel - PR #31029
- fix(passthrough,streaming): recover cost on interrupted and agentic Anthropic streams - PR #31035
- fix(docker): bump wolfi-base digest to patch openssl CVE-2026-34182 - PR #31133
Full Changelog​
https://github.com/BerriAI/litellm/compare/v1.86.6...v1.86.7