LiteLLM v1.87.0stable Released Jun 02, 2026
Impact Score: 8/10

LiteLLM v1.87.0 - Release Notes & Engineering Impact

Source available - automated, not human-reviewed

Component: litellm · Channel: stable. Automated analysis, not a compatibility certification. How this works.

Analysis updated: 2026-11-18.

Automated impact estimate - compatibility not verified
$ python -m pip install 'litellm==1.87.0'
📄 .MD
⚡ Executive Summary (TL;DR)

LiteLLM v1.87.0 introduces support for Gemini 3.5 Flash, new Microsoft Purview guardrails, and Granian ASGI server integration to enhance throughput. This release also includes critical security hardening for Docker image verification and database field encryption for callback variables.

Who Does This Impact? (Role-Based Analysis)

💻 Software Engineers & Devs

Engineers integrating LLM providers should update to leverage new Gemini models and Microsoft Purview DLP guardrails.

📊 Product & Engineering Leads

New UI interactions and expanded model support improve playground capabilities and team-based cost management.

⚙️ DevOps & Security

Ensure your pipeline uses the new cosign verification steps for Docker images and update deployment configurations for the Granian ASGI server option.

✨ New Features & Capabilities (5)

  • Gemini 3.5 Flash support
  • Microsoft Purview DLP guardrail integration
  • Granian ASGI server support
  • Playground Interactions API with SSE streaming
  • Azure Speech STT configuration support

⚡ Performance & Enhancements (4)

  • Reduced per-request/chunk overhead in Anthropic streaming
  • Encrypt callback_vars in database metadata
  • Propagate team_id and team_alias to OTEL spans
  • Emit per-token-type detail metrics in Prometheus

🔧 Bug Fixes & Patches (5)

  • Fixed batch metadata Pydantic ValidationErrors for Bedrock
  • Resolved cross-pod double-seeding in Redis spend_counter
  • Fixed SSE stream decoding for Google-native content
  • Fixed caching replay issues for OpenAI bridge hits
  • Fixed vertex_ai function_call id handling

❓ Frequently Asked Questions

Does LiteLLM v1.87.0 contain breaking changes?

No breaking changes are explicitly documented in the release notes, though users should verify their existing configurations against the new Docker signing procedures.

What is the primary highlight of v1.87.0?

The release focuses on significant security enhancements, such as Docker image signing via cosign and database encryption, alongside broad model support updates like Gemini 3.5 Flash.

How should teams prepare to upgrade to v1.87.0?

Teams should adopt the recommended cosign verification process for Docker images and review their current ASGI server configurations to evaluate the performance benefits of transitioning to Granian.

📄 View Raw Release Notes (Original Developer Log)
## 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.87.0 ``` **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.87.0/cosign.pub \ ghcr.io/berriai/litellm:v1.87.0 ``` 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 * fix(proxy): gate team allowed_passthrough_routes to proxy admins by @ryan-crabbe-berri in https://github.com/BerriAI/litellm/pull/28097 * fix(tests): stabilize image-edit VCR cassettes to stop live gpt-image-1 spend by @mateo-berri in https://github.com/BerriAI/litellm/pull/28110 * fix(bedrock/cohere): send embedding_types as JSON array, not string by @ishaan-berri in https://github.com/BerriAI/litellm/pull/28172 * fix(tests): migrate realtime + rerank tests off shut-down upstream models by @yuneng-berri in https://github.com/BerriAI/litellm/pull/28191 * fix(caching): replay openai/responses bridge cache hits as chat streams by @Sameerlite in https://github.com/BerriAI/litellm/pull/28158 * Litellm oss staging by @Sameerlite in https://github.com/BerriAI/litellm/pull/28161 * feat(prometheus): add user_email and user_alias to user budget metrics by @Sameerlite in https://github.com/BerriAI/litellm/pull/28155 * test(callbacks): harden flaky proxy callback-leak detector by @yuneng-berri in https://github.com/BerriAI/litellm/pull/28195 * fix(bedrock): sanitize batch metadata to prevent Pydantic ValidationError by @mateo-berri in https://github.com/BerriAI/litellm/pull/28202 * fix(deepseek): use native /anthropic/v1/messages endpoint and sanitize tools by @mateo-berri in https://github.com/BerriAI/litellm/pull/28200 * feat(ui): add Interactions API endpoint to playground with SSE streaming by @Sameerlite in https://github.com/BerriAI/litellm/pull/28156 * fix(proxy): decode bytes and pass-through SSE for Google-native streamGenerateContent (#27444) by @Sameerlite in https://github.com/BerriAI/litellm/pull/28213 * refactor(bedrock/sagemaker): switch to lazy loading for response stre… by @harish-berri in https://github.com/BerriAI/litellm/pull/28189 * [Refactor] UI - Spend Logs: consolidate filter state and extract components by @ryan-crabbe-berri in https://github.com/BerriAI/litellm/pull/25847 * fix(tests): replace shut-down gpt-4o-audio-preview with gpt-audio-1.5 by @yuneng-berri in https://github.com/BerriAI/litellm/pull/28281 * chore(ci): bump versions by @yuneng-berri in https://github.com/BerriAI/litellm/pull/28287 * feat: propagate team_id and team_alias to all child OTEL spans by @yassin-berriai in https://github.com/BerriAI/litellm/pull/28273 * Day 0 support : Gemini 3.5 Flash by @Sameerlite in https://github.com/BerriAI/litellm/pull/28268 * Gemini managed agents support by @Sameerlite in https://github.com/BerriAI/litellm/pull/28270 * chore(ci): promote internal staging to main by @yuneng-berri in https://github.com/BerriAI/litellm/pull/28292 * feat(gemini): add gemini-3.1-flash-lite model cost map by @Sameerlite in https://github.com/BerriAI/litellm/pull/28320 * fix(spend_counter): seed Redis counter via SET NX to prevent cross-pod double-seed by @milan-berri in https://github.com/BerriAI/litellm/pull/27854 * fix(proxy): normalize batch file IDs before ManagedObjectTable write by @Sameerlite in https://github.com/BerriAI/litellm/pull/28339 * fix(router): use forwarded model_id for native Azure container IDs by @Sameerlite in https://github.com/BerriAI/litellm/pull/27921 * fix(ui): restore log filter loading indicator by @ryan-crabbe-berri in https://github.com/BerriAI/litellm/pull/28282 * test(e2e): migrate runner to uv, add All Proxy Models key test by @ryan-crabbe-berri in https://github.com/BerriAI/litellm/pull/28313 * feat(ui): team passthrough routes create parity + edit load fix by @ryan-crabbe-berri in https://github.com/BerriAI/litellm/pull/28098 * fix(mcp): JWT on tools/list and REST tools/call server resolution by @Sameerlite in https://github.com/BerriAI/litellm/pull/28227 * feat(interactions): migrate to Google Interactions API steps schema (May 2026) by @Sameerlite in https://github.com/BerriAI/litellm/pull/28153 * test(ui-e2e): admin key creation with a specific proxy model by @ryan-crabbe-berri in https://github.com/BerriAI/litellm/pull/28365 * fix(vertex_ai): omit function_call id on Vertex Gemini 3.5+ tool turns by @Sameerlite in https://github.com/BerriAI/litellm/pull/28324 * feat(mcp): allow native MCP OAuth support for cursor by @Sameerlite in https://github.com/BerriAI/litellm/pull/28327 * fix(interactions): never drop streamed text deltas; always emit terminal completion by @mateo-berri in https://github.com/BerriAI/litellm/pull/28394 * fix(proxy): expose Prisma idle/connect timeout + extra DB URL params by @yassin-berriai in https://github.com/BerriAI/litellm/pull/28395 * Litellm oss staging 1 by @Sameerlite in https://github.com/BerriAI/litellm/pull/28337 * fix: serialize guardrail_response to JSON in OTEL traces by @yassin-berriai in https://github.com/BerriAI/litellm/pull/28362 * chore(ci): merge dev branch by @yuneng-berri in https://github.com/BerriAI/litellm/pull/28314 * test(realtime): expect session.created as xAI realtime initial event by @yuneng-berri in https://github.com/BerriAI/litellm/pull/28424 * feat(tests): behavior-pinning harness + Key Tier-1 matrix by @yuneng-berri in https://github.com/BerriAI/litellm/pull/28321 * fix(proxy): hydrate wildcard discovery credentials (#28284) - CCI Run by @yuneng-berri in https://github.com/BerriAI/litellm/pull/28419 * Litellm oss staging 04 21 2026 2 by @Sameerlite in https://github.com/BerriAI/litellm/pull/26569 * chore(ci): merge dev branch by @yuneng-berri in https://github.com/BerriAI/litellm/pull/28290 * fix(vertex_gemma): strip `context_management` from request body by @mateo-berri in https://github.com/BerriAI/litellm/pull/28438 * fix(logging): recalculate cost after router retry failures by @milan-berri in https://github.com/BerriAI/litellm/pull/28476 * fix(otel): emit guardrail span on violation, surface status + categories by @yassin-berriai in https://github.com/BerriAI/litellm/pull/28364 * test(proxy): behavior-pinning matrix for team management endpoints by @yuneng-berri in https://github.com/BerriAI/litellm/pull/28441 * test(vertex_ai): tolerate transient 500 in google maps grounding test by @yuneng-berri in https://github.com/BerriAI/litellm/pull/28503 * fix(docker): restore npm to non_root builder image by @yuneng-berri in https://github.com/BerriAI/litellm/pull/28519 * chore(ci): bump deps by @yuneng-berri in https://github.com/BerriAI/litellm/pull/28524 * build(deps-dev): bump black to 26.3.1 and apply formatting by @yuneng-berri in https://github.com/BerriAI/litellm/pull/28525 * chore(deps): bump deps by @yuneng-berri in https://github.com/BerriAI/litellm/pull/28528 * test(e2e): forward LITELLM_LICENSE to UI e2e proxy by @ryan-crabbe-berri in https://github.com/BerriAI/litellm/pull/28398 * Add granian as a ASGI compliant web server. Provider better throughput stability, by @harish-berri in https://github.com/BerriAI/litellm/pull/26027 * Fix conflicts and UI by @Sameerlite in https://github.com/BerriAI/litellm/pull/28477 * Add error_description and hint for oauth flows by @Sameerlite in https://github.com/BerriAI/litellm/pull/28471 * feat(mcp): Add tool call and tool list support via UI for Oauth mcps by @Sameerlite in https://github.com/BerriAI/litellm/pull/28454 * feat(proxy): persist allowlisted OIDC claims in CLI SSO poll by @Sameerlite in https://github.com/BerriAI/litellm/pull/28463 * fix(responses): use OpenAI SSEDecoder for Responses API streaming by @Sameerlite in https://github.com/BerriAI/litellm/pull/28566 * Litellm oss staging 2 by @Sameerlite in https://github.com/BerriAI/litellm/pull/28582 * [internal copy of #28269] Codex cli jwt team alias by @mateo-berri in https://github.com/BerriAI/litellm/pull/28621 * fix(check_licenses): read PEP 639 license-expression metadata by @yuneng-berri in https://github.com/BerriAI/litellm/pull/28529 * test(proxy): behavior-pinning matrix for tier-2/3 key + team management endpoints by @yuneng-berri in https://github.com/BerriAI/litellm/pull/28620 * chore(test): remove dead old Playwright e2e suite by @ryan-crabbe-berri in https://github.com/BerriAI/litellm/pull/28632 * fix(sagemaker): send native Cohere embed payload to Cohere SageMaker endpoints by @milan-berri in https://github.com/BerriAI/litellm/pull/28613 * style: apply black formatting to fix lint CI (LIT-3274) (#28639) by @krrish-berri-2 in https://github.com/BerriAI/litellm/pull/28641 * fix(bedrock): decouple STS region from Bedrock aws_region_name by @milan-berri in https://github.com/BerriAI/litellm/pull/28245 * test(streaming): tolerate Vertex 429 wrapped in MidStreamFallbackError by @yuneng-berri in https://github.com/BerriAI/litellm/pull/28669 * feat(guardrails): add Microsoft Purview DLP guardrail by @Sameerlite in https://github.com/BerriAI/litellm/pull/24966 * fix(mcp): forward upstream initialize instructions on cold gateway init by @milan-berri in https://github.com/BerriAI/litellm/pull/28231 * chore(ci): promote internal staging to main by @yuneng-berri in https://github.com/BerriAI/litellm/pull/28680 * CI: copy of #25177 (OCI GenAI: embeddings, streaming/reasoning fixes, model catalog) by @mateo-berri in https://github.com/BerriAI/litellm/pull/28223 * Encrypt callback_vars in key/team metadata in DB by @Michael-RZ-Berri in https://github.com/BerriAI/litellm/pull/27141 * perf: reduce per-request and per-chunk overhead across Anthropic streaming hot paths by @yassin-berriai in https://github.com/BerriAI/litellm/pull/28289 * feat(azure): add Speech STT config support by @ishaan-berri in https://github.com/BerriAI/litellm/pull/27482 * test(proxy): phase-4 payload behavior pinning for tier-2/3 key + team management endpoints by @yuneng-berri in https://github.com/BerriAI/litellm/pull/28681 * feat(prometheus): emit per-token-type detail metrics (LIT-3220) (#28372) by @ishaan-berri in https://github.com/BerriAI/litellm/pull/28378 * fix(otel): stamp http.response.status_code on all error responses by @ryan-crabbe-berri in https://github.com/BerriAI/litellm/pull/28405 * chore(ui): build ui by @yuneng-berri in https://github.com/BerriAI/litellm/pull/28707 * fix(helm): drop main- prefix from default image tag by @yuneng-berri in https://github.com/BerriAI/litellm/pull/28710 * test(model_prices): allow audio_transcription_config in schema by @yuneng-berri in https://github.com/BerriAI/litellm/pull/28708 * chore(ci): promote internal staging to main by @yuneng-berri in https://github.com/BerriAI/litellm/pull/28709 * Patches for v1.87.0-rc.1 by @ryan-crabbe-berri in https://github.com/BerriAI/litellm/pull/28915 * chore(proxy): cherry-pick #28547 (route path-dependent call sites through get_request_route) onto v1.87.0-rc.1 patch by @yuneng-berri in https://github.com/BerriAI/litellm/pull/28919 * fix(reset_budget): cherry-pick #29358 into patch/v1.87.0rc2 by @yuneng-berri in https://github.com/BerriAI/litellm/pull/29364 * refactor(proxy/auth): cherry-pick #29343 into patch/v1.87.0rc2 by @yuneng-berri in https://github.com/BerriAI/litellm/pull/29365 **Full Changelog**: https://github.com/BerriAI/litellm/compare/v1.86.0...v1.87.0