LiteLLM v1.52.2stable Released Nov 08, 2024
Impact Score: 4/10

LiteLLM v1.52.2 - 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-26.

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

LiteLLM v1.52.2 introduces refined error logging for Prometheus and database services alongside updated cost mapping for GPT-4o and Azure AI models. These changes improve operational observability and cost accuracy for LLM proxy users.

Who Does This Impact? (Role-Based Analysis)

💻 Software Engineers & Devs

Developers using custom error hooks should review the updated logging schema for Prometheus service failures.

📊 Product & Engineering Leads

Increased model cost accuracy and improved error reporting support more stable and cost-transparent LLM integrations.

⚙️ DevOps & Security

Ensure your monitoring dashboards account for the refined error classification provided by the updated Prometheus service hooks.

✨ New Features & Capabilities (2)

  • Enhanced logging for Prometheus service failures including error class and function name
  • Restricted DB service hook logging to DB-related failures only

⚡ Performance & Enhancements (3)

  • Updated model cost map for gpt-4o-2024-08-06, o1-preview, and o1-mini
  • Updated cost mapping for several Azure AI models
  • Added unit testing for static_methods in litellm_logging.py

❓ Frequently Asked Questions

Does LiteLLM v1.52.2 contain breaking changes?

No, there are no documented breaking changes in this release.

What is the primary highlight of v1.52.2?

The primary highlight is the improvement to observability through more granular error logging for Prometheus and database integrations, paired with updated cost mappings for the latest OpenAI and Azure models.

How should teams prepare to upgrade to v1.52.2?

Teams should verify their existing Prometheus monitoring configuration and review their model cost tracking to ensure the updated model mappings align with current usage patterns.

📄 View Raw Release Notes (Original Developer Log)
## What's Changed * chore: comment for maritalk by @nobu007 in https://github.com/BerriAI/litellm/pull/6607 * Update gpt-4o-2024-08-06, and o1-preview, o1-mini models in model cost map by @emerzon in https://github.com/BerriAI/litellm/pull/6654 * (QOL improvement) add unit testing for all static_methods in litellm_logging.py by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/6640 * (feat) log error class, function_name on prometheus service failure hook + only log DB related failures on DB service hook by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/6650 * Update several Azure AI models in model cost map by @emerzon in https://github.com/BerriAI/litellm/pull/6655 * ci(conftest.py): reset conftest.py for local_testing/ by @krrishdholakia in https://github.com/BerriAI/litellm/pull/6657 * Litellm dev 11 07 2024 by @krrishdholakia in https://github.com/BerriAI/litellm/pull/6649 ## New Contributors * @emerzon made their first contribution in https://github.com/BerriAI/litellm/pull/6654 **Full Changelog**: https://github.com/BerriAI/litellm/compare/v1.52.1...v1.52.2 ## Docker Run LiteLLM Proxy ``` docker run \ -e STORE_MODEL_IN_DB=True \ -p 4000:4000 \ ghcr.io/berriai/litellm:main-v1.52.2 ``` ### 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 | Passed ✅ | 230.0 | 251.09411961031876 | 6.087114215107422 | 0.0 | 1822 | 0 | 198.72582000004968 | 1667.4085729999888 | | Aggregated | Passed ✅ | 230.0 | 251.09411961031876 | 6.087114215107422 | 0.0 | 1822 | 0 | 198.72582000004968 | 1667.4085729999888 |