LiteLLM v1.108.17 (LTS) introduces 2 new features including Gemini sheet range options and MiniMax-H3-Image support, alongside 29 bug fixes across various AI providers. The update improves performance for end-user restriction refreshes and resolves critical stability issues with tool calls and token counting.
Review provider-specific bug fixes for OpenAI, Anthropic, and Bedrock tool calling, and update integration handling for new Gemini file ranges.
📊 Product & Engineering Leads
New image generation support for MiniMax-H3 and selective range billing for Gemini files enhance available multimodal features and cost accuracy.
⚙️ DevOps & Security
No mandatory migration actions are needed; the standalone UI image has been updated to include newer nginx and zlib versions.
✨ New Features & Capabilities (2)
Added Gemini page and sheet range options for files on chat completions
Added MiniMax-H3-Image support on /v1/images/generations and /v1/images/edits with cost tracking
⚡ Performance & Enhancements (1)
Improved end-user restriction refreshes to read only restricted customers instead of the whole end-user table
🔧 Bug Fixes & Patches (5)
Fixed streamed OpenAI tool calls reaching agents with empty arguments
Fixed chat-latest and gpt-chat-latest on OpenAI, Azure and Azure AI failing with 400 on the first prompt
Fixed Bedrock Claude tool with shared $defs stalling a worker and failing with 400
Fixed OpenAI Agents API session calls through /openai logging $0
Fixed DeepSeek V4 on /v1/messages ignoring the caller's effort
❓ Frequently Asked Questions
Does LiteLLM v1.108.17 contain breaking changes?
No, there are no documented breaking changes, and no action is required to upgrade.
What is the primary highlight of v1.108.17?
The release delivers numerous fixes for streamed tool calls, prompt caching, and provider-specific error handling across OpenAI, Bedrock, and Gemini, alongside new range-billing options for Gemini files.
How should teams prepare to upgrade to v1.108.17?
Teams can pull the latest image version or LTS tag (ghcr.io/berriai/litellm:lts) directly without requiring schema migrations or code changes.
📄 View Raw Release Notes (Original Developer Log)
> [!TIP]
> The `lts` image tag always points to the latest LTS release. Pull `ghcr.io/berriai/litellm:lts` to stay on the newest LTS patch
## Verify this release
```bash
cosign verify \
--certificate-identity https://github.com/BerriAI/project-releaser/.github/workflows/release.yml@refs/heads/main \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
ghcr.io/berriai/litellm:v1.108.17
```
Same command for `litellm-database`, `litellm-non_root` and the `docker.io/litellm/*` images
## What's new in 1.108.17 (LTS)
40 PRs. 2 added, 29 fixed, 1 improved. No action needed to upgrade
### Highlights
- **OpenAI:** Fixed streamed OpenAI tool calls reaching agents with empty arguments when OpenAI sends them only at the end (#52069, #53306)
- **Chat completions:** Fixed `chat-latest` and `gpt-chat-latest` on OpenAI, Azure and Azure AI failing with 400 on the first prompt (#51151)
- **AWS Bedrock:** Fixed a Bedrock Claude tool with shared `$defs` stalling a worker for about 30 seconds and then failing with 400 (#54118)
- **Cost tracking and pricing:** Fixed OpenAI Agents API session calls through `/openai` logging $0, so key and team budgets now apply (#53881)
- **Vertex AI and Gemini:** Added Gemini page and sheet range options for files on chat completions, so only that part is read and billed (#52611)
- **Other providers:** Added MiniMax-H3-Image on `/v1/images/generations` and `/v1/images/edits` with cost tracking (#53986)
- **Other providers:** Fixed DeepSeek V4 on `/v1/messages` ignoring the caller's effort, so Claude Code's `--effort` now applies (#52196)
- **Performance:** Improved end-user restriction refreshes to read only restricted customers instead of the whole end-user table (#51772) <sup>Also in [1.109.5](https://github.com/BerriAI/litellm/releases/tag/v1.109.5), [1.110.4](https://github.com/BerriAI/litellm/releases/tag/v1.110.4), [1.111.0](https://github.com/BerriAI/litellm/releases/tag/v1.111.0)</sup>
### All changes
<details><summary><b>OpenAI</b> (5)</summary>
- Fixed OpenAI, Azure and vLLM errors losing `param`, `type` and `code` and returning raw JSON in `message` (#51809, #53217)
- Fixed chat completions dropping `access_programs` and prompt cache fields when LiteLLM runs on OpenAI SDK 3 (#51814)
- Fixed streamed OpenAI tool calls reaching agents with empty arguments when OpenAI sends them only at the end (#52069, #53306)
- Fixed `background_options` on `/v1/responses` being dropped before reaching OpenAI (#53993)
- Fixed o3 `reasoning_effort` `minimal` and `none` returning OpenAI's 400 even with `drop_params` on (#54066)
</details>
<details><summary><b>Anthropic</b> (2)</summary>
- Fixed a malformed `thinking_blocks` on Claude requests failing with 500, now a 400 naming the field (#53762)
- Fixed failed `/v1/messages` streams logging placeholder output tokens and cost when Claude sends an error frame (#53920)
</details>
<details><summary><b>AWS Bedrock</b> (5)</summary>
- Fixed Bedrock batch retrieve and cancel reporting and saving `/v1/chat/completions` for embeddings batches (#53831)
- Fixed OpenAI SDK embeddings on Bedrock Nova 2 always failing with 400 on `encoding_format` (#53938)
- Fixed Nova Sonic realtime sessions hanging when `api_base` or the runtime endpoint is set to an empty value (#53969)
- Fixed a Bedrock Claude tool with shared `$defs` stalling a worker for about 30 seconds and then failing with 400 (#54118)
- Fixed computer and browser toolsets on Bedrock `/v1/messages` failing with 400 (#54128)
</details>
<details><summary><b>Vertex AI and Gemini</b> (4)</summary>
- Added Gemini page and sheet range options for files on chat completions, so only that part is read and billed (#52611)
- Fixed Gemini and Vertex AI answering 400 when the last user message is empty (#53947)
- Fixed Gemini embedding `video_metadata` windows billing the whole video or failing with 500, now a clear 400 (#54090)
- Fixed Gemini TTS returning WAV bytes for `pcm16` and a double WAV header on `/v1/audio/speech` (#54193)
</details>
<details><summary><b>Other providers</b> (5)</summary>
- Added MiniMax-H3-Image on `/v1/images/generations` and `/v1/images/edits` with cost tracking (#53986)
- Fixed DeepSeek V4 on `/v1/messages` ignoring the caller's effort, so Claude Code's `--effort` now applies (#52196)
- Fixed GitHub Copilot rejecting HTML and plain-text documents with 400 on that turn and every later one (#53669)
- Fixed Together AI image calls logging $0 and retired Together models missing a deprecation date (#53964)
- Fixed `nvidia_nim/` chat calls failing with 400 on `logprobs` and `top_logprobs` (#54043)
</details>
<details><summary><b>Chat completions</b> (2)</summary>
- Fixed `chat-latest` and `gpt-chat-latest` on OpenAI, Azure and Azure AI failing with 400 on the first prompt (#51151)
- Fixed Azure and hosted vLLM changing the caller's messages, so repeated Azure image requests now hit the cache (#53972)
</details>
<details><summary><b>Messages API</b> (2)</summary>
- Fixed 400s after a Gemini thinking turn on DeepSeek's Anthropic endpoint and on Claude `count_tokens` (#51793)
- Fixed `thinking` disabled, `display`, `between_tools` and `effort` being ignored on `/v1/messages` to OpenAI models (#53987)
</details>
<details><summary><b>Vector stores</b> (1)</summary>
- Fixed chat requests carrying `vector_store_ids` failing with 400 from the provider when no stores are configured (#51209)
</details>
<details><summary><b>Token counting</b> (1)</summary>
- Fixed `/utils/token_counter` and `/v1/messages/count_tokens` failing on a history with an Anthropic fallback block (#54006)
</details>
<details><summary><b>Cost tracking and pricing</b> (1)</summary>
- Fixed OpenAI Agents API session calls through `/openai` logging $0, so key and team budgets now apply (#53881)
</details>
<details><summary><b>Keys, teams and auth</b> (1)</summary>
- Fixed non-admin key owners clearing their key's `max_budget` by sending `null` to `/key/update`, now a 403 (#53978)
</details>
<details><summary><b>Deployment</b> (1)</summary>
- Fixed the standalone UI image shipping outdated nginx and zlib, now nginx 1.31.10 and zlib 1.4 (#54207)
</details>
<details><summary><b>SDK</b> (1)</summary>
- Fixed sync `messages.create(stream=True)` on `openai/` models raising `TypeError` in a plain `for` loop (#54159)
</details>
<details><summary><b>Performance</b> (1)</summary>
- Improved end-user restriction refreshes to read only restricted customers instead of the whole end-user table (#51772) <sup>Also in [1.109.5](https://github.com/BerriAI/litellm/releases/tag/v1.109.5), [1.110.4](https://github.com/BerriAI/litellm/releases/tag/v1.110.4), [1.111.0](https://github.com/BerriAI/litellm/releases/tag/v1.111.0)</sup>
</details>
---
Backport #52618 · Backport #53427 · Backport #53924 · Backport #53926 · Backport #53928 · Backport #53979 · Backport #54070 · Backport #54082 · Backport #54120 · Backport #54125 · Backport #54131 · Backport #54137 · Backport #54232 · [Full changelog](https://github.com/BerriAI/litellm/compare/v1.108.16...v1.108.17)