LiteLLM v1.58.4stable Released Jan 17, 2025
Impact Score: 6/10

LiteLLM v1.58.4 - 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.58.4'
📄 .MD
⚡ Executive Summary (TL;DR)

LiteLLM v1.58.4 introduces provider enhancements including frequency and presence penalty support for Gemini models, alongside critical security fixes and Helm chart improvements. Users benefit from better stability with Datadog observability integration, bug fixes for IBM Watsonx, and updated model support such as gemini-2.0-flash-thinking-exp.

Who Does This Impact? (Role-Based Analysis)

💻 Software Engineers & Devs

You can now leverage frequency and presence penalties for Gemini models and benefit from improved Anthropic pass-through end-user tracking.

📊 Product & Engineering Leads

Expanded support for new models like gemini-2.0-flash-thinking-exp ensures your applications can adopt cutting-edge AI capabilities faster.

⚙️ DevOps & Security

Helm charts now support securityContext, pull policies, and custom envVars on values.yaml alongside critical non-root container image fixes.

✨ New Features & Capabilities (4)

  • Add `gemini/` frequency_penalty + presence_penalty support
  • Add `gemini-2.0-flash-thinking-exp` model support
  • Add securityContext and pull policy values to migration job in Helm
  • Allow specifying envVars on values.yaml in Helm charts

⚡ Performance & Enhancements (3)

  • Improve Lunary documentation and update instructor tutorial
  • Add dd-trace-run to CI/CD pipeline and improve Datadog LLM observability integration
  • Bump uvicorn and certifi dependencies to address asyncio SSL and general stability

🔧 Bug Fixes & Patches (7)

  • Azure o1 model check fix and Vertex Anthropic headers fix
  • Fix wrong URL for internal user invitation and confusing save button label
  • Fix Anthropic pass-through end user tracking
  • Fix IBM Watsonx using ZenApiKey
  • Fix bug caused by dd-trace patching OpenAI SDK
  • Remove Hugging Face model with exposed security token
  • Add back non-root image fixes

❓ Frequently Asked Questions

Does LiteLLM v1.58.4 contain breaking changes?

No, there are no documented breaking changes in release v1.58.4, though it includes a security fix removing an exposed Hugging Face model.

What is the primary highlight of v1.58.4?

The primary highlights include frequency and presence penalty support for Gemini models, Helm chart configuration enhancements, and critical Datadog observability integration fixes.

How should teams prepare to upgrade to v1.58.4?

Teams should review the updated Helm values for securityContext and environment variables, and ensure their deployment pipelines align with the updated non-root container image fixes.

📄 View Raw Release Notes (Original Developer Log)
## What's Changed * build(pyproject.toml): bump uvicorn depedency requirement + Azure o1 model check fix + Vertex Anthropic headers fix by @krrishdholakia in https://github.com/BerriAI/litellm/pull/7773 * Add `gemini/` frequency_penalty + presence_penalty support by @krrishdholakia in https://github.com/BerriAI/litellm/pull/7776 * feat(helm): add securityContext and pull policy values to migration job by @Hexoplon in https://github.com/BerriAI/litellm/pull/7652 * fix confusing save button label by @yujonglee in https://github.com/BerriAI/litellm/pull/7778 * [integrations/lunary] Improve Lunary documentaiton by @hughcrt in https://github.com/BerriAI/litellm/pull/7770 * Fix wrong URL for internal user invitation by @yujonglee in https://github.com/BerriAI/litellm/pull/7762 * Update instructor tutorial by @Winston-503 in https://github.com/BerriAI/litellm/pull/7784 * (helm) - allow specifying envVars on values.yaml + add helm lint test by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/7789 * Fix anthropic pass-through end user tracking + add gemini-2.0-flash-thinking-exp by @krrishdholakia in https://github.com/BerriAI/litellm/pull/7772 * Add back in non root image fixes (#7781) by @krrishdholakia in https://github.com/BerriAI/litellm/pull/7795 * test: initial test to enforce all functions in user_api_key_auth.py h… by @krrishdholakia in https://github.com/BerriAI/litellm/pull/7797 * test: initial commit enforcing testing on all anthropic pass through … by @krrishdholakia in https://github.com/BerriAI/litellm/pull/7794 * build: bump certifi version - see if that fixes asyncio ssl issue on … by @krrishdholakia in https://github.com/BerriAI/litellm/pull/7800 * (datadog llm observability) - fixes + improvements for using `datadog llm observability` logging integration by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/7824 * (fix) IBM Watsonx using ZenApiKey by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/7821 * (Fix + Testing) - Add `dd-trace-run` to litellm ci/cd pipeline + fix bug caused by `dd-trace` patching OpenAI sdk by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/7820 * (security fix) - remove hf model with exposed security token by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/7810 ## New Contributors * @Winston-503 made their first contribution in https://github.com/BerriAI/litellm/pull/7784 **Full Changelog**: https://github.com/BerriAI/litellm/compare/v1.58.2...v1.58.4 ## Docker Run LiteLLM Proxy ``` docker run \ -e STORE_MODEL_IN_DB=True \ -p 4000:4000 \ ghcr.io/berriai/litellm:main-v1.58.4 ``` ### 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 ✅ | 200.0 | 237.21547618310757 | 6.133261155980474 | 0.0 | 1835 | 0 | 175.96439100003636 | 4047.4063279999655 | | Aggregated | Passed ✅ | 200.0 | 237.21547618310757 | 6.133261155980474 | 0.0 | 1835 | 0 | 175.96439100003636 | 4047.4063279999655 |