LiteLLM v1.70.1-stable introduces broad guardrail enhancements-including Lakera v2 integration, DB management endpoints, UI control, and telemetry tracing-alongside support for Gemini Multimodal Live API, Novita AI, and Anthropic Claude 3.7 EU profiles. Additionally, it updates provider APIs such as Cohere /v2/embed and Bedrock dynamic parameters while delivering fixes for spend logging, Presidio integrations, and streaming handlers.
Engineers can leverage new capabilities like Gemini Multimodal Live API, Anthropic web search tools, the /apply_guardrail endpoint, and Cohere /v2/embed output dimensions.
📊 Product & Engineering Leads
Teams gain improved control over LLM governance via UI-based guardrail management, expanded provider support (Novita AI, EU Claude 3.7), and enhanced spend log filters.
⚙️ DevOps & Security
Operators should review OTLP standard environment variable configuration, multi-pod spend log retention settings, and the relocation of LLM Guard/Secret Detection to the enterprise package.
✨ New Features & Capabilities (5)
Added support for Gemini Multimodal Live API and Gemini audio input processing
Added Novita AI model provider support and EU Anthropic inference profiles for Claude 3.7
Introduced Nvidia NIM tool support and Anthropic web search tool integration with cost tracking
Added endpoints (/apply_guardrail, CRUD endpoints) and UI support for configuring and editing guardrails including Lakera v2
Added models import command and supported standard OTLP environment variables for configuration
⚡ Performance & Enhancements (5)
Migrated Cohere to /v2/embed, adding support for the output_dimensions parameter
Added guardrail tracing to OTEL, Arize Phoenix, Langfuse, and SpendLogs UI
Added log filtering by key hash, key alias, model, team ID, and status
Refactored Pagerduty integration and management endpoint alerts into free features
Supported multi-pod deployment configurations for SpendLogs retention cleanup
🔧 Bug Fixes & Patches (5)
Fixed Presidio guardrail integration failures that caused inference requests to return 500 errors
Fixed Ollama structured responses (#10616) and Vertex AI maximum recursion depth errors on response_format transformation
Allowed dynamic aws_region and AWS parameters for Bedrock /messages requests and restricted Bedrock tool JSON schema to accepted fields
Separated sync and async Azure client caching to prevent type mismatches and fixed custom model name calls for Azure DALL-E 3
Fixed Vertex AI Meta Llama streaming errors and captured Gemini reasoning token usage during streaming
❓ Frequently Asked Questions
Does LiteLLM v1.70.1-stable contain breaking changes?
No breaking changes are explicitly documented in this release.
What is the primary highlight of v1.70.1-stable?
The primary highlights include comprehensive guardrail features (Lakera v2 support, UI management, /apply_guardrail endpoint, and tracing across OTEL/Langfuse/Phoenix), Gemini Multimodal Live API support, and Cohere /v2/embed migration.
How should teams prepare to upgrade to v1.70.1-stable?
Teams utilizing LLM Guard or Secret Detection should note that these modules have been moved to the enterprise pip package, and teams deploying telemetry should verify their OTLP environment variable setups.
📄 View Raw Release Notes (Original Developer Log)
## What's Changed
* Handle gemini audio input by @krrishdholakia in https://github.com/BerriAI/litellm/pull/10739
* Fixed Ollama Structured Response not working #10616 by @imdigitalashish in https://github.com/BerriAI/litellm/pull/10617
* fix(factory.py): Add reasoning content handling for missing assistant… by @LouisShark in https://github.com/BerriAI/litellm/pull/10688
* [Feat] Add tools support for Nvidia NIM by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10763
* [Fix]: /messages - allow using dynamic AWS params by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10769
* fix: pass application/json for GenericAPILogger by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10772
* [Docs] Using litellm with Google ADK by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10777
* Update Nscale model providers to point to website by @OscarSavNS in https://github.com/BerriAI/litellm/pull/10764
* [Fix] Allow using dynamic aws_region with /messages on Bedrock by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10779
* [Feat] Option to force/always use the litellm proxy (#10559) (#10633) by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10773
* feat: Addded EU Anthropic Inference profile for Claude 3.7 by @wagnerjt in https://github.com/BerriAI/litellm/pull/10767
* Add new model provider Novita AI (#7582) by @krrishdholakia in https://github.com/BerriAI/litellm/pull/9527
* Support Anthropic web search tool + Add more google finish reason mapping by @krrishdholakia in https://github.com/BerriAI/litellm/pull/10785
* Fix azure dall e 3 call with custom model name + Handle `Bearer $LITELLM_API_KEY` in `x-litellm-api-key` custom header by @krrishdholakia in https://github.com/BerriAI/litellm/pull/10776
* [Refactor] Move LLM Guard, Secret Detection to Enterprise Pip packagea by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10782
* fix: URL encode OTEL_EXPORTER_OTLP_TRACES_HEADERS for Phoenix Integration by @arizedatngo in https://github.com/BerriAI/litellm/pull/10654
* [README] Add Llama API in supported providers table by @seyeong-han in https://github.com/BerriAI/litellm/pull/10802
* [Fix] Maximum Vertex Recursion Depth Reached when transforming response_format by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10798
* add ollama api base defaults by @jugaldb in https://github.com/BerriAI/litellm/pull/10805
* Add Azure gpt-4o-mini-tts by @emerzon in https://github.com/BerriAI/litellm/pull/10807
* Add Azure Cohere Embed v4 by @emerzon in https://github.com/BerriAI/litellm/pull/10806
* [Fix] Allow overriding all constants using a .env variable by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10803
* [Bug Fix] Presidio integration failing and making inference return 500 by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10197
* [Feat] Allow specifying PII Entities Config when using Presidio Guardrails by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10810
* [Bedrock] Fixes to only allow accepted fields for tool json schema by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10062
* Fix: Separate Sync/Async Azure Client Cache to Prevent Type Mismatches by @daikeren in https://github.com/BerriAI/litellm/pull/10781
* fix(litellm_logging.py): log custom headers in requester metadata by @krrishdholakia in https://github.com/BerriAI/litellm/pull/10818
* Migrate cohere to `/v2/embed` - adds support for output_dimensions param by @krrishdholakia in https://github.com/BerriAI/litellm/pull/10809
* add support to parse metadata by @jugaldb in https://github.com/BerriAI/litellm/pull/10832
* Team id + Status filter on logs by @NANDINI-star in https://github.com/BerriAI/litellm/pull/10831
* Update Groq models on model_prices_and_context_window.json by @naliotopier in https://github.com/BerriAI/litellm/pull/10077
* [Feat] Add endpoints for adding, deleting, editing guardrails in DB by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10833
* [Feat UI] Add Guardrails on LiteLLM UI by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10834
* [UI] Fixes for bulk invite users - add validation for bad inputs by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10836
* Support OTLP standard environment variables for configuration by @damienpontifex in https://github.com/BerriAI/litellm/pull/10813
* [Feat] Presidio Improvements - Allow adding presidio api base on UI, Test presidio on Test Key, fixes for running presidio hook by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10840
* patch: validate_team_org_change by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10835
* Feat add retention config by @jugaldb in https://github.com/BerriAI/litellm/pull/10815
* fix failing test typo by @jugaldb in https://github.com/BerriAI/litellm/pull/10843
* Capture Gemini reasoning tokens usage in streaming mode by @Dima-Mediator in https://github.com/BerriAI/litellm/pull/10789
* Anthropic unified web search + tool cost tracking support by @krrishdholakia in https://github.com/BerriAI/litellm/pull/10846
* avoid error `AttributeError: 'Message' object has no attribute 'audio'` by @igtm in https://github.com/BerriAI/litellm/pull/10814
* fix: bedrock-sonnet-caching-cost by @shibaboy in https://github.com/BerriAI/litellm/pull/10752
* Fix/issue 10113 embeddings use non default tokenizer by @camfarineau in https://github.com/BerriAI/litellm/pull/10629
* Add `models import` command by @msabramo in https://github.com/BerriAI/litellm/pull/10581
* Add documentation on in-memory and disk caching by @user202729 in https://github.com/BerriAI/litellm/pull/10522
* Bedrock pixtral fix by @ajac-zero in https://github.com/BerriAI/litellm/pull/10439
* added fix to resolve delete API by @jugaldb in https://github.com/BerriAI/litellm/pull/10845
* build(deps): bump undici from 6.21.1 to 6.21.3 in /docs/my-website by @dependabot in https://github.com/BerriAI/litellm/pull/10855
* [Refactor] Make Pagerduty a free feature by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10857
* [Refactor] Move enterprise_routes within litellm_enterprise by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10860
* refactor: make send_management_endpoint_alert a free feature by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10863
* [Feat - Guardrails] Expose /apply_guardrail endpoint for directly calling guardrail by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10867
* [CI/CD] Test: fix mapped tests by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10870
* [Feat] UI: Add support for Deleting Guardrail on UI by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10869
* [UI] Allow adding Bedrock, Presidio, Lakera, AIM guardrails on UI by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10874
* fix(proxy/_types.py): add missing comma for `/v2/rerank` by @krrishdholakia in https://github.com/BerriAI/litellm/pull/10861
* fix(streaming_handler.py): patch vertex ai meta llama streaming error by @krrishdholakia in https://github.com/BerriAI/litellm/pull/10878
* build(dependencies)📦: Add numpydoc to dependencies in pyproject.toml by @ericmjl in https://github.com/BerriAI/litellm/pull/10736
* [Feat]: Configure LiteLLM to Parse User Headers from Open Web UI by @damgem in https://github.com/BerriAI/litellm/pull/9802
* Feat/support anonymize in aim guardrail by @hxdror in https://github.com/BerriAI/litellm/pull/10757
* Gemini Multimodal Live API support by @krrishdholakia in https://github.com/BerriAI/litellm/pull/10841
* Feat log retention cleanup by @jugaldb in https://github.com/BerriAI/litellm/pull/10872
* Model filter added on logs tab. (#10877) by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10891
* fix: fix novita ai docs by @jasonhp in https://github.com/BerriAI/litellm/pull/10882
* [Feat] Add Tracing for guardrails in StandardLoggingPayload, Langfuse by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10890
* [UI] - Add Guardrail Tracing to LiteLLM SpendLogs by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10893
* Fix example commands in reliability.md by @wwwillchen in https://github.com/BerriAI/litellm/pull/10894
* Feat: add guardrail tracing to OTEL, Arize phoenix by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10896
* Key hash filter added by @NANDINI-star in https://github.com/BerriAI/litellm/pull/10903
* [Feat] UI: Allow clicking into a guardrail by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10904
* [Feat] Add Lakera v2 Guardrail Support by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10880
* Key alias filter on logs by @NANDINI-star in https://github.com/BerriAI/litellm/pull/10905
* [Feat] handle multi-pod deployment for SpendLogs Retention by @jugaldb in https://github.com/BerriAI/litellm/pull/10895
* [UI] Fixes for using Lakera Guardrail on LiteLLM UI by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10906
* add constant to config settings.md by @jugaldb in https://github.com/BerriAI/litellm/pull/10908
* Remove extra test file by @jugaldb in https://github.com/BerriAI/litellm/pull/10889
* [UI] Allow editing guardrails by @ishaan-jaff in https://github.com/BerriAI/litellm/pull/10907
* Handle openai gpt file data + add openai 'supports_pdf_input' to all vision models + Support bedrock tool cache pointing by @krrishdholakia in https://github.com/BerriAI/litellm/pull/10897
## New Contributors
* @imdigitalashish made their first contribution in https://github.com/BerriAI/litellm/pull/10617
* @LouisShark made their first contribution in https://github.com/BerriAI/litellm/pull/10688
* @OscarSavNS made their first contribution in https://github.com/BerriAI/litellm/pull/10764
* @arizedatngo made their first contribution in https://github.com/BerriAI/litellm/pull/10654
* @jugaldb made their first contribution in https://github.com/BerriAI/litellm/pull/10805
* @daikeren made their first contribution in https://github.com/BerriAI/litellm/pull/10781
* @naliotopier made their first contribution in https://github.com/BerriAI/litellm/pull/10077
* @damienpontifex made their first contribution in https://github.com/BerriAI/litellm/pull/10813
* @Dima-Mediator made their first contribution in https://github.com/BerriAI/litellm/pull/10789
* @igtm made their first contribution in https://github.com/BerriAI/litellm/pull/10814
* @shibaboy made their first contribution in https://github.com/BerriAI/litellm/pull/10752
* @camfarineau made their first contribution in https://github.com/BerriAI/litellm/pull/10629
* @ajac-zero made their first contribution in https://github.com/BerriAI/litellm/pull/10439
* @damgem made their first contribution in https://github.com/BerriAI/litellm/pull/9802
* @hxdror made their first contribution in https://github.com/BerriAI/litellm/pull/10757
* @wwwillchen made their first contribution in https://github.com/BerriAI/litellm/pull/10894
**Full Changelog**: https://github.com/BerriAI/litellm/compare/v1.69.0-stable...v1.70.1-stable