Skip to content

1.108.16 (LTS)

Choose a tag to compare

@litellm-release litellm-release released this 23 Nov 22:12
· 3314 commits to main since this release
c9a0e74

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

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.16

Same command for litellm-database, litellm-non_root and the docker.io/litellm/* images

What's new in 1.108.16 (LTS)

46 PRs. 4 added, 34 fixed, 1 changed. 2 need action

Action required

  • MCP: Set LITELLM_MCP_DCR_GATEWAY_CLIENT=true to keep automatic gateway-owned registration for new clientless DCR bridges (#53059) Also in 1.109.4, 1.110.3
  • Azure: Set api_key or AZURE_API_KEY on azure /openai/v1 deployments that relied on OPENAI_API_KEY (#51144, #53408)

Highlights

  • Responses API: Fixed Codex over ws /v1/responses failing after its first tool call on Bedrock, Azure AI and OpenRouter (#53410)
  • Other providers: Added the Perplexity Orchestrator provider (perplexity_orchestrator/) with cost tracking (#53585)
  • Other providers: Added Gradium text-to-speech on /v1/audio/speech (#53463)
  • Vertex AI and Gemini: Added gemini-decision-1 on /v1/decisions and /v1/systemone (#53696)
  • Vertex AI and Gemini: Fixed Gemini prompt caching never hitting when a conversation carries later system messages (#53635)
  • Anthropic: Fixed /v1/messages with temperature, top_p or top_k failing under anthropic-version: 2026-10-21 (#53395)
  • Anthropic: Fixed extra_body fields reaching Claude nested and failing with 400 Extra inputs are not permitted (#53411)
  • Cost tracking and pricing: Fixed DB-only models losing custom pricing after a price data reload and logging $0 spend (#53870)

All changes

Azure (2)
  • Fixed azure_ai calls that authenticate with only an Entra token failing with 400 from Foundry (#49769)
  • Fixed azure_ai chat and /v1/messages on Foundry project, resource and /openai/v1 bases failing with 4xx errors (#51144, #53408)
Anthropic (2)
  • Fixed /v1/messages with temperature, top_p or top_k failing under anthropic-version: 2026-10-21 (#53395)
  • Fixed extra_body fields reaching Claude nested and failing with 400 Extra inputs are not permitted (#53411)
AWS Bedrock (3)
  • Fixed Bedrock native chat and /v1/responses ignoring aws_bedrock_runtime_endpoint when api_base is also set (#50582)
  • Fixed a Bedrock model_id profile model failing next to a deployment that names the same profile by ARN (#53462)
  • Fixed Mistral Large 3 and Ministral 3 on Bedrock Converse answering 400 to tool_choice (#53591)
Vertex AI and Gemini (12)
  • Added gemini-decision-1 on /v1/decisions and /v1/systemone (#53696)
  • Fixed Gemini image chat returning the thought draft image next to the final one in message.images (#50709)
  • Fixed Gemini dropping const from tool and response schemas, so const fields came back empty or made up (#53415)
  • Fixed Gemini and Vertex AI silently dropping video_url content parts (#53420)
  • Fixed Vertex Gemini answering 400 to every service_tier value (#53428)
  • Fixed Gemini 3+ dropping web search when function tools are also sent (#53432)
  • Fixed Vertex image edits drawing a new picture every turn and failing with 400 on the third image turn (#53446)
  • Fixed Gemini image generation and edits ignoring size, aspect_ratio, image_size and imageConfig (#53581)
  • Fixed Anthropic SDK 2.x calls to Claude on Vertex AI /v1/messages failing with 400 over anthropic-version (#53590)
  • Fixed Gemini prompt caching never hitting when a conversation carries later system messages (#53635)
  • Fixed Gemini batch embeddings billing video and other media inputs at $0 or at the text rate (#53679)
  • Fixed n above 1 with image modalities on Vertex image models failing with an unclear error, now a clear 400 (#53752)
Other providers (6)
  • Added Gradium text-to-speech on /v1/audio/speech (#53463)
  • Added the Perplexity Orchestrator provider (perplexity_orchestrator/) with cost tracking (#53585)
  • Added Gnani transcription with Prisma v2.5 and v3 on /v1/audio/transcriptions (#53672)
  • Fixed Mistral on Vertex AI and Bedrock answering 400 to tool call ids in the conversation history (#53426)
  • Fixed a TypeError when SAP streams reasoning_content as a list of signed blocks (#53458)
  • Fixed empty or cut SageMaker and Bedrock agent streams returning 200, now a 502 so retries and fallbacks run (#53482)
Chat completions (2)
  • Fixed a custom provider stream failing with APIConnectionError: 'is_finished' when a chunk lacks a field (#53417)
  • Fixed streamed chat with n above 1 giving delta.role to only one choice (#53592)
Responses API (2)
  • Fixed Codex over ws /v1/responses failing after its first tool call on Bedrock, Azure AI and OpenRouter (#53410)
  • Fixed faked /v1/responses streams returning reasoning items that later fail with 400 invalid_encrypted_content (#53747)
Embeddings, images and audio (1)
  • Fixed audio output requests to Gemini TTS and gpt-audio on bridged endpoints returning an empty but billed 200 (#53745)
Token counting (1)
  • Fixed token counts for grok-4.3 and Azure grok-4-1-fast-non-reasoning landing 23 to 328 tokens under the bill (#53443)
MCP (2)
  • Fixed a forced hosted MCP tool_choice failing under drop_params, and Bedrock batch rows ignoring drop_params (#53697)
  • Changed gateway-owned DCR client registration to opt-in, fixing 403 oauth_principal_mismatch for shared service keys (#53059) Also in 1.109.4, 1.110.3
Guardrails (1)
  • Fixed /v1/messages guardrails dropping cache_control on Claude and Gemini aliases, which lost prompt caching (#53832)
Caching (1)
  • Fixed cache hits logging success twice on large /v1/responses prompts and on /v1/messages to chat-only models (#53465)
Cost tracking and pricing (2)
  • Fixed a cut /v1/responses stream on a bridged provider billing an estimate instead of the reported input (#53419)
  • Fixed DB-only models losing custom pricing after a price data reload and logging $0 spend (#53870)
SDK (1)
  • Fixed e.response.text being empty on Responses API and Anthropic errors raised to SDK callers (#53743)
Other (1)
  • Fixed decision calls failing with use_litellm_proxy or a litellm_proxy/ model, and Router sending them to OpenAI (#53196)

Backport #53180 · Backport #53399 · Backport #53409 · Backport #53414 · Backport #53441 · Backport #53483 · Backport #53584 · Backport #53764 · Full changelog