Skip to content

fix(gemini)!: answer 400 for an unsupported chat audio format, drop it under drop_params - #49423

Merged
mateo-berri merged 4 commits into
BerriAI:mainfrom
paveln83:litellm_gemini_chat_audio_format_400
Nov 2, 2026
Merged

mateo-berri merged 4 commits into
BerriAI:mainfrom
paveln83:litellm_gemini_chat_audio_format_400

Conversation

@paveln83

@paveln83 paveln83 commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Gemini TTS chat audio in a format the model can't produce, like mp3, crashed with a 500 even under drop_params, and one inside speech_config was ignored. Both now get a 400, and drop_params drops the format

Original

Breaking change: an unsupported audio.format on Gemini or Vertex Gemini TTS chat answers 400 instead of a 500 the router retried, and one inside audio.speech_config, in the request or a deployment's litellm_params, answers 400 instead of a 200 that ignored it. map_audio_params raises UnsupportedParamsError, not ValueError. Check deployment configs that set such a format, and clients or alerts that matched the old 500, 200, or ValueError

TLDR

Problem this solves:

  • Gemini TTS chat audio with an unsupported format answers 500, even under drop_params
  • A format inside speech_config is silently ignored

How it solves it:

  • Both raise the standard 400, and drop_params (request, deployment, or global) drops the format

User Flow

Before: a developer asking a Gemini TTS model for mp3 chat audio gets a 500

  1. They send POST http://localhost:4000/v1/chat/completions with model: gemini-3.8-flash-tts, modalities: ["audio"], audio: {"voice": "Kore", "format": "mp3"}
  2. The proxy answers 500 APIConnectionError: Unsupported audio format for Gemini TTS models: mp3
  3. The same request on a deployment with drop_params: true answers the same 500
  4. With the format inside audio.speech_config, the proxy answers 200 and ignores it

After: they get a 400 they can act on, and drop_params drops the format

  1. They send the same POST http://localhost:4000/v1/chat/completions with "format": "mp3"
  2. The proxy answers 400 UnsupportedParamsError naming the model and the format, with how to fix it
  3. The same request on a deployment with drop_params: true answers 200 with message.audio.data
  4. With the format inside audio.speech_config, the proxy answers the same 400

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have added meaningful tests
  • The handful of test files covering my change pass locally, e.g. uv run pytest tests/unit/<your_test_file>.py -v. Leave the suites (make test-unit-*, make test-unit) to CI: it finishes in ~15 minutes where a laptop takes an hour or more
  • My PR passes all required CI/CD checks (e.g., lint, schema.d.ts sync check, etc.)
  • My PR's scope is as isolated as possible; it only solves 1 specific problem
  • Every automated review on my PR's latest commit has finished, and I have addressed or replied to each of its findings before requesting a maintainer review

Delays in PR merge?

If you're seeing a delay in your PR being merged, ping the LiteLLM Team on Slack (#pr-review).

Screenshots / Proof of Fix

Each leg ran two proxies, each --num_workers 2 with no DB, against real Gemini and Vertex AI, Before at the merge base. elide_audio.py only swaps base64 audio for its first 4 bytes

config.yaml, env vars and elide_audio.py

Env vars GEMINI_API_KEY, LITELLM_MASTER_KEY, VERTEXAI_PROJECT, VERTEXAI_LOCATION=global (our default region lacks this model), GOOGLE_APPLICATION_CREDENTIALS

model_list:
  - model_name: gemini-3.8-flash-tts
    litellm_params:
      model: gemini/gemini-3.8-flash-tts
      api_key: os.environ/GEMINI_API_KEY
  - model_name: gemini-3.8-flash-tts-drop
    litellm_params:
      model: gemini/gemini-3.8-flash-tts
      api_key: os.environ/GEMINI_API_KEY
      drop_params: true
  - model_name: vertex-gemini-3.8-flash-tts
    litellm_params:
      model: vertex_ai/gemini-3.8-flash-tts
      vertex_project: os.environ/VERTEXAI_PROJECT
      vertex_location: os.environ/VERTEXAI_LOCATION
  - model_name: vertex-gemini-3.8-flash-tts-drop
    litellm_params:
      model: vertex_ai/gemini-3.8-flash-tts
      vertex_project: os.environ/VERTEXAI_PROJECT
      vertex_location: os.environ/VERTEXAI_LOCATION
      drop_params: true

  - model_name: gemini-3.8-flash-tts-audio
    litellm_params:
      model: gemini/gemini-3.8-flash-tts
      api_key: os.environ/GEMINI_API_KEY
      modalities: ["audio"]
  - model_name: gemini-3.8-flash-tts-nested-mp3
    litellm_params:
      model: gemini/gemini-3.8-flash-tts
      api_key: os.environ/GEMINI_API_KEY
      modalities: ["audio"]
      audio: {"speech_config": {"voice_name": "Kore", "format": "mp3"}}
general_settings:
  master_key: os.environ/LITELLM_MASTER_KEY

The global drop_params case used a second proxy whose config adds

litellm_settings:
  drop_params: true
import base64
import re
import sys


def elide(match: re.Match[str]) -> str:
    first = base64.b64decode(match.group(2)[:8])[:4]
    shown = first.decode() if first.isascii() and first.decode().isprintable() else first.hex(" ")
    return f'{match.group(1)}"<base64 audio elided> first 4 bytes: {shown}"'


sys.stdout.write(re.sub(r'("data":\s*)"([A-Za-z0-9+/=]{8,})"', elide, sys.stdin.read()))
Case Before cbf4e40 After 4241cf8
Gemini mp3 500 400
Gemini mp3, drop_params deployment 500 200, audio
Gemini mp3, drop_params in request 500 200, audio
Gemini mp3, global drop_params 500 200, audio
Gemini mp3 inside speech_config 200, ignored 400
Gemini format 5 500 400
Gemini pcm16 200, audio 200, audio
Gemini pcm16 streaming 200, no audio chunk 200, no audio chunk
Vertex mp3 500 400
Vertex mp3, drop_params deployment 500 200, audio
Vertex mp3, drop_params in request 500 200, audio
Vertex mp3 inside speech_config 200, ignored 400
Vertex pcm16 200, audio 200, audio
/v1/responses mp3 500 400
/v1/responses mp3 inside speech_config 200, no audio 400
Deployment config sets mp3, chat 200, ignored 400
Same deployment, /v1/messages 200, no audio 400
/v1/audio/speech mp3 400 400

Gemini mp3

Before (cbf4e40)

$ curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:25310/v1/chat/completions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"gemini-3.8-flash-tts","messages":[{"role":"user","content":"Say hello"}],"modalities":["audio"],"audio":{"voice":"Kore","format":"mp3"}}' | python3 elide_audio.py
{"error":{"message":"litellm.APIConnectionError: Unsupported audio format for Gemini TTS models: mp3. Gemini TTS models only support 'pcm16' format as they return audio data in L16 PCM format. Please set audio format to 'pcm16'.","type":"internal_server_error","param":null,"code":"500"}}
HTTP 500

After (4241cf8)

curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:29783/v1/chat/completions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"gemini-3.8-flash-tts","messages":[{"role":"user","content":"Say hello"}],"modalities":["audio"],"audio":{"voice":"Kore","format":"mp3"}}' | python3 elide_audio.py
{"error":{"message":"litellm.UnsupportedParamsError: gemini-3.8-flash-tts does not take the audio format 'mp3'. Set format to 'pcm16' or leave it out, or set drop_params to drop it.\n\nLiteLLM: model group 'gemini-3.8-flash-tts' failed with the error above. No fallback was attempted.","type":"invalid_request_error","param":null,"code":"400"}}
HTTP 400
Gemini mp3, drop_params deployment

Before (cbf4e40)

$ curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:25310/v1/chat/completions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"gemini-3.8-flash-tts-drop","messages":[{"role":"user","content":"Say hello"}],"modalities":["audio"],"audio":{"voice":"Kore","format":"mp3"}}' | python3 elide_audio.py
{"error":{"message":"litellm.APIConnectionError: Unsupported audio format for Gemini TTS models: mp3. Gemini TTS models only support 'pcm16' format as they return audio data in L16 PCM format. Please set audio format to 'pcm16'.","type":"internal_server_error","param":null,"code":"500"}}
HTTP 500

After (4241cf8)

curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:29783/v1/chat/completions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"gemini-3.8-flash-tts-drop","messages":[{"role":"user","content":"Say hello"}],"modalities":["audio"],"audio":{"voice":"Kore","format":"mp3"}}' | python3 elide_audio.py
{"id":"c2TmaufYJdWV_uMPhuSBuAU","created":1793483891,"model":"gemini-3.8-flash-tts-drop","object":"chat.completion","choices":[{"finish_reason":"stop","index":0,"message":{"role":"assistant","audio":{"id":"de5d8ac4-4638-43b8-93d0-9bf523b9b9c7","data":"<base64 audio elided> first 4 bytes: RIFF","expires_at":1793570293,"transcript":""},"images":[],"thinking_blocks":[],"content":null},"provider_specific_fields":{"native_finish_reason":"STOP"}}],"usage":{"completion_tokens":31,"prompt_tokens":3,"total_tokens":34,"completion_tokens_details":{"audio_tokens":31,"text_tokens":0},"prompt_tokens_details":{"text_tokens":3}},"vertex_ai_grounding_metadata":[],"vertex_ai_url_context_metadata":[],"vertex_ai_safety_results":[],"vertex_ai_citation_metadata":[],"service_tier":"default"}
HTTP 200
Gemini mp3, drop_params in request

Before (cbf4e40)

$ curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:25310/v1/chat/completions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"gemini-3.8-flash-tts","messages":[{"role":"user","content":"Say hello"}],"modalities":["audio"],"audio":{"voice":"Kore","format":"mp3"},"drop_params":true}' | python3 elide_audio.py
{"error":{"message":"litellm.APIConnectionError: Unsupported audio format for Gemini TTS models: mp3. Gemini TTS models only support 'pcm16' format as they return audio data in L16 PCM format. Please set audio format to 'pcm16'.","type":"internal_server_error","param":null,"code":"500"}}
HTTP 500

After (4241cf8)

curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:29783/v1/chat/completions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"gemini-3.8-flash-tts","messages":[{"role":"user","content":"Say hello"}],"modalities":["audio"],"audio":{"voice":"Kore","format":"mp3"},"drop_params":true}' | python3 elide_audio.py
{"id":"dWTmase4C9mx_PUP_9LvmQI","created":1793483893,"model":"gemini-3.8-flash-tts","object":"chat.completion","choices":[{"finish_reason":"stop","index":0,"message":{"role":"assistant","audio":{"id":"11fada74-ca0a-4443-bc90-87dc13956582","data":"<base64 audio elided> first 4 bytes: RIFF","expires_at":1793570294,"transcript":""},"images":[],"thinking_blocks":[],"content":null},"provider_specific_fields":{"native_finish_reason":"STOP"}}],"usage":{"completion_tokens":32,"prompt_tokens":3,"total_tokens":35,"completion_tokens_details":{"audio_tokens":32,"text_tokens":0},"prompt_tokens_details":{"text_tokens":3}},"vertex_ai_grounding_metadata":[],"vertex_ai_url_context_metadata":[],"vertex_ai_safety_results":[],"vertex_ai_citation_metadata":[],"service_tier":"default"}
HTTP 200
Gemini mp3, global drop_params

Before (cbf4e40)

$ curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:31419/v1/chat/completions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"gemini-3.8-flash-tts","messages":[{"role":"user","content":"Say hello"}],"modalities":["audio"],"audio":{"voice":"Kore","format":"mp3"}}' | python3 elide_audio.py
{"error":{"message":"litellm.APIConnectionError: Unsupported audio format for Gemini TTS models: mp3. Gemini TTS models only support 'pcm16' format as they return audio data in L16 PCM format. Please set audio format to 'pcm16'.","type":"internal_server_error","param":null,"code":"500"}}
HTTP 500

After (4241cf8)

curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:31498/v1/chat/completions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"gemini-3.8-flash-tts","messages":[{"role":"user","content":"Say hello"}],"modalities":["audio"],"audio":{"voice":"Kore","format":"mp3"}}' | python3 elide_audio.py
{"id":"fGTmaomeB9mx_PUP_9LvmQI","created":1793483899,"model":"gemini-3.8-flash-tts","object":"chat.completion","choices":[{"finish_reason":"stop","index":0,"message":{"role":"assistant","audio":{"id":"ee16932c-1850-418f-8213-676c90a4e55f","data":"<base64 audio elided> first 4 bytes: RIFF","expires_at":1793570301,"transcript":""},"images":[],"thinking_blocks":[],"content":null},"provider_specific_fields":{"native_finish_reason":"STOP"}}],"usage":{"completion_tokens":31,"prompt_tokens":3,"total_tokens":34,"completion_tokens_details":{"audio_tokens":31,"text_tokens":0},"prompt_tokens_details":{"text_tokens":3}},"vertex_ai_grounding_metadata":[],"vertex_ai_url_context_metadata":[],"vertex_ai_safety_results":[],"vertex_ai_citation_metadata":[],"service_tier":"default"}
HTTP 200
Gemini mp3 inside `speech_config`

Before (cbf4e40)

$ curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:25310/v1/chat/completions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"gemini-3.8-flash-tts","messages":[{"role":"user","content":"Say hello"}],"modalities":["audio"],"audio":{"speech_config":{"voice_name":"Kore","format":"mp3"}}}' | python3 elide_audio.py
{"id":"iWTmapfXGvXW_uMPup-gkAU","created":1793483913,"model":"gemini-3.8-flash-tts","object":"chat.completion","choices":[{"finish_reason":"stop","index":0,"message":{"role":"assistant","audio":{"id":"50025f07-374d-422e-b802-fe151f35f0a3","data":"<base64 audio elided> first 4 bytes: RIFF","expires_at":1793570314,"transcript":""},"images":[],"thinking_blocks":[],"content":null},"provider_specific_fields":{"native_finish_reason":"STOP"}}],"usage":{"completion_tokens":36,"prompt_tokens":3,"total_tokens":39,"completion_tokens_details":{"audio_tokens":36,"text_tokens":0},"prompt_tokens_details":{"text_tokens":3}},"vertex_ai_grounding_metadata":[],"vertex_ai_url_context_metadata":[],"vertex_ai_safety_results":[],"vertex_ai_citation_metadata":[],"service_tier":"default"}
HTTP 200

After (4241cf8)

curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:29783/v1/chat/completions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"gemini-3.8-flash-tts","messages":[{"role":"user","content":"Say hello"}],"modalities":["audio"],"audio":{"speech_config":{"voice_name":"Kore","format":"mp3"}}}' | python3 elide_audio.py
{"error":{"message":"litellm.UnsupportedParamsError: gemini-3.8-flash-tts does not take the audio format 'mp3'. Set format to 'pcm16' or leave it out, or set drop_params to drop it.\n\nLiteLLM: model group 'gemini-3.8-flash-tts' failed with the error above. No fallback was attempted.","type":"invalid_request_error","param":null,"code":"400"}}
HTTP 400
Gemini format `5`

Before (cbf4e40)

$ curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:25310/v1/chat/completions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"gemini-3.8-flash-tts","messages":[{"role":"user","content":"Say hello"}],"modalities":["audio"],"audio":{"voice":"Kore","format":5}}' | python3 elide_audio.py
{"error":{"message":"litellm.APIConnectionError: Unsupported audio format for Gemini TTS models: 5. Gemini TTS models only support 'pcm16' format as they return audio data in L16 PCM format. Please set audio format to 'pcm16'.","type":"internal_server_error","param":null,"code":"500"}}
HTTP 500

After (4241cf8)

curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:29783/v1/chat/completions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"gemini-3.8-flash-tts","messages":[{"role":"user","content":"Say hello"}],"modalities":["audio"],"audio":{"voice":"Kore","format":5}}' | python3 elide_audio.py
{"error":{"message":"litellm.UnsupportedParamsError: gemini-3.8-flash-tts does not take the audio format 5. Set format to 'pcm16' or leave it out, or set drop_params to drop it.\n\nLiteLLM: model group 'gemini-3.8-flash-tts' failed with the error above. No fallback was attempted.","type":"invalid_request_error","param":null,"code":"400"}}
HTTP 400
Gemini pcm16

Before (cbf4e40)

$ curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:25310/v1/chat/completions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"gemini-3.8-flash-tts","messages":[{"role":"user","content":"Say hello"}],"modalities":["audio"],"audio":{"voice":"Kore","format":"pcm16"}}' | python3 elide_audio.py
{"id":"hmTmarKrLb_j_uMPu9LhmQg","created":1793483910,"model":"gemini-3.8-flash-tts","object":"chat.completion","choices":[{"finish_reason":"stop","index":0,"message":{"role":"assistant","audio":{"id":"a04775b5-d3a0-4f60-8b9b-1f37ae47e5a5","data":"<base64 audio elided> first 4 bytes: RIFF","expires_at":1793570311,"transcript":""},"images":[],"thinking_blocks":[],"content":null},"provider_specific_fields":{"native_finish_reason":"STOP"}}],"usage":{"completion_tokens":31,"prompt_tokens":3,"total_tokens":34,"completion_tokens_details":{"audio_tokens":31,"text_tokens":0},"prompt_tokens_details":{"text_tokens":3}},"vertex_ai_grounding_metadata":[],"vertex_ai_url_context_metadata":[],"vertex_ai_safety_results":[],"vertex_ai_citation_metadata":[],"service_tier":"default"}
HTTP 200

After (4241cf8)

curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:29783/v1/chat/completions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"gemini-3.8-flash-tts","messages":[{"role":"user","content":"Say hello"}],"modalities":["audio"],"audio":{"voice":"Kore","format":"pcm16"}}' | python3 elide_audio.py
{"id":"d2TmavTtF4me_uMP3qj0sAc","created":1793483894,"model":"gemini-3.8-flash-tts","object":"chat.completion","choices":[{"finish_reason":"stop","index":0,"message":{"role":"assistant","audio":{"id":"d44d6056-4a03-446a-94a8-3685d2ff9cbc","data":"<base64 audio elided> first 4 bytes: RIFF","expires_at":1793570296,"transcript":""},"images":[],"thinking_blocks":[],"content":null},"provider_specific_fields":{"native_finish_reason":"STOP"}}],"usage":{"completion_tokens":29,"prompt_tokens":3,"total_tokens":32,"completion_tokens_details":{"audio_tokens":29,"text_tokens":0},"prompt_tokens_details":{"text_tokens":3}},"vertex_ai_grounding_metadata":[],"vertex_ai_url_context_metadata":[],"vertex_ai_safety_results":[],"vertex_ai_citation_metadata":[],"service_tier":"default"}
HTTP 200
Gemini pcm16 streaming

Before (cbf4e40)

$ curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:25310/v1/chat/completions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"gemini-3.8-flash-tts","messages":[{"role":"user","content":"Say hello"}],"modalities":["audio"],"audio":{"voice":"Kore","format":"pcm16"},"stream":true}' | python3 elide_audio.py > case8.out
$ grep -v '^$' case8.out | head -2; grep -v '^$' case8.out | tail -3
data: {"id":"iGTmasGlH_mo_uMPtamB2Ag","object":"chat.completion.chunk","created":1793483912,"model":"gemini-3.8-flash-tts","choices":[{"index":0,"delta":{},"finish_reason":"stop"}]}
data: [DONE]
data: {"id":"iGTmasGlH_mo_uMPtamB2Ag","object":"chat.completion.chunk","created":1793483912,"model":"gemini-3.8-flash-tts","choices":[{"index":0,"delta":{},"finish_reason":"stop"}]}
data: [DONE]
HTTP 200

After (4241cf8)

curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:29783/v1/chat/completions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"gemini-3.8-flash-tts","messages":[{"role":"user","content":"Say hello"}],"modalities":["audio"],"audio":{"voice":"Kore","format":"pcm16"},"stream":true}' | python3 elide_audio.py > case8.out
grep '^data:' case8.out | head -n 2
data: {"id":"eGTmauneLNOy_PUP1ZLd6Qc","object":"chat.completion.chunk","created":1793483897,"model":"gemini-3.8-flash-tts","choices":[{"index":0,"delta":{},"finish_reason":"stop"}]}
data: [DONE]
grep '^data:' case8.out | tail -n 2
data: {"id":"eGTmauneLNOy_PUP1ZLd6Qc","object":"chat.completion.chunk","created":1793483897,"model":"gemini-3.8-flash-tts","choices":[{"index":0,"delta":{},"finish_reason":"stop"}]}
data: [DONE]
grep '^HTTP ' case8.out
HTTP 200
Vertex mp3

Before (cbf4e40)

$ curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:25310/v1/chat/completions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"vertex-gemini-3.8-flash-tts","messages":[{"role":"user","content":"Say hello"}],"modalities":["audio"],"audio":{"voice":"Kore","format":"mp3"}}' | python3 elide_audio.py
{"error":{"message":"litellm.APIConnectionError: Unsupported audio format for Gemini TTS models: mp3. Gemini TTS models only support 'pcm16' format as they return audio data in L16 PCM format. Please set audio format to 'pcm16'.","type":"internal_server_error","param":null,"code":"500"}}
HTTP 500

After (4241cf8)

curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:29783/v1/chat/completions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"vertex-gemini-3.8-flash-tts","messages":[{"role":"user","content":"Say hello"}],"modalities":["audio"],"audio":{"voice":"Kore","format":"mp3"}}' | python3 elide_audio.py
{"error":{"message":"litellm.UnsupportedParamsError: gemini-3.8-flash-tts does not take the audio format 'mp3'. Set format to 'pcm16' or leave it out, or set drop_params to drop it.\n\nLiteLLM: model group 'vertex-gemini-3.8-flash-tts' failed with the error above. No fallback was attempted.","type":"invalid_request_error","param":null,"code":"400"}}
HTTP 400
Vertex mp3, drop_params deployment

Before (cbf4e40)

$ curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:25310/v1/chat/completions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"vertex-gemini-3.8-flash-tts-drop","messages":[{"role":"user","content":"Say hello"}],"modalities":["audio"],"audio":{"voice":"Kore","format":"mp3"}}' | python3 elide_audio.py
{"error":{"message":"litellm.APIConnectionError: Unsupported audio format for Gemini TTS models: mp3. Gemini TTS models only support 'pcm16' format as they return audio data in L16 PCM format. Please set audio format to 'pcm16'.","type":"internal_server_error","param":null,"code":"500"}}
HTTP 500

After (4241cf8)

curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:29783/v1/chat/completions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"vertex-gemini-3.8-flash-tts-drop","messages":[{"role":"user","content":"Say hello"}],"modalities":["audio"],"audio":{"voice":"Kore","format":"mp3"}}' | python3 elide_audio.py
{"id":"b2TmarOiO7v46tkPw5vggAo","created":1793483887,"model":"vertex-gemini-3.8-flash-tts-drop","object":"chat.completion","choices":[{"finish_reason":"stop","index":0,"message":{"role":"assistant","audio":{"id":"61cfe00f-b712-439c-b8e6-e62b346af527","data":"<base64 audio elided> first 4 bytes: RIFF","expires_at":1793570289,"transcript":""},"images":[],"thinking_blocks":[],"content":null},"provider_specific_fields":{"native_finish_reason":"STOP"}}],"usage":{"completion_tokens":35,"prompt_tokens":2,"total_tokens":37,"completion_tokens_details":{"audio_tokens":35,"text_tokens":0},"prompt_tokens_details":{"text_tokens":2}},"vertex_ai_grounding_metadata":[],"vertex_ai_url_context_metadata":[],"vertex_ai_safety_results":[],"vertex_ai_citation_metadata":[]}
HTTP 200
Vertex mp3, drop_params in request

Before (cbf4e40)

$ curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:25310/v1/chat/completions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"vertex-gemini-3.8-flash-tts","messages":[{"role":"user","content":"Say hello"}],"modalities":["audio"],"audio":{"voice":"Kore","format":"mp3"},"drop_params":true}' | python3 elide_audio.py
{"error":{"message":"litellm.APIConnectionError: Unsupported audio format for Gemini TTS models: mp3. Gemini TTS models only support 'pcm16' format as they return audio data in L16 PCM format. Please set audio format to 'pcm16'.","type":"internal_server_error","param":null,"code":"500"}}
HTTP 500

After (4241cf8)

curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:29783/v1/chat/completions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"vertex-gemini-3.8-flash-tts","messages":[{"role":"user","content":"Say hello"}],"modalities":["audio"],"audio":{"voice":"Kore","format":"mp3"},"drop_params":true}' | python3 elide_audio.py
{"id":"eWTmao25OOm6odAP0cGM-Qg","created":1793483897,"model":"vertex-gemini-3.8-flash-tts","object":"chat.completion","choices":[{"finish_reason":"stop","index":0,"message":{"role":"assistant","audio":{"id":"8c56356b-daf4-485b-b2b4-d0865f541de5","data":"<base64 audio elided> first 4 bytes: RIFF","expires_at":1793570299,"transcript":""},"images":[],"thinking_blocks":[],"content":null},"provider_specific_fields":{"native_finish_reason":"STOP"}}],"usage":{"completion_tokens":30,"prompt_tokens":2,"total_tokens":32,"completion_tokens_details":{"audio_tokens":30,"text_tokens":0},"prompt_tokens_details":{"text_tokens":2}},"vertex_ai_grounding_metadata":[],"vertex_ai_url_context_metadata":[],"vertex_ai_safety_results":[],"vertex_ai_citation_metadata":[]}
HTTP 200
Vertex mp3 inside `speech_config`

Before (cbf4e40)

$ curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:25310/v1/chat/completions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"vertex-gemini-3.8-flash-tts","messages":[{"role":"user","content":"Say hello"}],"modalities":["audio"],"audio":{"speech_config":{"voice_name":"Kore","format":"mp3"}}}' | python3 elide_audio.py
{"id":"i2Tmaoa4Krv46tkPw5vggAo","created":1793483915,"model":"vertex-gemini-3.8-flash-tts","object":"chat.completion","choices":[{"finish_reason":"stop","index":0,"message":{"role":"assistant","audio":{"id":"f3a2d14c-81ea-4d9f-95fe-dc9a5eaaa875","data":"<base64 audio elided> first 4 bytes: RIFF","expires_at":1793570316,"transcript":""},"images":[],"thinking_blocks":[],"content":null},"provider_specific_fields":{"native_finish_reason":"STOP"}}],"usage":{"completion_tokens":42,"prompt_tokens":2,"total_tokens":44,"completion_tokens_details":{"audio_tokens":42,"text_tokens":0},"prompt_tokens_details":{"text_tokens":2}},"vertex_ai_grounding_metadata":[],"vertex_ai_url_context_metadata":[],"vertex_ai_safety_results":[],"vertex_ai_citation_metadata":[]}
HTTP 200

After (4241cf8)

curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:29783/v1/chat/completions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"vertex-gemini-3.8-flash-tts","messages":[{"role":"user","content":"Say hello"}],"modalities":["audio"],"audio":{"speech_config":{"voice_name":"Kore","format":"mp3"}}}' | python3 elide_audio.py
{"error":{"message":"litellm.UnsupportedParamsError: gemini-3.8-flash-tts does not take the audio format 'mp3'. Set format to 'pcm16' or leave it out, or set drop_params to drop it.\n\nLiteLLM: model group 'vertex-gemini-3.8-flash-tts' failed with the error above. No fallback was attempted.","type":"invalid_request_error","param":null,"code":"400"}}
HTTP 400
Vertex pcm16

Before (cbf4e40)

$ curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:25310/v1/chat/completions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"vertex-gemini-3.8-flash-tts","messages":[{"role":"user","content":"Say hello"}],"modalities":["audio"],"audio":{"voice":"Kore","format":"pcm16"}}' | python3 elide_audio.py
{"id":"dmTmar-NHbv46tkPw5vggAo","created":1793483893,"model":"vertex-gemini-3.8-flash-tts","object":"chat.completion","choices":[{"finish_reason":"stop","index":0,"message":{"role":"assistant","audio":{"id":"56a88768-1e44-4487-b575-f76ba29c0e02","data":"<base64 audio elided> first 4 bytes: RIFF","expires_at":1793570295,"transcript":""},"images":[],"thinking_blocks":[],"content":null},"provider_specific_fields":{"native_finish_reason":"STOP"}}],"usage":{"completion_tokens":30,"prompt_tokens":2,"total_tokens":32,"completion_tokens_details":{"audio_tokens":30,"text_tokens":0},"prompt_tokens_details":{"text_tokens":2}},"vertex_ai_grounding_metadata":[],"vertex_ai_url_context_metadata":[],"vertex_ai_safety_results":[],"vertex_ai_citation_metadata":[]}
HTTP 200

After (4241cf8)

curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:29783/v1/chat/completions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"vertex-gemini-3.8-flash-tts","messages":[{"role":"user","content":"Say hello"}],"modalities":["audio"],"audio":{"voice":"Kore","format":"pcm16"}}' | python3 elide_audio.py
{"id":"cWTmasLwE_CrodAPnoLMuAU","created":1793483889,"model":"vertex-gemini-3.8-flash-tts","object":"chat.completion","choices":[{"finish_reason":"stop","index":0,"message":{"role":"assistant","audio":{"id":"6f9e5bcb-8c4f-4f91-bcb7-08a39093a0b2","data":"<base64 audio elided> first 4 bytes: RIFF","expires_at":1793570290,"transcript":""},"images":[],"thinking_blocks":[],"content":null},"provider_specific_fields":{"native_finish_reason":"STOP"}}],"usage":{"completion_tokens":29,"prompt_tokens":2,"total_tokens":31,"completion_tokens_details":{"audio_tokens":29,"text_tokens":0},"prompt_tokens_details":{"text_tokens":2}},"vertex_ai_grounding_metadata":[],"vertex_ai_url_context_metadata":[],"vertex_ai_safety_results":[],"vertex_ai_citation_metadata":[]}
HTTP 200
`/v1/responses` mp3

Before (cbf4e40)

$ curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:25310/v1/responses -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"gemini-3.8-flash-tts-audio","input":"Say hello","audio":{"voice":"Kore","format":"mp3"}}' | python3 elide_audio.py
{"error":{"message":"litellm.APIConnectionError: Unsupported audio format for Gemini TTS models: mp3. Gemini TTS models only support 'pcm16' format as they return audio data in L16 PCM format. Please set audio format to 'pcm16'.","type":"internal_server_error","param":null,"code":"500"}}
HTTP 500

After (4241cf8)

curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:29783/v1/responses -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"gemini-3.8-flash-tts-audio","input":"Say hello","audio":{"voice":"Kore","format":"mp3"}}' | python3 elide_audio.py
{"error":{"message":"litellm.UnsupportedParamsError: gemini-3.8-flash-tts does not take the audio format 'mp3'. Set format to 'pcm16' or leave it out, or set drop_params to drop it.\n\nLiteLLM: model group 'gemini-3.8-flash-tts-audio' failed with the error above. No fallback was attempted.","type":"invalid_request_error","param":null,"code":"400"}}
HTTP 400
`/v1/responses` mp3 inside `speech_config`

Before (cbf4e40)

$ curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:25310/v1/responses -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"gemini-3.8-flash-tts-audio","input":"Say hello","audio":{"speech_config":{"voice_name":"Kore","format":"mp3"}}}' | python3 elide_audio.py
{"id":"resp_zV8BT-U2TRRsuApjonX6qxI5AzRpHjH6AgqsZhUaevHtPXJ8PmZfHE3rqNl6fwY2xX9z8-dkirr7IA4iQimxBN3JVovvSR7Vu_-gkI-6auX47htAPVkMhZ4l66sVg2JZFCYuqgJiLDDWMLJtMbR-tij65SvciCv39V2SdZOP2gXwVYd4DZsB2VUTef9aG-pGVZk5p0v_ikQ3_QLlzMhxHH9brsqGsejMpS1zAWJwkn0gS2VgRIb8WKYFku4TgHcjf6dMd5pTP9ffdYdp9K1TJ_jjFx_XoIzW3Lvp7UM4W2u9PK1z2yjxrru1JRVa38Q0SLynuq1-wjO5wTzcZo3rmjU1Kb8cMEmOrQ4-Ui06yxc68nAJXG4rkFcy-wOqoBj4684vtqrIty6tS3Sjydr3Oi-qAN3eYw==","created_at":1793483938,"error":null,"incomplete_details":null,"instructions":null,"metadata":{},"model":"gemini-3.8-flash-tts-audio","object":"response","output":[],"parallel_tool_calls":false,"temperature":null,"tool_choice":"auto","tools":[],"top_p":null,"max_output_tokens":null,"previous_response_id":null,"reasoning":null,"status":"completed","text":{},"truncation":null,"usage":{"input_tokens":3,"input_tokens_details":{"audio_tokens":null,"cached_tokens":0,"cached_tokens_details":null,"image_tokens":null,"text_tokens":3,"video_tokens":null},"output_tokens":39,"output_tokens_details":{"audio_tokens":39,"reasoning_tokens":0,"text_tokens":0},"total_tokens":42,"cost":null},"user":null,"store":null}
HTTP 200

After (4241cf8)

curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:29783/v1/responses -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"gemini-3.8-flash-tts-audio","input":"Say hello","audio":{"speech_config":{"voice_name":"Kore","format":"mp3"}}}' | python3 elide_audio.py
{"error":{"message":"litellm.UnsupportedParamsError: gemini-3.8-flash-tts does not take the audio format 'mp3'. Set format to 'pcm16' or leave it out, or set drop_params to drop it.\n\nLiteLLM: model group 'gemini-3.8-flash-tts-audio' failed with the error above. No fallback was attempted.","type":"invalid_request_error","param":null,"code":"400"}}
HTTP 400
Deployment config sets mp3, chat

Before (cbf4e40)

$ curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:25310/v1/chat/completions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"gemini-3.8-flash-tts-nested-mp3","messages":[{"role":"user","content":"Say hello"}]}' | python3 elide_audio.py
{"id":"pGTmas7RMrvc_uMPrY-sgAk","created":1793483940,"model":"gemini-3.8-flash-tts-nested-mp3","object":"chat.completion","choices":[{"finish_reason":"stop","index":0,"message":{"role":"assistant","audio":{"id":"6979ea5a-b5d1-433a-8aba-58f187bf0387","data":"<base64 audio elided> first 4 bytes: RIFF","expires_at":1793570342,"transcript":""},"images":[],"thinking_blocks":[],"content":null},"provider_specific_fields":{"native_finish_reason":"STOP"}}],"usage":{"completion_tokens":35,"prompt_tokens":3,"total_tokens":38,"completion_tokens_details":{"audio_tokens":35,"text_tokens":0},"prompt_tokens_details":{"text_tokens":3}},"vertex_ai_grounding_metadata":[],"vertex_ai_url_context_metadata":[],"vertex_ai_safety_results":[],"vertex_ai_citation_metadata":[],"service_tier":"default"}
HTTP 200

After (4241cf8)

curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:29783/v1/chat/completions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"gemini-3.8-flash-tts-nested-mp3","messages":[{"role":"user","content":"Say hello"}]}' | python3 elide_audio.py
{"error":{"message":"litellm.UnsupportedParamsError: gemini-3.8-flash-tts does not take the audio format 'mp3'. Set format to 'pcm16' or leave it out, or set drop_params to drop it.\n\nLiteLLM: model group 'gemini-3.8-flash-tts-nested-mp3' failed with the error above. No fallback was attempted.","type":"invalid_request_error","param":null,"code":"400"}}
HTTP 400
Same deployment, `/v1/messages`

Before (cbf4e40)

$ curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:25310/v1/messages -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"gemini-3.8-flash-tts-nested-mp3","max_tokens":200,"messages":[{"role":"user","content":"Say hello"}]}' | python3 elide_audio.py
{"id":"pmTmaoq5D8mS_uMP4vTdgAc","type":"message","role":"assistant","model":"gemini-3.8-flash-tts-nested-mp3","stop_sequence":null,"usage":{"input_tokens":3,"output_tokens":36},"content":[],"stop_reason":"end_turn","stop_details":null}
HTTP 200

After (4241cf8)

curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:29783/v1/messages -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"gemini-3.8-flash-tts-nested-mp3","max_tokens":200,"messages":[{"role":"user","content":"Say hello"}]}' | python3 elide_audio.py
{"type":"error","error":{"type":"invalid_request_error","message":"litellm.UnsupportedParamsError: gemini-3.8-flash-tts does not take the audio format 'mp3'. Set format to 'pcm16' or leave it out, or set drop_params to drop it.\n\nLiteLLM: model group 'gemini-3.8-flash-tts-nested-mp3' failed with the error above. No fallback was attempted."}}
HTTP 400
`/v1/audio/speech` mp3

Before (cbf4e40)

$ curl -s -o speech.out -w 'HTTP %{http_code} %{content_type} %{size_download} bytes\n' http://127.0.0.1:25310/v1/audio/speech -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"gemini-3.8-flash-tts","input":"Say hello","voice":"Kore","response_format":"mp3"}'
HTTP 400 application/json 312 bytes
$ cat speech.out
{"error":{"message":"litellm.BadRequestError: Gemini TTS only produces raw PCM16 audio, so response_format='mp3' is not supported. Supported response formats: pcm, wav.\n\nLiteLLM: model group 'gemini-3.8-flash-tts' failed with the error above. No fallback was attempted.","type":null,"param":null,"code":"400"}}

After (4241cf8)

curl -s -o speech.out -w 'HTTP %{http_code} %{content_type} %{size_download} bytes\n' http://127.0.0.1:29783/v1/audio/speech -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"gemini-3.8-flash-tts","input":"Say hello","voice":"Kore","response_format":"mp3"}'
HTTP 400 application/json 312 bytes
cat speech.out
{"error":{"message":"litellm.BadRequestError: Gemini TTS only produces raw PCM16 audio, so response_format='mp3' is not supported. Supported response formats: pcm, wav.\n\nLiteLLM: model group 'gemini-3.8-flash-tts' failed with the error above. No fallback was attempted.","type":null,"param":null,"code":"400"}}

Notes from the run

  • The speech 400 has type: null, same on main

/live-pr-risk

Findings

Base cbf4e40 and head 4241cf8 ran side by side, each with one proxy on 2 workers, its own Postgres database, and forwarding recorders in front of Gemini, Vertex AI and OpenAI. All 127 cells per side were real calls, and the tree merged into main 6aa5463 matched the head apart from drift that comes from main. Every difference is this PR's 400 or its drop_params fix. Integration suites passed 135 of 135 and unit tests 1800 at the head

Breaking:

  1. An unsupported top-level audio.format (mp3, an int, a list, "", a 5 KB string, PCM16) on Gemini or Vertex Gemini TTS chat goes from 500 APIConnectionError with one router retry loop (4 to 6 s) to 400 UnsupportedParamsError with no retry (0.1 to 0.2 s). With request or deployment drop_params it goes from 500 to 200, and Gemini gets the pcm16 body byte for byte. Approved by Mateo's drop_params ruling on feat(bedrock): serve gpt-5.6+ chat completions natively by default, with chat_completions/ opt-in for gpt-oss and grok #40775
  2. A format inside audio.speech_config or audio.speechConfig goes from a 200 that dropped it to 400 with no upstream call, on Gemini and Vertex, streaming included, and on /v1/responses as well as /v1/chat/completions. Approved by the same ruling
  3. A deployment whose litellm_params set audio: {"speech_config": {"voice_name": "Kore", "format": "mp3"}} answered 200 on /v1/chat/completions, /v1/messages, /v1/responses and /v1/completions. All four now answer 400 until the format is removed or drop_params: true is set, which serves 200 with identical bodies. Approved by the same ruling
  4. GET /health on that deployment with model_info.mode: chat goes from healthy to 503. With the default audio_speech mode it stays healthy on both sides. Approved by the same ruling
  5. A POST /v1/files batch upload to a Vertex Gemini TTS deployment with a nested mp3 row goes from 200, with the format dropped in the stored object, to 400 naming the line. A row with "drop_params": true uploads the same object on both sides. Approved by the same ruling
  6. A nested mp3 on a group with an OpenAI fallback was served by Gemini. Now Gemini refuses it, the router falls back, and OpenAI answers 400 "Missing required parameter: 'audio.format'", so the client gets a 400 naming both errors. A top-level mp3 with the same fallback answers 200 through OpenAI on both sides, 1.2 s instead of 5.1 s. Approved by the same ruling

/v1/audio/speech on a non-TTS vertex_ai/gemini-3.8-flash with response_format: mp3 also goes from a 500 with a traceback in the message to a 400

Backward incompatible:

  1. VertexGeminiConfig.map_audio_params raises UnsupportedParamsError, a 400 BadRequestError that is not a ValueError, where it raised ValueError. It also raises for a nested format and drops under global litellm.drop_params. Realtime passes only {"voice": voice} and nothing in the repo catches ValueError around it. Approved by the same ruling
  2. The error contract for these requests moves from 500 internal_server_error to 400 invalid_request_error with a new message, capped at 100 characters of the format. The router stops retrying them and stops counting them toward cooldown, and their spend rows move from success to failure. Approved by the same ruling
  3. The 400 shows a non-string format as sent (5, True, {'codec': 'mp3'}), where 63b519d showed '5'. Only the text of five cells changed between the two heads, per Decision 4

Regression risk: the Rust bridge's unsupported-params path, a Vertex batch job run, and a live realtime WebSocket session were traced, not run

Not verified: global drop_params on the /live-pr-risk proxy, which the QA's proxy B covers, and the /v1/audio/speech outbound bodies, since that bridge ignores api_base, same on main

Type

🐛 Bug Fix

Decisions
  1. Unsupported value under drop_params is dropped, not refused. That's the litellm convention (o-series temperature), so the drop path sends the request with no format and Gemini returns its default audio. The alternative, a 400 even with drop_params, would make drop_params mean nothing for this field
  2. The accepted list stays exactly pcm16, matched case-sensitively, as before. Accepting wav for models that return WAV, or converting the bytes to the asked format, is a bigger change tracked separately in [Bug]: Gemini TTS on chat completions rejects audio.format "wav", though gemini-3.8 TTS models return WAV #44540, since Gemini picks the container per model and this PR only fixes the error status
  3. The chat path checks the format first, beside the existing unknown-voice-key check, so it reads the request's drop_params the same way and names the model. The shared voice mapper keeps its own check for direct SDK callers of map_audio_params, now raising the same UnsupportedParamsError instead of the old ValueError, or dropping the format under global drop_params. Keeping ValueError there was the alternative, turned down so one check has one error type. The realtime voice mapping never sends a format, so it is unaffected
  4. The 400 repeats at most 100 characters of the format, the same cap the voice-key error next to it uses. A string shows quoted ('mp3') and any other value as its repr (5, {'codec': 'mp3'}). Converting it with str() first was the alternative, turned down because it made 5 read as the string '5'
  5. The check also reads a format inside audio.speech_config. It used to pass the voice-key check and get dropped with a 200, which the drop_params convention treats as the same unsupported value
  6. No base PR. A search of open PRs found none touching this check

Caveats (if any)

Medium

  • A speech_config format other than pcm16 now 400s, wav included
    • Main ignored it with a 200, and 3.8 models happened to return WAV
    • A deployment config that sets one fails every request, chat-mode /health too
    • Fallbacks, when set, take those requests
    • Set drop_params, or send pcm16 or no format
  • Alerts matching the old 500, APIConnectionError, or ValueError stop matching

Low

Final Attestation

  • The tests check the right things, including the edge cases, and regressions in the respective real-world customer use-cases are not possible after this PR
Bugbot summary

[!NOTE]
Medium Risk
Breaking client-visible behavior: invalid formats and nested deployment configs move from 500/200 to 400, and error type/message changes may affect alerts and fallbacks.

Overview
Gemini / Vertex Gemini TTS now validates audio.format through a shared unsupported_gemini_tts_audio_format helper instead of raising ValueError inside _map_audio_params. Unsupported values (anything other than pcm16, including formats nested under speech_config) raise UnsupportedParamsError with the model name and a capped format echo, which surfaces as 400 instead of the previous 500.

The check runs on both the chat path (_map_chat_audio_params) and direct map_audio_params. When drop_params is enabled (request, deployment, or global), invalid formats are dropped and mapping continues as before for valid voice settings.

Tests were updated to expect UnsupportedParamsError, and new coverage exercises format placement, drop_params, long/non-string formats, and end-to-end BadRequestError for Gemini and Vertex TTS models.

Reviewed by Cursor Bugbot for commit 4241cf8. Bugbot is set up for automated code reviews on this repo. Configure here.

@mateo-berri mateo-berri changed the title fix(gemini): answer 400 for an unsupported chat audio format, drop it under drop_params fix(gemini)!: answer 400 for an unsupported chat audio format, drop it under drop_params Oct 31, 2026
@mateo-berri

Copy link
Copy Markdown
Contributor

@greptileai

@greptile-apps

greptile-apps Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge, with no outstanding findings

Summary

Gemini chat audio now returns 400 for unsupported formats and drops them under drop_params. The latest change shows non-string values without misleading string quotes

  • Gemini TTS requests reject unsupported audio formats or drop them.
  • Formatting changes leave the Vertex Gemini tests' behavior unchanged.

Reviews (6) · Last reviewed commit: "fix(gemini): show a non-string audio for..." · Reviewed by Greptile

@codspeed

codspeed Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

1 warning

⚠️ 1 benchmark is dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

✅ 43 untouched benchmarks


Comparing paveln83:litellm_gemini_chat_audio_format_400 (4241cf8) with main (187f936)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (6aa5463) during the generation of this report, so 187f936 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@codecov

codecov Bot commented Oct 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

… mapper callers refused

The format helper returns its UnsupportedParamsError for the caller to raise. The shared voice mapper refuses an unsupported format again for direct SDK callers, the error caps the echoed format at 100 characters, and its advice no longer claims the model only emits pcm16
@mateo-berri

Copy link
Copy Markdown
Contributor

@greptileai

1 similar comment
@mateo-berri

Copy link
Copy Markdown
Contributor

@greptileai

A format inside audio.speech_config skipped the check and was silently
dropped with a 200. It now gets the same 400 unless drop_params is set.
The 400 test also pins the model name in the chat-path message.
@mateo-berri

Copy link
Copy Markdown
Contributor

@greptileai

@mateo-berri

Copy link
Copy Markdown
Contributor

@greptileai

@mateo-berri

Copy link
Copy Markdown
Contributor

@greptileai

@mateo-berri

Copy link
Copy Markdown
Contributor

bugbot run

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 4241cf8. Configure here.

@mateo-berri mateo-berri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mateo-berri
mateo-berri merged commit 572832d into BerriAI:main Nov 2, 2026
89 checks passed
rogerrum pushed a commit to rogerrum/k8s-gitops that referenced this pull request Nov 24, 2026
…110.3 ) (#3828)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/berriai/litellm](https://images.chainguard.dev/directory/image/wolfi-base/overview) ([source](https://github.com/BerriAI/litellm)) | minor | `v1.109.1` → `1.110.3` |

---

### Release Notes

<details>
<summary>BerriAI/litellm (ghcr.io/berriai/litellm)</summary>

### [`v1.110.3`](https://github.com/BerriAI/litellm/releases/tag/v1.110.3)

[Compare Source](https://github.com/BerriAI/litellm/compare/v1.110.2...v1.110.3)

#### Verify Docker Image Signature

```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.110.3
```

#### What's Changed

- fix(mcp)!: backport gateway DCR opt-in to 1.110 ([#&#8203;53059](https://github.com/BerriAI/litellm/issues/53059)) by [@&#8203;shrey-berri](https://github.com/shrey-berri) in [#&#8203;53178](https://github.com/BerriAI/litellm/pull/53178)
- fix(proxy): backport audit log fixes to stable/1.110.x ([#&#8203;50929](https://github.com/BerriAI/litellm/issues/50929), [#&#8203;53305](https://github.com/BerriAI/litellm/issues/53305)) by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;53298](https://github.com/BerriAI/litellm/pull/53298)
- chore(release): backport [#&#8203;53171](https://github.com/BerriAI/litellm/issues/53171), [#&#8203;53210](https://github.com/BerriAI/litellm/issues/53210) to stable/1.110.x by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;53207](https://github.com/BerriAI/litellm/pull/53207)
- fix(router): fall back by the group a pick was routed to (backport [#&#8203;52510](https://github.com/BerriAI/litellm/issues/52510) to stable/1.110.x) by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;53109](https://github.com/BerriAI/litellm/pull/53109)
- chore: bump versions on stable/1.110.x by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;54010](https://github.com/BerriAI/litellm/pull/54010)

**Full Changelog**: <https://github.com/BerriAI/litellm/compare/v1.110.2...v1.110.3>

### [`v1.110.2`](https://github.com/BerriAI/litellm/releases/tag/v1.110.2)

[Compare Source](https://github.com/BerriAI/litellm/compare/v1.110.1...v1.110.2)

#### 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.110.2
```

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

#### What's new in 1.110.2

11 PRs. 8 fixed. No action needed to upgrade

##### Changes

- **Anthropic:** Fixed `temperature=1` returning 400 on Claude models that removed sampling params on Anthropic, Vertex AI and Azure AI, broken since v1.110.0-rc.2 ([#&#8203;52341](https://github.com/BerriAI/litellm/issues/52341))
- **Responses API:** Fixed streams retrying after output reached the client, which sent duplicate events and billed extra calls ([#&#8203;52461](https://github.com/BerriAI/litellm/issues/52461))
- **Responses API:** Fixed streams that fail after reasoning output restarting on a fallback group and sending a second response ([#&#8203;52616](https://github.com/BerriAI/litellm/issues/52616))
- **Caching:** Fixed GPT-6.2 system prompts missing the prompt cache on `/v1/chat/completions` and `/v1/messages` unless `store: false` ([#&#8203;52906](https://github.com/BerriAI/litellm/issues/52906)) <sup>Also in [1.106.12](https://github.com/BerriAI/litellm/releases/tag/v1.106.12), [1.108.13](https://github.com/BerriAI/litellm/releases/tag/v1.108.13), [1.109.3](https://github.com/BerriAI/litellm/releases/tag/v1.109.3)</sup>
- **Cost tracking and pricing:** Fixed forwarded Anthropic credentials on `/v1/messages` ignoring the deployment's custom prices, broken since v1.109.0 ([#&#8203;52313](https://github.com/BerriAI/litellm/issues/52313))
- **Keys, teams and auth:** Fixed JWT key mappings without `jwt_issuer` taking 5 minutes to apply when `litellm_jwtauth.issuers` is set, broken since v1.103.0 ([#&#8203;52350](https://github.com/BerriAI/litellm/issues/52350)) <sup>Also in [1.108.13](https://github.com/BerriAI/litellm/releases/tag/v1.108.13), [1.109.3](https://github.com/BerriAI/litellm/releases/tag/v1.109.3)</sup>
- **Keys, teams and auth:** Fixed `/key/info` letting a key with no user read other userless keys by hash or alias ([#&#8203;52838](https://github.com/BerriAI/litellm/issues/52838), [#&#8203;52925](https://github.com/BerriAI/litellm/issues/52925)) <sup>Also in [1.106.12](https://github.com/BerriAI/litellm/releases/tag/v1.106.12), [1.108.13](https://github.com/BerriAI/litellm/releases/tag/v1.108.13), [1.109.3](https://github.com/BerriAI/litellm/releases/tag/v1.109.3)</sup>
- **Performance:** Fixed memory growth from every finished request staying in memory until a full GC pass, broken since v1.110.0-rc.1 ([#&#8203;51888](https://github.com/BerriAI/litellm/issues/51888))

***

Backport [#&#8203;52463](https://github.com/BerriAI/litellm/issues/52463) · Backport [#&#8203;52469](https://github.com/BerriAI/litellm/issues/52469) · Backport [#&#8203;52690](https://github.com/BerriAI/litellm/issues/52690) · Backport [#&#8203;52751](https://github.com/BerriAI/litellm/issues/52751) · Backport [#&#8203;52920](https://github.com/BerriAI/litellm/issues/52920) · Backport [#&#8203;52938](https://github.com/BerriAI/litellm/issues/52938) · [Full changelog](https://github.com/BerriAI/litellm/compare/v1.110.1...v1.110.2)

### [`v1.110.1`](https://github.com/BerriAI/litellm/releases/tag/v1.110.1)

[Compare Source](https://github.com/BerriAI/litellm/compare/v1.110.0...v1.110.1)

#### 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.110.1
```

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

#### What's new in 1.110.1

3 PRs. 1 fixed, 2 changed. No action needed to upgrade

##### Changes

- **OpenAI:** Fixed GPT-6.2 prompt caching for system prompts sent to `/v1/chat/completions` or `/v1/messages` with `store: false` ([#&#8203;52658](https://github.com/BerriAI/litellm/issues/52658))
- **Deployment:** Changed the UI image to slim nginx, which drops `curl` but keeps `wget` and `nc` ([#&#8203;52595](https://github.com/BerriAI/litellm/issues/52595))
- **Deployment:** Changed the Docker images to a newer Wolfi base image ([#&#8203;52749](https://github.com/BerriAI/litellm/issues/52749))

***

[Full changelog](https://github.com/BerriAI/litellm/compare/v1.110.0...v1.110.1)

### [`v1.110.0`](https://github.com/BerriAI/litellm/releases/tag/v1.110.0)

[Compare Source](https://github.com/BerriAI/litellm/compare/v1.109.4...v1.110.0)

#### Verify Docker Image Signature

```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.110.0
```

#### What's Changed

- fix(gemini)!: answer 400 for an unsupported chat audio format, drop it under drop_params by [@&#8203;paveln83](https://github.com/paveln83) in [#&#8203;49423](https://github.com/BerriAI/litellm/pull/49423)
- fix(router): keep encrypted reasoning when a fallback hops between same-key deployments with no api_base by [@&#8203;tessellark](https://github.com/tessellark) in [#&#8203;49396](https://github.com/BerriAI/litellm/pull/49396)
- fix(anthropic)!: sync the beta header allowlist with what anthropic, vertex_ai, and azure_ai accept by [@&#8203;tavren27](https://github.com/tavren27) in [#&#8203;49409](https://github.com/BerriAI/litellm/pull/49409)
- fix(responses): serialize sequence_number on every bridged streaming event by [@&#8203;kaust1495](https://github.com/kaust1495) in [#&#8203;44944](https://github.com/BerriAI/litellm/pull/44944)
- fix(proxy): make /update/sso_settings a true PATCH and send only changed SSO fields from the UI by [@&#8203;jesus-berri](https://github.com/jesus-berri) in [#&#8203;49527](https://github.com/BerriAI/litellm/pull/49527)
- test(integration): fix four flaky integration tests by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;49554](https://github.com/BerriAI/litellm/pull/49554)
- fix(anthropic): stream azure_ai natively on an Azure OpenAI host on /v1/messages by [@&#8203;mika-lt](https://github.com/mika-lt) in [#&#8203;49216](https://github.com/BerriAI/litellm/pull/49216)
- fix(proxy): check the model in every OpenAI websocket passthrough frame by [@&#8203;zoveki](https://github.com/zoveki) in [#&#8203;48979](https://github.com/BerriAI/litellm/pull/48979)
- fix(proxy): keep provider fields on streamed chat completion chunks by [@&#8203;quietjules](https://github.com/quietjules) in [#&#8203;49398](https://github.com/BerriAI/litellm/pull/49398)
- fix(providers): trim prompt_cache_breakpoint to what each API takes under drop_params by [@&#8203;tavren27](https://github.com/tavren27) in [#&#8203;49064](https://github.com/BerriAI/litellm/pull/49064)
- fix(bedrock): price Web Search on the GPT-5.4 and later Mantle rows and the GovCloud West Mantle rows by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;49687](https://github.com/BerriAI/litellm/pull/49687)
- fix(model-catalog): declare the tool and Responses token count framing keys by [@&#8203;tavren27](https://github.com/tavren27) in [#&#8203;49683](https://github.com/BerriAI/litellm/pull/49683)
- fix(proxy): count the context_management edits /v1/messages applies on every bridged provider by [@&#8203;tessellark](https://github.com/tessellark) in [#&#8203;49234](https://github.com/BerriAI/litellm/pull/49234)
- fix(fireworks): keep developer items in place for models that accept a later system message by [@&#8203;tessellark](https://github.com/tessellark) in [#&#8203;49399](https://github.com/BerriAI/litellm/pull/49399)
- fix(databricks): join plain text blocks for non-Claude json_object requests by [@&#8203;zoveki](https://github.com/zoveki) in [#&#8203;49385](https://github.com/BerriAI/litellm/pull/49385)
- test(integration): repair stale contract fixtures by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;49700](https://github.com/BerriAI/litellm/pull/49700)
- fix(bedrock)!: give Invoke and Mantle Claude the model's own default max_tokens by [@&#8203;zoveki](https://github.com/zoveki) in [#&#8203;49692](https://github.com/BerriAI/litellm/pull/49692)
- fix(count_tokens): count grok-4-1, grok-4.3 and DeepSeek V4.1 tool requests the way their hosts bill them by [@&#8203;tavren27](https://github.com/tavren27) in [#&#8203;49074](https://github.com/BerriAI/litellm/pull/49074)
- fix(cohere): map Cohere v2 finish_reason on non-streaming chat responses by [@&#8203;jesus-berri](https://github.com/jesus-berri) in [#&#8203;49529](https://github.com/BerriAI/litellm/pull/49529)
- test(integration): align remaining release qualification checks by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;49714](https://github.com/BerriAI/litellm/pull/49714)
- fix(prometheus): retain deployment attribution on proxy failures by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;49717](https://github.com/BerriAI/litellm/pull/49717)
- test(integration): isolate stranger batch authorization from the batch-cost poller by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;49522](https://github.com/BerriAI/litellm/pull/49522)
- fix(mcp): answer 400 for a hosted MCP tool a translated route cannot run, drop it under drop_params by [@&#8203;simonp9](https://github.com/simonp9) in [#&#8203;48931](https://github.com/BerriAI/litellm/pull/48931)
- feat(hosted_vllm)!: keep vLLM's stop_reason and token_ids on chat choices and stream chunks by [@&#8203;PrabalParihar](https://github.com/PrabalParihar) in [#&#8203;48393](https://github.com/BerriAI/litellm/pull/48393)
- feat(proxy)!: honor model_info.max_input_tokens in the Codex catalog for stock models by [@&#8203;tessellark](https://github.com/tessellark) in [#&#8203;49701](https://github.com/BerriAI/litellm/pull/49701)
- ci: remove workflows whose secrets are dead by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;49722](https://github.com/BerriAI/litellm/pull/49722)
- test(integration): repair agent reads and bulk deletion setup by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;49719](https://github.com/BerriAI/litellm/pull/49719)
- test(e2e): share the coding-CLI harness between suites by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;49370](https://github.com/BerriAI/litellm/pull/49370)
- feat(model_info): add supports_continuation capability flag for Gemini long decode continuation by [@&#8203;jesus-berri](https://github.com/jesus-berri) in [#&#8203;49500](https://github.com/BerriAI/litellm/pull/49500)
- fix(spend)!: save streamed /v1/responses spend rows under the encrypted resp\_ id the client received by [@&#8203;simonp9](https://github.com/simonp9) in [#&#8203;49493](https://github.com/BerriAI/litellm/pull/49493)
- fix(cost): add deepgram/streaming/nova-3-medical and update stale Nova-3 streaming rates by [@&#8203;jesus-berri](https://github.com/jesus-berri) in [#&#8203;49733](https://github.com/BerriAI/litellm/pull/49733)
- build(deps): allow huggingface-hub 2.x by [@&#8203;davanstrien](https://github.com/davanstrien) in [#&#8203;49056](https://github.com/BerriAI/litellm/pull/49056)
- fix(proxy): charge budget windows when the cached key or team expired before the request ended by [@&#8203;etiennechabert](https://github.com/etiennechabert) in [#&#8203;47608](https://github.com/BerriAI/litellm/pull/47608)
- fix(proxy)!: ignore stored general_settings keys no settings API manages by [@&#8203;paveln83](https://github.com/paveln83) in [#&#8203;48967](https://github.com/BerriAI/litellm/pull/48967)
- fix(bedrock): reserve DeepSeek V3.2 output capacity and date GovCloud West Llama 3 by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;49732](https://github.com/BerriAI/litellm/pull/49732)
- test(gemini): assert vertex lists on content chunks by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;49734](https://github.com/BerriAI/litellm/pull/49734)
- fix(model-catalog): declare the thinking_on_by_default key by [@&#8203;tavren27](https://github.com/tavren27) in [#&#8203;49720](https://github.com/BerriAI/litellm/pull/49720)
- fix(ui): make the off state of switches visible in light theme by [@&#8203;shrey-berri](https://github.com/shrey-berri) in [#&#8203;49718](https://github.com/BerriAI/litellm/pull/49718)
- fix(proxy): preserve DB settings during config reload by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;49735](https://github.com/BerriAI/litellm/pull/49735)
- refactor(ui): move MCP text onto i18n by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;49473](https://github.com/BerriAI/litellm/pull/49473)
- refactor(ui): move guardrails text onto i18n by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;49524](https://github.com/BerriAI/litellm/pull/49524)
- refactor(ui): move agents and knowledge text onto i18n by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;49530](https://github.com/BerriAI/litellm/pull/49530)
- fix(proxy): log each endpoint's own call type on failed audio, moderation, image, and rerank spend rows by [@&#8203;paveln83](https://github.com/paveln83) in [#&#8203;49684](https://github.com/BerriAI/litellm/pull/49684)
- refactor(ui): move admin and settings text onto i18n by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;49546](https://github.com/BerriAI/litellm/pull/49546)
- fix(mcp): answer bare OPTIONS on MCP routes without running LiteLLM auth by [@&#8203;jesus-berri](https://github.com/jesus-berri) in [#&#8203;49497](https://github.com/BerriAI/litellm/pull/49497)
- fix(managed_files): keep the upload the managed id encodes when two target models share a deployment by [@&#8203;quietjules](https://github.com/quietjules) in [#&#8203;49420](https://github.com/BerriAI/litellm/pull/49420)
- test(integration): look up streamed Responses spend rows by the client-facing id by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;49752](https://github.com/BerriAI/litellm/pull/49752)
- fix(gemini): resend once with the placeholder signature when the other backend rejects a replayed thought signature by [@&#8203;tavren27](https://github.com/tavren27) in [#&#8203;49697](https://github.com/BerriAI/litellm/pull/49697)
- fix(vertex_ai)!: map Anthropic context overflow errors by [@&#8203;mgeorgaklis](https://github.com/mgeorgaklis) in [#&#8203;36963](https://github.com/BerriAI/litellm/pull/36963)
- test(e2e): drive the Codex CLI through LiteLLM, command round trip by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;49374](https://github.com/BerriAI/litellm/pull/49374)
- test(e2e): add Codex file edit, long session and auto-compaction rows through LiteLLM by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;49386](https://github.com/BerriAI/litellm/pull/49386)
- fix(anthropic_endpoints)!: return Anthropic error envelopes on /v1/messages auth failures by [@&#8203;albertoperdomo2](https://github.com/albertoperdomo2) in [#&#8203;48466](https://github.com/BerriAI/litellm/pull/48466)
- feat(anthropic): pick the beta allowlist row per deployment and surface input_transformations by [@&#8203;mika-lt](https://github.com/mika-lt) in [#&#8203;49689](https://github.com/BerriAI/litellm/pull/49689)
- fix(bedrock): send native structured output for json_schema on Claude models that cannot force a tool by [@&#8203;tavren27](https://github.com/tavren27) in [#&#8203;49703](https://github.com/BerriAI/litellm/pull/49703)
- test(integration): repair release qualification timing and labels by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;49737](https://github.com/BerriAI/litellm/pull/49737)
- fix(tool_choice): accept OpenAI allowed_tools on chat completions and flatten it for the Responses bridge by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;49043](https://github.com/BerriAI/litellm/pull/49043)
- fix(cost-map): give the bare gpt-4o, gpt-4o-mini, gpt-4.1 and gpt-4.1-mini aliases their 2027-01-14 shutdown date by [@&#8203;zoveki](https://github.com/zoveki) in [#&#8203;49707](https://github.com/BerriAI/litellm/pull/49707)
- fix(responses)!: authorize and decode comparison response IDs by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;49402](https://github.com/BerriAI/litellm/pull/49402)
- fix(spend): bill web search interception follow-ups once under the outer request by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;49762](https://github.com/BerriAI/litellm/pull/49762)
- fix(vllm): list hosted_vllm wildcard models when the server has no api key by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;40066](https://github.com/BerriAI/litellm/pull/40066)
- feat(decisions): add Parallel AI web-grounded decisions by [@&#8203;devin-gupta](https://github.com/devin-gupta) in [#&#8203;49188](https://github.com/BerriAI/litellm/pull/49188)
- test(messages): add rust vs python messages parity characterization suite by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;49610](https://github.com/BerriAI/litellm/pull/49610)
- fix(messages): make rust messages copy python messages behaviour by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;49611](https://github.com/BerriAI/litellm/pull/49611)
- feat(videos): serve custom_provider_map BaseVideoConfig providers on /v1/videos by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;49785](https://github.com/BerriAI/litellm/pull/49785)
- test(bedrock): assert native structured output when the model rejects forced tools by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;49799](https://github.com/BerriAI/litellm/pull/49799)
- test(spend): expect the Anthropic budget envelope on a broken messages stream by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;49800](https://github.com/BerriAI/litellm/pull/49800)
- fix(router)!: scope context fallback precedence to the requested group by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;49779](https://github.com/BerriAI/litellm/pull/49779)
- docs: preserve author review when updating PR summaries by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;49803](https://github.com/BerriAI/litellm/pull/49803)
- fix(embeddings): honor the caller's timeout on Cohere sync and HuggingFace embedding requests by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;48593](https://github.com/BerriAI/litellm/pull/48593)
- fix(cost-map): price Mistral Large 4 at its current list price by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;49814](https://github.com/BerriAI/litellm/pull/49814)
- fix(anthropic): send an https PDF image_url to Claude as a document by [@&#8203;tessellark](https://github.com/tessellark) in [#&#8203;49708](https://github.com/BerriAI/litellm/pull/49708)
- feat(realtime)!: support latest OpenAI audio models by [@&#8203;emerzon](https://github.com/emerzon) in [#&#8203;35600](https://github.com/BerriAI/litellm/pull/35600)
- fix(cache_control)!: keep one deployment's prompt-cache opt-in from reaching siblings on the same model by [@&#8203;tessellark](https://github.com/tessellark) in [#&#8203;49685](https://github.com/BerriAI/litellm/pull/49685)
- fix(bedrock)!: fail a Nova Sonic realtime session whose Bedrock stream drops instead of closing 1000 by [@&#8203;norkelbyte](https://github.com/norkelbyte) in [#&#8203;49170](https://github.com/BerriAI/litellm/pull/49170)
- fix(azure_ai): keep azure_ad_token out of the request body by [@&#8203;tavren27](https://github.com/tavren27) in [#&#8203;49769](https://github.com/BerriAI/litellm/pull/49769)
- fix(typesafe): mark jev-latest as answering Box questions now that it points to Jev 1.14 by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;49835](https://github.com/BerriAI/litellm/pull/49835)
- fix(proxy): let a config license unlock enterprise settings and spell "environment" right in license errors by [@&#8203;paveln83](https://github.com/paveln83) in [#&#8203;49745](https://github.com/BerriAI/litellm/pull/49745)
- fix(logging): keep the caller's call_type when chat completions are bridged to the Responses API by [@&#8203;zoveki](https://github.com/zoveki) in [#&#8203;49710](https://github.com/BerriAI/litellm/pull/49710)
- fix(anthropic)!: carry prompt_cache_breakpoint to cache_control on chat completions to Claude by [@&#8203;zoveki](https://github.com/zoveki) in [#&#8203;49783](https://github.com/BerriAI/litellm/pull/49783)
- fix(proxy): list slash-less wildcard groups like claude-\* on /v1/models and /model/info by [@&#8203;tessellark](https://github.com/tessellark) in [#&#8203;49832](https://github.com/BerriAI/litellm/pull/49832)
- fix(gemini): lower the gemini-3.5-flash-lite batch cache price and date the gemini-2.5-pro and 2.5-flash shutdown by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;49871](https://github.com/BerriAI/litellm/pull/49871)
- fix(vertex-ai): drop batch prices from gemini-robotics-er-2-preview by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;49895](https://github.com/BerriAI/litellm/pull/49895)
- fix(spend): read only the newest rows when paging sessions by [@&#8203;shrey-berri](https://github.com/shrey-berri) in [#&#8203;48886](https://github.com/BerriAI/litellm/pull/48886)
- fix(model_prices): consolidate verified provider metadata and pricing by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;49361](https://github.com/BerriAI/litellm/pull/49361)
- feat(model-catalog): read successor_model, the provider's recommended replacement for a deprecating row by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;49791](https://github.com/BerriAI/litellm/pull/49791)
- refactor(ui): move teams, users and orgs text onto i18n by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;49484](https://github.com/BerriAI/litellm/pull/49484)
- fix(proxy): defer optional Prisma imports in SSO settings by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;49771](https://github.com/BerriAI/litellm/pull/49771)
- fix(e2e): restore main qualification across providers and UI by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;49763](https://github.com/BerriAI/litellm/pull/49763)
- fix(proxy): omit cost headers for unpriced responses by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;49467](https://github.com/BerriAI/litellm/pull/49467)
- feat(cost-map): record the provider's recommended replacement as successor_model on deprecating rows and report it from /model/deprecations by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;49789](https://github.com/BerriAI/litellm/pull/49789)
- revert(bedrock): restore STS identity checks before [#&#8203;49763](https://github.com/BerriAI/litellm/issues/49763) by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;49939](https://github.com/BerriAI/litellm/pull/49939)
- feat(ui): show user names instead of raw ids on detail pages by [@&#8203;jesus-berri](https://github.com/jesus-berri) in [#&#8203;47181](https://github.com/BerriAI/litellm/pull/47181)
- fix(proxy): cancel /team/spend/by_user in Postgres after 30s by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;49922](https://github.com/BerriAI/litellm/pull/49922)
- fix(rate-limit): estimate embedding image and audio data URIs as media in TPM pre-call checks by [@&#8203;norkelbyte](https://github.com/norkelbyte) in [#&#8203;49831](https://github.com/BerriAI/litellm/pull/49831)
- feat(model-catalog): read deprecation_source, the provider page or feed a row's deprecation_date was read from by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;49955](https://github.com/BerriAI/litellm/pull/49955)
- feat(model-catalog): add fedramp_uplift_multiplier by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;49950](https://github.com/BerriAI/litellm/pull/49950)
- feat(proxy): add general_settings.fips_mode startup gate by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;48600](https://github.com/BerriAI/litellm/pull/48600)
- feat(ui): rebuild the command palette on shadcn Command by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;49528](https://github.com/BerriAI/litellm/pull/49528)
- test(mcp): hold the progress test's upstream notification acks until they are dispatched by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;49967](https://github.com/BerriAI/litellm/pull/49967)
- feat(cost-map): record deprecation_source on every dated row that has a known provider notice by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;49968](https://github.com/BerriAI/litellm/pull/49968)
- chore(blog): refresh the bundled blog posts backup with the latest 50 posts from the docs RSS feed by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;49971](https://github.com/BerriAI/litellm/pull/49971)
- fix(main)!: carry the full per-call price entry on the logging object instead of writing litellm.model_cost by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;49532](https://github.com/BerriAI/litellm/pull/49532)
- fix(vertex-ai): sync tier prices and retirement floors by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;49964](https://github.com/BerriAI/litellm/pull/49964)
- fix(proxy): cancel the Admin UI's raw spend-log reads in Postgres after 30s by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;49965](https://github.com/BerriAI/litellm/pull/49965)
- feat(proxy): configure the request header buffer size by [@&#8203;mrinal-berri](https://github.com/mrinal-berri) in [#&#8203;49883](https://github.com/BerriAI/litellm/pull/49883)
- fix(router): keep a deployment's token limits off the shared backend cost map key by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;49952](https://github.com/BerriAI/litellm/pull/49952)
- fix(credentials): preserve stored info when patching credentials by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;49919](https://github.com/BerriAI/litellm/pull/49919)
- feat: add Wally as an OpenAI-compatible provider by [@&#8203;adityabatra072](https://github.com/adityabatra072) in [#&#8203;45662](https://github.com/BerriAI/litellm/pull/45662)
- chore(cost-map): remove the 52 rows whose provider retired them before 2026 by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;49974](https://github.com/BerriAI/litellm/pull/49974)
- feat(auth): add link-only JWT mapping and remove route eligibility filtering by [@&#8203;mrinal-berri](https://github.com/mrinal-berri) in [#&#8203;49956](https://github.com/BerriAI/litellm/pull/49956)
- fix(bedrock): map token counting on the alias Claude Sonnet 4.5 and Haiku 4.5 rows to bedrock-runtime by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;49981](https://github.com/BerriAI/litellm/pull/49981)
- fix(ui): send only shown SSO fields when editing, and keep env-row SSO values behind a blank stored value by [@&#8203;jesus-berri](https://github.com/jesus-berri) in [#&#8203;49973](https://github.com/BerriAI/litellm/pull/49973)
- ci: run the OSV scan on rc branches by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;49987](https://github.com/BerriAI/litellm/pull/49987)
- fix(anthropic): answer an upstream Anthropic 529 as 529 overloaded_error on /v1/messages by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;46063](https://github.com/BerriAI/litellm/pull/46063)
- fix(agentic)!: surface a failed agentic follow-up call instead of the pre-loop tool call by [@&#8203;tavren27](https://github.com/tavren27) in [#&#8203;49227](https://github.com/BerriAI/litellm/pull/49227)
- feat(ui): rebuild the public AI Hub as a searchable list with a details pane by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;49496](https://github.com/BerriAI/litellm/pull/49496)
- feat(mcp): add an opt-in per-server setting to skip MCP tool output validation by [@&#8203;shrey-berri](https://github.com/shrey-berri) in [#&#8203;49961](https://github.com/BerriAI/litellm/pull/49961)
- refactor(cache): remove experimental Redis and v2 caches by [@&#8203;yujonglee-berri](https://github.com/yujonglee-berri) in [#&#8203;50005](https://github.com/BerriAI/litellm/pull/50005)
- test(spend): give the session pages EXPLAIN double the read transaction spend log reads now use by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;49996](https://github.com/BerriAI/litellm/pull/49996)
- test(responses): keep the background status poller out of the cancel wire test by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50002](https://github.com/BerriAI/litellm/pull/50002)
- fix(cost-map): add successor_model to seven retiring together_ai rows by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50026](https://github.com/BerriAI/litellm/pull/50026)
- feat(ui): redesign the dashboard top bar and give Aria its own page by [@&#8203;moe-berri](https://github.com/moe-berri) in [#&#8203;50009](https://github.com/BerriAI/litellm/pull/50009)
- feat(skills): upload local skill ZIPs from the dashboard by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;50008](https://github.com/BerriAI/litellm/pull/50008)
- refactor: clean up fresh tech debt in proxy auth reads, chatgpt credential forwarding, messages drop_params reads, router context signatures and spend log reads by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;46643](https://github.com/BerriAI/litellm/pull/46643)
- chore(azure): cite ada retirement schedule by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50044](https://github.com/BerriAI/litellm/pull/50044)
- chore(proxy): use neutral example names for baggage tag mappings by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;50011](https://github.com/BerriAI/litellm/pull/50011)
- chore(cost-map): rolling registry sync for xAI, Fireworks, Azure and Gemini by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50028](https://github.com/BerriAI/litellm/pull/50028)
- fix(gemini): point gemini-2.5-pro and gemini-2.5-flash at the models Google reroutes them to by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50064](https://github.com/BerriAI/litellm/pull/50064)
- feat(cost-map): add together_ai/moonshotai/Kimi-K3.1-Pro from the Together models API by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50069](https://github.com/BerriAI/litellm/pull/50069)
- feat(openai): bill gov.api.openai.com FedRAMP endpoint with 1.1x uplift by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;49951](https://github.com/BerriAI/litellm/pull/49951)
- test(e2e): retire the quiet_stack lock and batch the claude_code model registration by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;49984](https://github.com/BerriAI/litellm/pull/49984)
- fix(logging): don't leak redacted reasoning via provider_specific_fields by [@&#8203;alchemicjon](https://github.com/alchemicjon) in [#&#8203;47398](https://github.com/BerriAI/litellm/pull/47398)
- refactor: replace accounting event scaffolding with SpendLogs projection by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;49843](https://github.com/BerriAI/litellm/pull/49843)
- test(perf): remove the database_upgrade_5rps e2e case and its harness tests by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;50076](https://github.com/BerriAI/litellm/pull/50076)
- feat(decisions): add EmpirioLabs AI as a decisions provider by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;49977](https://github.com/BerriAI/litellm/pull/49977)
- fix(router): stamp the failed deployment on every endpoint's attempt by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;49941](https://github.com/BerriAI/litellm/pull/49941)
- refactor(ui): move keys, projects and cost text onto i18n by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;49994](https://github.com/BerriAI/litellm/pull/49994)
- refactor(ui): move logs and usage text onto i18n by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;49992](https://github.com/BerriAI/litellm/pull/49992)
- refactor(ui): move playground and chat text onto i18n by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;49991](https://github.com/BerriAI/litellm/pull/49991)
- test(integration): poll for the cached JWT rejection sentinel instead of a single Redis read by [@&#8203;mrinal-berri](https://github.com/mrinal-berri) in [#&#8203;50014](https://github.com/BerriAI/litellm/pull/50014)
- ci: run the OSV scan and unit tests on stable, rc and lts branches by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;50086](https://github.com/BerriAI/litellm/pull/50086)
- feat: update EmpirioLabs models in model_prices_and_context_window\.json by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;49980](https://github.com/BerriAI/litellm/pull/49980)
- fix(proxy): charge a video's provider-reported cost once, on the first poll that sees it completed by [@&#8203;tessellark](https://github.com/tessellark) in [#&#8203;49824](https://github.com/BerriAI/litellm/pull/49824)
- chore(cost-map): add fireworks kimi k3.1 pro serverless pricing by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50095](https://github.com/BerriAI/litellm/pull/50095)
- fix(guardrails)!: check Anthropic and Responses request tools in tool_permission pre_call by [@&#8203;meryemsakin](https://github.com/meryemsakin) in [#&#8203;41011](https://github.com/BerriAI/litellm/pull/41011)
- fix(azure)!: answer 401 when Entra rejects the deployment's credential by [@&#8203;zoveki](https://github.com/zoveki) in [#&#8203;49863](https://github.com/BerriAI/litellm/pull/49863)
- feat(cost-map): add baseten Kimi-K3.1-Pro by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50093](https://github.com/BerriAI/litellm/pull/50093)
- test(observability): reserve sink port throughout outage by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50100](https://github.com/BerriAI/litellm/pull/50100)
- chore(databricks): add retirement successors and kimi-k2-7 retirement date from the Databricks retired models page by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50094](https://github.com/BerriAI/litellm/pull/50094)
- chore(cost-map): openai context fixes, azure gpt-6 flex pricing, bedrock govcloud and gmi rows by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50082](https://github.com/BerriAI/litellm/pull/50082)
- fix(responses): keep the system prompt in input for json_object on the chat to responses bridge by [@&#8203;mrinal-berri](https://github.com/mrinal-berri) in [#&#8203;49957](https://github.com/BerriAI/litellm/pull/49957)
- feat(proxy): authenticate billing metrics with a cognito bearer token by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;49852](https://github.com/BerriAI/litellm/pull/49852)
- test(skills): drop the archive rejection test whose zip-byte ids differ across xdist workers by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;50118](https://github.com/BerriAI/litellm/pull/50118)
- fix(bedrock): remove GovCloud Kimi K3 bedrock_mantle rows by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50117](https://github.com/BerriAI/litellm/pull/50117)
- fix(auth): align cloud credential loading and expiry with the Python SDKs by [@&#8203;yujonglee-berri](https://github.com/yujonglee-berri) in [#&#8203;49589](https://github.com/BerriAI/litellm/pull/49589)
- test: make three flaky unit tests deterministic by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;50114](https://github.com/BerriAI/litellm/pull/50114)
- ci(unit): stop the full history clone on the db-and-spend shard, fetch the schema merge base by sha by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;50120](https://github.com/BerriAI/litellm/pull/50120)
- fix(bedrock): backfill GovCloud service-tier prices by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50121](https://github.com/BerriAI/litellm/pull/50121)
- fix(github_copilot): let per-user connections work with a custom GitHub client ID by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;50116](https://github.com/BerriAI/litellm/pull/50116)
- fix(guardrails): apply guardrail masks to Bedrock InvokeModel Claude requests and replies by [@&#8203;shrey-berri](https://github.com/shrey-berri) in [#&#8203;49947](https://github.com/BerriAI/litellm/pull/49947)
- fix(cost): bill Batch cached tokens at the Standard cache price when a row has no Batch cache price by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;50062](https://github.com/BerriAI/litellm/pull/50062)
- fix(cost_calculator): keep regional and speed multipliers for per-call custom prices and log the billed per-call entry by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;50063](https://github.com/BerriAI/litellm/pull/50063)
- chore(cost-map): add openai gpt-image-2.6-sunburst and gpt-image-2.6-flare from the pricing page by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50134](https://github.com/BerriAI/litellm/pull/50134)
- fix(least-busy): reserve the picked deployment so a burst of requests spreads out by [@&#8203;tc3oliver](https://github.com/tc3oliver) in [#&#8203;47484](https://github.com/BerriAI/litellm/pull/47484)
- fix(proxy): answer an upstream overload with 503 server_is_overloaded on OpenAI routes by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;49993](https://github.com/BerriAI/litellm/pull/49993)
- fix(bedrock): add GovCloud Kimi, Haiku and Grok prices by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50128](https://github.com/BerriAI/litellm/pull/50128)
- refactor(ui): move shell, entry and public hub text onto i18n by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;50110](https://github.com/BerriAI/litellm/pull/50110)
- refactor(ui): move models text onto i18n by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;50112](https://github.com/BerriAI/litellm/pull/50112)
- fix(azure): strip output-only reasoning content from Responses input by [@&#8203;qibinjin](https://github.com/qibinjin) in [#&#8203;50046](https://github.com/BerriAI/litellm/pull/50046)
- chore(cost-map): add openai batch image output prices from the pricing page by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50138](https://github.com/BerriAI/litellm/pull/50138)
- fix(proxy): treat Postgres restart and shutdown errors as DB unavailable, not poison spend-log rows by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;50132](https://github.com/BerriAI/litellm/pull/50132)
- feat(accounting): add opt-in SpendLogs ledger by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;49856](https://github.com/BerriAI/litellm/pull/49856)
- fix(ui): send a team admin's member key edits on the first save by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;50007](https://github.com/BerriAI/litellm/pull/50007)
- fix(nvidia_riva): send the api key exactly once by calling riva over grpc directly by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;50140](https://github.com/BerriAI/litellm/pull/50140)
- fix(ui): let team admins edit models on team service account keys by [@&#8203;jesus-berri](https://github.com/jesus-berri) in [#&#8203;49970](https://github.com/BerriAI/litellm/pull/49970)
- fix(cost_map): fill missing Claude capability fields from the family baseline by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;49815](https://github.com/BerriAI/litellm/pull/49815)
- feat(ui): show model deprecation banner on the models page by [@&#8203;krrish-berri-2](https://github.com/krrish-berri-2) in [#&#8203;50080](https://github.com/BerriAI/litellm/pull/50080)
- test(routing): expect 503 server_is_overloaded for an upstream overload by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50155](https://github.com/BerriAI/litellm/pull/50155)
- test(providers): expect 503 server_is_overloaded for an upstream overload by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50154](https://github.com/BerriAI/litellm/pull/50154)
- feat(proxy): add model deprecation alerts with daily requests by key by [@&#8203;ishaan-j-berri](https://github.com/ishaan-j-berri) in [#&#8203;50022](https://github.com/BerriAI/litellm/pull/50022)
- fix(bedrock)!: keep Claude's thinking when response_format json_schema is set by [@&#8203;quietjules](https://github.com/quietjules) in [#&#8203;49696](https://github.com/BerriAI/litellm/pull/49696)
- refactor(proxy)!: drop the unused accounting event tables by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;49923](https://github.com/BerriAI/litellm/pull/49923)
- chore(cost-map): add together_ai ricursive-ai/Ripple-65B-Preview from the Together models API by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50163](https://github.com/BerriAI/litellm/pull/50163)
- feat(ui)!: redesign public AI Hub as a catalog by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;50153](https://github.com/BerriAI/litellm/pull/50153)
- feat(alerts): show recommended model provenance and provider notices by [@&#8203;ishaan-j-berri](https://github.com/ishaan-j-berri) in [#&#8203;50162](https://github.com/BerriAI/litellm/pull/50162)
- test(providers): expect 503 server_is_overloaded for an upstream overload on the responses bridge by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50166](https://github.com/BerriAI/litellm/pull/50166)
- refactor(ui): align Chat with dashboard styling by [@&#8203;moe-berri](https://github.com/moe-berri) in [#&#8203;50034](https://github.com/BerriAI/litellm/pull/50034)
- feat(router): add the Rust router core with the host as its only boundary by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;49513](https://github.com/BerriAI/litellm/pull/49513)
- test(translation): expect thinking usage fields on Bedrock chat by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50175](https://github.com/BerriAI/litellm/pull/50175)
- test(translation): expect thinking usage fields on Bedrock messages by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50179](https://github.com/BerriAI/litellm/pull/50179)
- fix(mistral): a named tool_choice is dropped, the model picks any tool by [@&#8203;pasqualtroncone](https://github.com/pasqualtroncone) in [#&#8203;39737](https://github.com/BerriAI/litellm/pull/39737)
- test(translation): expect thinking usage fields on Bedrock responses by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50181](https://github.com/BerriAI/litellm/pull/50181)
- feat(skills)!: add portable Agent Skills Hub API by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;50159](https://github.com/BerriAI/litellm/pull/50159)
- feat: email affected owners before model deprecations by [@&#8203;ishaan-j-berri](https://github.com/ishaan-j-berri) in [#&#8203;50172](https://github.com/BerriAI/litellm/pull/50172)
- feat(skills)!: add portable version history by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;50152](https://github.com/BerriAI/litellm/pull/50152)
- feat(skills)!: add portable submissions and admin review by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;50160](https://github.com/BerriAI/litellm/pull/50160)
- fix(usage): restore per-user spend breakdown on the user aggregated route by [@&#8203;ishaan-j-berri](https://github.com/ishaan-j-berri) in [#&#8203;49464](https://github.com/BerriAI/litellm/pull/49464)
- feat(skills): add optional manual security scans by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;50194](https://github.com/BerriAI/litellm/pull/50194)
- feat(skills): show download counts and history by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;50165](https://github.com/BerriAI/litellm/pull/50165)
- fix(cost-map): add Gemini Flex long prompt prices, Live grounding prices, seven GMI rows and EmpirioLabs page prices by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50208](https://github.com/BerriAI/litellm/pull/50208)
- feat(accounting)!: make the SpendLogs ledger the default accounting path by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;49872](https://github.com/BerriAI/litellm/pull/49872)
- test(integration): stop the wire peer from dropping requests whose bytes arrive late by [@&#8203;tessellark](https://github.com/tessellark) in [#&#8203;49889](https://github.com/BerriAI/litellm/pull/49889)
- feat(vertex-ai): add published gemini omni 1.2 flash pricing and limits by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50227](https://github.com/BerriAI/litellm/pull/50227)
- docs(pr-template): drop the make-me-human-readable tags from the handwritten description by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;50183](https://github.com/BerriAI/litellm/pull/50183)
- fix(github-copilot): send the GitHub token directly instead of exchanging it by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;50126](https://github.com/BerriAI/litellm/pull/50126)
- fix(openai): never send OPENAI_ADMIN_KEY as the bearer token for a deployment without an api_key by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;50218](https://github.com/BerriAI/litellm/pull/50218)
- fix(accounting): keep spend commits working when prometheus_client is not installed by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;50230](https://github.com/BerriAI/litellm/pull/50230)
- refactor(router): delete the python router core by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;50178](https://github.com/BerriAI/litellm/pull/50178)
- feat(gemini): add Omni 1.2 Flash pricing and update video model successors by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50229](https://github.com/BerriAI/litellm/pull/50229)
- feat(gateway): forward HTTP requests to the Python proxy by [@&#8203;yujonglee-berri](https://github.com/yujonglee-berri) in [#&#8203;49604](https://github.com/BerriAI/litellm/pull/49604)
- chore(cost-map): rolling registry audit, add gpt-6-cyber, Kimi K3.1 Pro rows, Jina rerankers and capability flags by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50245](https://github.com/BerriAI/litellm/pull/50245)
- test(skills): assert patch publication and serialize preference writes by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50252](https://github.com/BerriAI/litellm/pull/50252)
- test(usage): assert per-user entity spend and metadata by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50251](https://github.com/BerriAI/litellm/pull/50251)
- refactor(bedrock): drop the redundant $defs deep copy in tool conversion by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;50240](https://github.com/BerriAI/litellm/pull/50240)
- fix(openai): add gpt-6-cyber max input tokens and the gpt-5.5-cyber-preview shutdown date by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50254](https://github.com/BerriAI/litellm/pull/50254)
- fix(anthropic): report temperature/top_p as supported only when the model keeps them by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;50144](https://github.com/BerriAI/litellm/pull/50144)
- refactor(ui): move remaining logs and usage text onto i18n by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;50146](https://github.com/BerriAI/litellm/pull/50146)
- refactor(ui): move remaining models text onto i18n by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;50147](https://github.com/BerriAI/litellm/pull/50147)
- refactor(ui): move remaining shell and nav text onto i18n by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;50148](https://github.com/BerriAI/litellm/pull/50148)
- refactor(ui): move remaining keys, teams and agents text onto i18n by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;50238](https://github.com/BerriAI/litellm/pull/50238)
- refactor(ui): move remaining playground, chat and compliance text onto i18n by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;50239](https://github.com/BerriAI/litellm/pull/50239)
- refactor(ui): move remaining Aria and admin text onto i18n by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;50242](https://github.com/BerriAI/litellm/pull/50242)
- fix(zscaler_ai_guard)!: scan only the last user turn on requests by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;50139](https://github.com/BerriAI/litellm/pull/50139)
- docs(pr-template): require rerunnable proof setup and collapsed long output by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;50258](https://github.com/BerriAI/litellm/pull/50258)
- feat(bedrock): add us-gov.xai.grok-4.7 GovCloud pricing by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50288](https://github.com/BerriAI/litellm/pull/50288)
- fix(bedrock): add GovCloud Grok 4.7 batch prices by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50291](https://github.com/BerriAI/litellm/pull/50291)
- test(router): expect no fallback errors header for non-bool include_fallback_errors by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;50259](https://github.com/BerriAI/litellm/pull/50259)
- fix(router): do not cool down a deployment on a 404 from a response id lookup by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;50262](https://github.com/BerriAI/litellm/pull/50262)
- test(copilot): align login guards with direct access tokens by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;50285](https://github.com/BerriAI/litellm/pull/50285)
- feat(interactions): forward continuation_token and type requires_continuation so callers can resume a long decode by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;50151](https://github.com/BerriAI/litellm/pull/50151)
- fix(router): keep the request's metadata on rust core fallback hop kwargs by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;50263](https://github.com/BerriAI/litellm/pull/50263)
- fix(router): retry a team wildcard under the provider-prefixed name by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;50264](https://github.com/BerriAI/litellm/pull/50264)
- fix(responses): preserve native stream spend on guardrail rejection by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;50286](https://github.com/BerriAI/litellm/pull/50286)
- fix(router): give the rust core's priority scheduler the router's redis cache by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;50265](https://github.com/BerriAI/litellm/pull/50265)
- refactor(ui): move alerts page text onto i18n by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;50271](https://github.com/BerriAI/litellm/pull/50271)
- fix(router): write the prompt caching pin when turn_off_message_logging is on by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;50276](https://github.com/BerriAI/litellm/pull/50276)
- test(router): expect a primary stream's stall to cool its deployment by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;50261](https://github.com/BerriAI/litellm/pull/50261)
- fix(types): define the responses compact call types for during_call guardrails and deployment hooks by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;50274](https://github.com/BerriAI/litellm/pull/50274)
- fix(router-core): read time through the router's clock when routing by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;50295](https://github.com/BerriAI/litellm/pull/50295)
- feat(databricks): add databricks-kimi-k3-1-pro pricing by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50303](https://github.com/BerriAI/litellm/pull/50303)
- fix(azure): sync model retirement dates by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50296](https://github.com/BerriAI/litellm/pull/50296)
- feat(packaging): build litellm-proxy gateway wheels by [@&#8203;yujonglee-berri](https://github.com/yujonglee-berri) in [#&#8203;49605](https://github.com/BerriAI/litellm/pull/49605)
- feat(skills): add authenticated install and share commands by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;50211](https://github.com/BerriAI/litellm/pull/50211)
- fix(router): let type checkers see the real Router constructor arguments by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;50278](https://github.com/BerriAI/litellm/pull/50278)
- fix(ui): keep chat text sent back to the model in English by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;50304](https://github.com/BerriAI/litellm/pull/50304)
- build(deps): bump [@&#8203;azure/msal-node](https://github.com/azure/msal-node) to 7.x in vscode-extension to clear osv-scan by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50198](https://github.com/BerriAI/litellm/pull/50198)
- feat(skills): add sortable Skills Hub catalog and publication audit by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;50195](https://github.com/BerriAI/litellm/pull/50195)
- fix(ui): center the deployment health banner icon on its title by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;50302](https://github.com/BerriAI/litellm/pull/50302)
- fix(users)!: validate custom IDs and reject concurrent duplicate creation by [@&#8203;mrinal-berri](https://github.com/mrinal-berri) in [#&#8203;49748](https://github.com/BerriAI/litellm/pull/49748)
- feat(ui): allow custom user IDs in user invitations by [@&#8203;mrinal-berri](https://github.com/mrinal-berri) in [#&#8203;49749](https://github.com/BerriAI/litellm/pull/49749)
- feat(bedrock): default to native structured output on Opus 5 and Opus 4.8 by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;50222](https://github.com/BerriAI/litellm/pull/50222)
- refactor(prompt_templates): move JSON schema helpers out of common_utils into json_schema_utils by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;50241](https://github.com/BerriAI/litellm/pull/50241)
- test(copilot): seed direct access tokens in Copilot wire fixtures by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50307](https://github.com/BerriAI/litellm/pull/50307)
- fix(proxy): probe scrypt instead of MD5 in the fips_mode OpenSSL check by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;50305](https://github.com/BerriAI/litellm/pull/50305)
- feat(ui): add a beta language setting to the account menu by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;50309](https://github.com/BerriAI/litellm/pull/50309)
- fix(router): drop supports_web_search false deployments for Anthropic web_search\_\* and Gemini googleSearch tools by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;50275](https://github.com/BerriAI/litellm/pull/50275)
- fix(audio-transcription): keep transcripts out of transcription error messages by [@&#8203;qtim0](https://github.com/qtim0) in [#&#8203;50137](https://github.com/BerriAI/litellm/pull/50137)
- feat(proxy)!: only let clients pick S3 buckets the admin allowed by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;47496](https://github.com/BerriAI/litellm/pull/47496)
- feat(redis): rust Redis foundation with no runtime change by [@&#8203;yujonglee-berri](https://github.com/yujonglee-berri) in [#&#8203;50169](https://github.com/BerriAI/litellm/pull/50169)
- feat(proxy): give Codex accurate model entries for every model in /v1/models by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;49825](https://github.com/BerriAI/litellm/pull/49825)
- feat(spend-logs): opt-in latest_turn mode that stores only the current turn of stateless requests by [@&#8203;jesus-berri](https://github.com/jesus-berri) in [#&#8203;49544](https://github.com/BerriAI/litellm/pull/49544)
- feat(team): let default_team_params attach access_group_ids to every new team by [@&#8203;jesus-berri](https://github.com/jesus-berri) in [#&#8203;49908](https://github.com/BerriAI/litellm/pull/49908)
- test(e2e): add a Codex row that calls a local MCP tool on a first and a resumed turn by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;49817](https://github.com/BerriAI/litellm/pull/49817)
- refactor(ui): move remaining outlier text onto i18n by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;50312](https://github.com/BerriAI/litellm/pull/50312)
- fix(terraform): drop out-of-band deleted litellm_key from state and treat its 404 on delete as gone by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;47877](https://github.com/BerriAI/litellm/pull/47877)
- chore(cost-map): source fireworks deprecations and replacement models by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50334](https://github.com/BerriAI/litellm/pull/50334)
- feat(ui): set tpm_limit and rpm_limit on tags from the Admin UI by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;50314](https://github.com/BerriAI/litellm/pull/50314)
- test(bedrock_mantle): expect the generic unsupported-param 400 for temperature on fixed-sampling Claude by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50344](https://github.com/BerriAI/litellm/pull/50344)
- feat(redis): serve the proxy's common Redis call with Rust stores by [@&#8203;yujonglee-berri](https://github.com/yujonglee-berri) in [#&#8203;50170](https://github.com/BerriAI/litellm/pull/50170)
- fix(bedrock): forward the per-turn-control beta to Bedrock Invoke by [@&#8203;Scott-Wilson-ZocDoc](https://github.com/Scott-Wilson-ZocDoc) in [#&#8203;43086](https://github.com/BerriAI/litellm/pull/43086)
- test(e2e): wait for saved MCP credentials before deleting the server by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50366](https://github.com/BerriAI/litellm/pull/50366)
- fix(vertex_ai): honor vertex_location for the Cloud Text-to-Speech endpoint by [@&#8203;julienparenti](https://github.com/julienparenti) in [#&#8203;50255](https://github.com/BerriAI/litellm/pull/50255)
- fix(ui): simplify the collapsed workspace dropdown by [@&#8203;moe-berri](https://github.com/moe-berri) in [#&#8203;50369](https://github.com/BerriAI/litellm/pull/50369)
- fix(ui): support custom model provider logos ([#&#8203;50056](https://github.com/BerriAI/litellm/issues/50056)) by [@&#8203;ishaan-j-berri](https://github.com/ishaan-j-berri) in [#&#8203;50371](https://github.com/BerriAI/litellm/pull/50371)
- build(deps): bump oauthlib to 4.0.1 and lock filelock 4.2.4 on 3.11+ and 3.20.3 on 3.10 to clear osv-scan by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;49204](https://github.com/BerriAI/litellm/pull/49204)
- feat(proxy): hash UI passwords with PBKDF2 in FIPS mode by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;49874](https://github.com/BerriAI/litellm/pull/49874)
- fix(proxy): discover models for LiteLLM Gateway wildcard providers by [@&#8203;ishaan-j-berri](https://github.com/ishaan-j-berri) in [#&#8203;50374](https://github.com/BerriAI/litellm/pull/50374)
- build(deps): keep Python 3.10 osv-scan suppressions until 2027-02-01 by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50386](https://github.com/BerriAI/litellm/pull/50386)
- fix(anthropic): default Responses JSON-schema strictness ([#&#8203;50023](https://github.com/BerriAI/litellm/issues/50023)) by [@&#8203;ishaan-j-berri](https://github.com/ishaan-j-berri) in [#&#8203;50375](https://github.com/BerriAI/litellm/pull/50375)
- fix(anthropic): preserve Azure Responses reasoning replay ([#&#8203;50024](https://github.com/BerriAI/litellm/issues/50024)) by [@&#8203;ishaan-j-berri](https://github.com/ishaan-j-berri) in [#&#8203;50381](https://github.com/BerriAI/litellm/pull/50381)
- feat: add OpenRouter-style -latest model aliases for first-party providers by [@&#8203;moe-berri](https://github.com/moe-berri) in [#&#8203;50315](https://github.com/BerriAI/litellm/pull…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants