LiteLLM v1.59.6stable Released Jan 24, 2025
Impact Score: 6/10

LiteLLM v1.59.6 - 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-25.

Compatibility not verified - check source notes
$ python -m pip install 'litellm==1.59.6'
📄 .MD
⚡ Executive Summary (TL;DR)

LiteLLM v1.59.6 adds `attempted-retries` and `timeout` values to response headers, new Prometheus budget metrics, and guardrail configuration for virtual keys and teams via API and UI. Admin users can also view spend logs without storing messages or responses.

Who Does This Impact? (Role-Based Analysis)

💻 Software Engineers & Devs

Engineers can inspect the new `attempted-retries` and `timeout` response headers to troubleshoot proxy latency and retry logic.

📊 Product & Engineering Leads

Product teams can manage guardrails and spend visibility through the Admin UI without requiring message or response storage.

⚙️ DevOps & Security

DevOps teams should deploy `ghcr.io/berriai/litellm:main-v1.59.6` and confirm Prometheus collection of the new team and API key budget metrics.

✨ New Features & Capabilities (6)

  • Added `attempted-retries` and `timeout` values to response headers
  • Emitted Prometheus metrics `litellm_team_budget_reset_at_metric` and `litellm_api_key_budget_remaining_hours_metric`
  • Allowed Admin UI users to view spend logs even when not storing messages or responses
  • Allowed setting or editing guardrails on a virtual key via the UI
  • Allowed setting guardrails on a team via the API
  • Added guardrails to Team Create and Edit pages in the UI

⚡ Performance & Enhancements (2)

  • Refactored Prometheus end-to-end tests
  • Added unit tests for team and virtual key budget checks

🔧 Bug Fixes & Patches (1)

  • Fixed GCS payload truncation so payloads are no longer truncated

❓ Frequently Asked Questions

Does LiteLLM v1.59.6 contain breaking changes?

No. The release notes do not document any incompatible changes or required migration steps.

What is the primary highlight of v1.59.6?

New observability and governance features, including response headers for retries and timeouts, Prometheus budget metrics, and guardrail support for teams and virtual keys.

How should teams prepare to upgrade to v1.59.6?

Review the new response headers and Prometheus metrics, then deploy the `ghcr.io/berriai/litellm:main-v1.59.6` image; no migration is documented.

📄 View Raw Release Notes (Original Developer Log)
## What's Changed * Add `attempted-retries` and `timeout` values to response headers + more testing by @krrishdholakia in https://github.com/BerriAI/litellm/pull/7926 * Refactor prometheus e2e test by @yujonglee in https://github.com/BerriAI/litellm/pull/7919 * (Testing + Refactor) - Unit testing for team and virtual key budget checks by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/7945 * docs: fix typo by @wagnerjt in https://github.com/BerriAI/litellm/pull/7953 * (Feat) - Allow Admin UI users to view spend logs even when not storing messages / responses by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/7952 * (UI) - Set/edit guardrails on a virtual key by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/7954 * (Feat) - emit `litellm_team_budget_reset_at_metric` and `litellm_api_key_budget_remaining_hours_metric` on prometheus by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/7946 * (Feat) allow setting guardrails on a team on the API by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/7959 * (UI) Set guardrails on Team Create and Edit page by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/7963 * (GCS fix) - don't truncate payload by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/7964 * Litellm dev 01 23 2025 p2 by @krrishdholakia in https://github.com/BerriAI/litellm/pull/7962 ## New Contributors * @wagnerjt made their first contribution in https://github.com/BerriAI/litellm/pull/7953 **Full Changelog**: https://github.com/BerriAI/litellm/compare/v1.59.5...v1.59.6 ## Docker Run LiteLLM Proxy ``` docker run \ -e STORE_MODEL_IN_DB=True \ -p 4000:4000 \ ghcr.io/berriai/litellm:main-v1.59.6 ``` ### Don't want to maintain your internal proxy? get in touch 🎉 Hosted Proxy Alpha: https://calendly.com/d/4mp-gd3-k5k/litellm-1-1-onboarding-chat ## Load Test LiteLLM Proxy Results | Name | Status | Median Response Time (ms) | Average Response Time (ms) | Requests/s | Failures/s | Request Count | Failure Count | Min Response Time (ms) | Max Response Time (ms) | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | | /chat/completions | Failed ❌ | 250.0 | 302.94444351157557 | 6.065526445072595 | 0.0 | 1814 | 0 | 184.99327999995785 | 3192.1896389999915 | | Aggregated | Failed ❌ | 250.0 | 302.94444351157557 | 6.065526445072595 | 0.0 | 1814 | 0 | 184.99327999995785 | 3192.1896389999915 |