Skip to content

fix(bedrock): send native structured output for json_schema on Claude models that cannot force a tool - #49703

Merged
mateo-berri merged 7 commits into
BerriAI:mainfrom
tavren27:litellm_bedrock_native_output_without_forced_tool
Nov 3, 2026
Merged

mateo-berri merged 7 commits into
BerriAI:mainfrom
tavren27:litellm_bedrock_native_output_without_forced_tool

Conversation

@tavren27

@tavren27 tavren27 commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Opus 5.5, Sonnet 5.5 and Fable 5.1 on Bedrock can't force a tool call, so a structured output request without thinking went out as a json tool they skip. People got fenced JSON with the wrong keys, or an empty content_filter reply (#47687)

Now those models get Bedrock's native structured output when the request has no thinking. With thinking, Opus 5.5 and Fable 5.1 keep the json tool, since native output turns adaptive thinking off. A rejected native request still retries with the json tool

Details

TLDR

Problem this solves:

  • Opus 5.5, Sonnet 5.5 and Fable 5.1 skip the unforced json tool
  • Replies are fenced with wrong keys, or empty with content_filter

How it solves it:

  • Models that can't force a tool get native output without thinking
  • Opus 5.5 and Fable 5.1 thinking, GovCloud, batch and Mantle keep the json tool

User Flow

Before: a developer asking Bedrock Opus 5.5, Sonnet 5.5 or Fable 5.1 for schema-shaped JSON gets text that ignores the schema, or nothing

  1. They call litellm.completion(model="bedrock/us.anthropic.claude-opus-5-5", response_format=Simple, ...) with no thinking
  2. The reply is empty with finish_reason="content_filter", so Simple.model_validate_json raises
  3. A {"city": ...} schema sent to POST https://litellm-domain/v1/chat/completions or /v1/responses returns fenced {"country": "France", "capital": "Paris"}

After: the same calls return JSON that matches the schema

  1. They call litellm.completion(model="bedrock/us.anthropic.claude-opus-5-5", response_format=Simple, ...) with no thinking
  2. The reply is {"score": 0.9, "reasoning": "..."} with finish_reason="stop", and validation passes
  3. The same requests return {"city":"Paris"} in 12 completion tokens

Relevant issues

Addresses #47687 for Opus 5.5, Sonnet 5.5 and Fable 5.1 without thinking. The issue stays open for Opus 5

Supersedes #47806, which flips the always-native flag on every Claude 5 model

Bedrock Mantle is left for a follow-up

Linear ticket

Resolves LIT-9752

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
Decisions
  • Native output only for models that can't force a tool, not for every Claude 5 model
  • With thinking, Opus 5.5 and Fable 5.1 keep the json tool
    • fix(bedrock): use native structured output on Haiku 5.5 and Sonnet 5.5, and fix Fable 5 and Sonnet 4.6 schema 400s #46870 found native output turns adaptive thinking off on Opus 5.5 and Fable 5.1
    • supports_bedrock_native_structured_output now has three states. true sends native output with thinking too, false never does, and unset sends it only without thinking, and only on models that can't force a tool
    • The commercial Opus 5.5 and Fable 5.1 rows leave it unset, so their thinking requests keep the json tool. The commercial Sonnet 5.5 rows were already true, so its thinking requests go native as before
  • Without a thinking param, Opus 5.5 and Fable 5.1 trade some default thinking for an enforced schema
    • Both think by default, and native output cuts that short. On invoke the city case went from 36 reasoning tokens to 0, and the spider cases from about 225 to about 35
    • Each of those answers went from fenced or wrong-key text to schema-valid JSON, which is what the request asked for
    • To keep the default thinking, pass thinking, or set supports_bedrock_native_structured_output: false in model_info
  • GovCloud Opus 5.5, Sonnet 5.5 and Fable 5.1 rows are false
  • Bedrock batch records keep the json tool, since a batch job has no retry (the same call fix(bedrock): send native structured output first on Opus 4.8 and Sonnet 5 and fall back to the json tool when Bedrock rejects it #47100 made)
  • Not native-first for every opt-in json_schema request
    • Models that can force the tool already return valid JSON (Opus 5 and Sonnet 5 in 34 tokens)
    • An account that rejects native output would pay a 400 plus a retry on every call
  • On models that can't force a tool, a native request Bedrock refuses costs two calls
    • It happens when Bedrock rejects the schema or the account rejects native output, and the retry sends the json tool
    • On these models the json tool's one call returns fenced, wrong-key or empty output, so a second call for a valid answer is the better trade
  • Streams keep the faked stream from one full response
    • A request that goes native only because the model can't force a tool fakes its stream like the json tool path did, so it still needs only bedrock:InvokeModel and stream_timeout works as before
    • Requests that went native before this PR (an opted-in model with thinking) still stream for real
  • A deployment can still opt out with supports_bedrock_native_structured_output: false in model_info, which the After leg checks
  • On the invoke route, response_format and a caller's own output_format or output_config.format get the same schema cleanup and go native the same way, which the wire tests cover
  • /v1/messages builds its native-output retry only for a request it sends natively
  • Bedrock Mantle keeps its old behavior
    • bedrock_mantle/ calls skip the rejection retry that bedrock/mantle/ has, so native output there would turn a refused schema into an error with no fallback
    • Both Mantle routes keep the json tool for models that can't force a tool, which a unit test and the After leg check

Screenshots / Proof of Fix

Each leg ran a 2-worker proxy, no database, against real Bedrock in us-east-1. Before is the merge base

Last updated: 6ad6412. QA ran on 3211a75. Changes since: invoke, Mantle, streams, the /v1/messages retry and a test. Those paths ran again on 0603ac2 and bd9925f. Verification: those cases and 6,371 unit tests

config.yaml, proxy command and the jq filter
model_list:
  - model_name: opus-5-5
    litellm_params:
      model: bedrock/us.anthropic.claude-opus-5-5
      aws_region_name: us-east-1
  - model_name: sonnet-5-5
    litellm_params:
      model: bedrock/global.anthropic.claude-sonnet-5-5
      aws_region_name: us-east-1
  - model_name: fable-5-1
    litellm_params:
      model: bedrock/global.anthropic.claude-fable-5-1
      aws_region_name: us-east-1
  - model_name: opus-5-5-invoke
    litellm_params:
      model: bedrock/invoke/us.anthropic.claude-opus-5-5
      aws_region_name: us-east-1
  - model_name: opus-5-5-native-off
    litellm_params:
      model: bedrock/us.anthropic.claude-opus-5-5
      aws_region_name: us-east-1
    model_info:
      supports_bedrock_native_structured_output: false
  - model_name: sonnet-5
    litellm_params:
      model: bedrock/us.anthropic.claude-sonnet-5
      aws_region_name: us-east-1
  - model_name: opus-5
    litellm_params:
      model: bedrock/us.anthropic.claude-opus-5
      aws_region_name: us-east-1

Both legs ran with AWS session credentials and LITELLM_LOCAL_MODEL_COST_MAP=True

python litellm/proxy/proxy_cli.py --config config.yaml --port $PORT --num_workers 2 --timeout_worker_healthcheck 60

<CHAT> in the commands below is this jq filter over the raw chat completion response

{finish_reason: .choices[0].finish_reason, content: .choices[0].message.content, reasoning_content: (.choices[0].message.reasoning_content | if . then .[0:60] else . end), tool_calls: (.choices[0].message.tool_calls | if . then map(.function) else . end), completion_tokens: .usage.completion_tokens, reasoning_tokens: .usage.completion_tokens_details.reasoning_tokens, error: .error.message}

<STREAM> is this jq filter over the raw SSE lines of a streamed reply

[.[] | select(startswith("data: {")) | ltrimstr("data: ") | fromjson] | {http_chunks: length, content_chunks: (map(select((.choices[0].delta.content // "") != "")) | length), content: (map(.choices[0].delta.content // "") | join("")), finish_reason: (map(.choices[0].finish_reason) | map(select(.)) | last), error: (map(.error.message) | map(select(.)) | first)}
Case Before After
#47687 code, 5.5 and Fable empty, content_filter valid
chat, Opus 5.5 fenced, 81 tok valid, 12 tok
invoke, Opus 5.5 fenced, 70 tok valid, 12 tok
invoke caller schemas, Opus 5.5 fenced, wrong keys valid
chat stream, Opus 5.5 and Fable fenced, 1 chunk valid, 1 chunk
invoke stream, Opus 5.5 fenced valid
invoke, Sonnet 5.5 and Fable valid, 52-185 tok valid, 12 tok
responses, Opus 5.5 fenced, 82 tok valid, 12 tok
messages, both 5.5 valid, 12 tok unchanged
thinking, Opus 5.5 fenced fenced
backreference, chat, invoke, stream 200 200 after retry
native-off deployment fenced fenced
Mantle, Opus 5.5 json tool unchanged
Opus 5, Sonnet 5 valid, 34 tok valid, 34 tok

Before (6be98d8)

#47687 reporter's code

  1. Run the reporter's code on us. and global. Opus 5.5, Sonnet 5.5 and Opus 5, plus global Fable 5.1
The code
import sys

import litellm
from pydantic import BaseModel


class Simple(BaseModel):
    score: float
    reasoning: str


for model in sys.argv[1:]:
    r = litellm.completion(
        model=f"bedrock/{model}",
        aws_region_name="us-east-1",
        messages=[{"role": "user", "content": "Classify this requirement: 'The bank must review its BSA policy annually and report to the board.'"}],
        response_format=Simple,
        max_tokens=800,
    )
    content = r.choices[0].message.content or ""
    try:
        Simple.model_validate_json(content)
        valid = True
    except ValueError:
        valid = False
    print(f"{model:36s} finish={r.choices[0].finish_reason:14s} schema_valid={valid} content={content[:90]!r}")
global.anthropic.claude-opus-5-5     finish=content_filter schema_valid=False content=''
global.anthropic.claude-sonnet-5-5   finish=content_filter schema_valid=False content=''
us.anthropic.claude-opus-5-5         finish=content_filter schema_valid=False content=''
us.anthropic.claude-sonnet-5-5       finish=content_filter schema_valid=False content=''
global.anthropic.claude-fable-5-1    finish=content_filter schema_valid=False content=''
us.anthropic.claude-opus-5           finish=content_filter schema_valid=False content='{"reasoning": "This requirement describes a recurring internal governance/compliance oblig'
global.anthropic.claude-opus-5       finish=content_filter schema_valid=False content='{"reasoning": "This requirement is an internal governance/compliance obligation stemming f'

Proxy and SDK cases

Commands and raw output
  1. The proxy cases
### chat opus-5-5
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"opus-5-5","max_tokens":300,"messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"stop","content":"```json\n{\"country\": \"France\", \"capital\": \"Paris\"}\n```","reasoning_content":"","tool_calls":null,"completion_tokens":81,"reasoning_tokens":null,"error":null}
### chat sonnet-5-5
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"sonnet-5-5","max_tokens":300,"messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"stop","content":"{\"city\": \"Paris\"}","reasoning_content":null,"tool_calls":null,"completion_tokens":52,"reasoning_tokens":0,"error":null}
### chat fable-5-1
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"fable-5-1","max_tokens":300,"messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"stop","content":"{\"capital\": \"Paris\", \"country\": \"France\"}","reasoning_content":null,"tool_calls":null,"completion_tokens":19,"reasoning_tokens":0,"error":null}
### chat opus-5-5-invoke
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"opus-5-5-invoke","max_tokens":300,"messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"stop","content":"```json\n{\"country\": \"France\", \"capital\": \"Paris\"}\n```","reasoning_content":"","tool_calls":null,"completion_tokens":70,"reasoning_tokens":46,"error":null}
### chat opus-5-5-native-off
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"opus-5-5-native-off","max_tokens":300,"messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"stop","content":"```json\n{\"country\": \"France\", \"capital\": \"Paris\"}\n```","reasoning_content":"","tool_calls":null,"completion_tokens":79,"reasoning_tokens":null,"error":null}
### chat opus-5
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"opus-5","max_tokens":300,"messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"stop","content":"{\"city\": \"Paris\"}","reasoning_content":null,"tool_calls":null,"completion_tokens":34,"reasoning_tokens":0,"error":null}
### chat sonnet-5
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"sonnet-5","max_tokens":300,"messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"stop","content":"{\"city\": \"Paris\"}","reasoning_content":null,"tool_calls":null,"completion_tokens":34,"reasoning_tokens":0,"error":null}
### chat thinking opus-5-5
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"opus-5-5","max_tokens":4000,"reasoning_effort":"low","messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"stop","content":"```json\n{\"country\": \"France\", \"capital\": \"Paris\"}\n```","reasoning_content":null,"tool_calls":null,"completion_tokens":24,"reasoning_tokens":0,"error":null}
### chat thinking sonnet-5-5
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"sonnet-5-5","max_tokens":4000,"reasoning_effort":"low","messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"stop","content":"{\"city\":\"Paris\"}","reasoning_content":null,"tool_calls":null,"completion_tokens":12,"reasoning_tokens":0,"error":null}
### chat thinking fable-5-1
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"fable-5-1","max_tokens":4000,"reasoning_effort":"low","messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"stop","content":"```json\n{\"country\": \"France\", \"capital\": \"Paris\"}\n```","reasoning_content":null,"tool_calls":null,"completion_tokens":24,"reasoning_tokens":0,"error":null}
### chat caller tool opus-5-5
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"opus-5-5","max_tokens":300,"messages":[{"role":"user","content":"What is the weather in Paris? Use the tool."}],"tools":[{"type":"function","function":{"name":"get_weather","description":"Get the weather for a city","parameters":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"]}}}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"tool_calls","content":"","reasoning_content":null,"tool_calls":[{"arguments":"{\"city\": \"Paris\"}","name":"get_weather"}],"completion_tokens":50,"reasoning_tokens":0,"error":null}
### chat caller tool sonnet-5-5
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"sonnet-5-5","max_tokens":300,"messages":[{"role":"user","content":"What is the weather in Paris? Use the tool."}],"tools":[{"type":"function","function":{"name":"get_weather","description":"Get the weather for a city","parameters":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"]}}}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"tool_calls","content":"","reasoning_content":null,"tool_calls":[{"arguments":"{\"city\": \"Paris\"}","name":"get_weather"}],"completion_tokens":50,"reasoning_tokens":0,"error":null}
### chat backreference schema opus-5-5
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"opus-5-5","max_tokens":300,"messages":[{"role":"user","content":"Fill in field_0 with the letter a repeated twice."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"field_0":{"type":"string","pattern":"^(a+)\\1$"}},"required":["field_0"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"stop","content":"{\"field_0\": \"aa\"}","reasoning_content":null,"tool_calls":null,"completion_tokens":53,"reasoning_tokens":0,"error":null}
### chat backreference schema fable-5-1
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"fable-5-1","max_tokens":300,"messages":[{"role":"user","content":"Fill in field_0 with the letter a repeated twice."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"field_0":{"type":"string","pattern":"^(a+)\\1$"}},"required":["field_0"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"stop","content":"{\"field_0\": \"aa\"}","reasoning_content":null,"tool_calls":null,"completion_tokens":53,"reasoning_tokens":0,"error":null}
### responses opus-5-5
$ curl -s $PROXY/v1/responses -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"opus-5-5","max_output_tokens":300,"input":"Capital of France? Reply as JSON.","text":{"format":{"type":"json_schema","name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '{status, text: [.output[] | select(.type == "message") | .content[].text], output_tokens: .usage.output_tokens, error: .error}'
{"status":"completed","text":["```json\n{\n  \"country\": \"France\",\n  \"capital\": \"Paris\"\n}\n```"],"output_tokens":82,"error":null}
### responses sonnet-5-5
$ curl -s $PROXY/v1/responses -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"sonnet-5-5","max_output_tokens":300,"input":"Capital of France? Reply as JSON.","text":{"format":{"type":"json_schema","name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '{status, text: [.output[] | select(.type == "message") | .content[].text], output_tokens: .usage.output_tokens, error: .error}'
{"status":"completed","text":["{\"city\": \"Paris\"}"],"output_tokens":52,"error":null}
### messages opus-5-5
$ curl -s $PROXY/v1/messages -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"opus-5-5","max_tokens":300,"messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"output_config":{"format":{"type":"json_schema","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '{stop_reason, text: [.content[] | select(.type == "text") | .text], output_tokens: .usage.output_tokens, error: .error}'
{"stop_reason":"end_turn","text":["{\"city\": \"Paris\"}"],"output_tokens":12,"error":null}
### messages sonnet-5-5
$ curl -s $PROXY/v1/messages -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"sonnet-5-5","max_tokens":300,"messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"output_config":{"format":{"type":"json_schema","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '{stop_reason, text: [.content[] | select(.type == "text") | .text], output_tokens: .usage.output_tokens, error: .error}'
{"stop_reason":"end_turn","text":["{\"city\":\"Paris\"}"],"output_tokens":12,"error":null}
  1. litellm.completion with the same city schema and max_tokens=300, run as python sdk_city.py <model ids>
import json
import sys

import litellm

SCHEMA = {
    "type": "object",
    "properties": {"city": {"type": "string"}},
    "required": ["city"],
    "additionalProperties": False,
}

for model in sys.argv[1:]:
    try:
        r = litellm.completion(
            model=f"bedrock/{model}",
            aws_region_name="us-east-1",
            messages=[{"role": "user", "content": "Capital of France? Reply as JSON."}],
            max_tokens=300,
            response_format={"type": "json_schema", "json_schema": {"name": "answer", "schema": SCHEMA}},
        )
    except Exception as e:
        print(f"{model:36s} ERROR {type(e).__name__}: {str(e)[:200]}")
        continue
    content = r.choices[0].message.content or ""
    try:
        parsed = json.loads(content)
        valid = isinstance(parsed, dict) and set(parsed) == {"city"} and isinstance(parsed["city"], str)
    except ValueError:
        valid = False
    print(
        f"{model:36s} finish={r.choices[0].finish_reason:14s} completion_tokens={r.usage.completion_tokens:<4}"
        f" schema_valid={valid} content={content!r}"
    )
global.anthropic.claude-fable-5-1    finish=stop           completion_tokens=24   schema_valid=False content='```json\n{"country": "France", "capital": "Paris"}\n```'
us.anthropic.claude-opus-5-5         finish=stop           completion_tokens=93   schema_valid=False content='```json\n{"country": "France", "capital": "Paris"}\n```'
global.anthropic.claude-opus-5-5     finish=stop           completion_tokens=70   schema_valid=False content='```json\n{"country": "France", "capital": "Paris"}\n```'
us.anthropic.claude-sonnet-5-5       finish=stop           completion_tokens=52   schema_valid=True content='{"city": "Paris"}'
global.anthropic.claude-sonnet-5-5   finish=stop           completion_tokens=52   schema_valid=True content='{"city": "Paris"}'
us.anthropic.claude-opus-5           finish=stop           completion_tokens=34   schema_valid=True content='{"city": "Paris"}'
us.anthropic.claude-sonnet-5         finish=stop           completion_tokens=34   schema_valid=True content='{"city": "Paris"}'

Invoke and Mantle cases

The config, commands and raw output

Stream and invoke cases

config.yaml, commands and raw output

The first config.yaml plus these entries

  - model_name: sonnet-5-5-invoke
    litellm_params:
      model: bedrock/invoke/global.anthropic.claude-sonnet-5-5
      aws_region_name: us-east-1
  - model_name: fable-5-1-invoke
    litellm_params:
      model: bedrock/invoke/global.anthropic.claude-fable-5-1
      aws_region_name: us-east-1
### converse stream response_format opus-5-5
$ curl -sN $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"opus-5-5","max_tokens":300,"stream":true,"messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -R -s -c 'split("\\n") | <STREAM>'
{"http_chunks":2,"content_chunks":1,"content":"```json\n{\n  \"country\": \"France\",\n  \"capital\": \"Paris\"\n}\n```","finish_reason":"stop","error":null}
### converse stream response_format sonnet-5-5
$ curl -sN $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"sonnet-5-5","max_tokens":300,"stream":true,"messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -R -s -c 'split("\\n") | <STREAM>'
{"http_chunks":2,"content_chunks":1,"content":"{\"city\": \"Paris\"}","finish_reason":"stop","error":null}
### converse stream response_format fable-5-1
$ curl -sN $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"fable-5-1","max_tokens":300,"stream":true,"messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -R -s -c 'split("\\n") | <STREAM>'
{"http_chunks":2,"content_chunks":1,"content":"```json\n{\n  \"country\": \"France\",\n  \"capital\": \"Paris\"\n}\n```","finish_reason":"stop","error":null}
### converse stream backreference schema opus-5-5
$ curl -sN $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"opus-5-5","stream":true,"max_tokens":300,"messages":[{"role":"user","content":"Fill in field_0 with the capital of France."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"field_0":{"type":"string","pattern":"^(a+)\\1$"}},"required":["field_0"],"additionalProperties":false}}}}' | jq -R -s -c 'split("\\n") | <STREAM>'
{"http_chunks":2,"content_chunks":1,"content":"I didn't make the call, because the answer can't go into field_0 as the tool is set up.\n\nThe capital of France is **Paris**, but field_0 only accepts text made up entirely of the letter \"a\" repeated an even number of times (like \"aa\" or \"aaaa\"). \"Paris\" would be rejected. I could enter something like \"aa\" to get past that check, but then the field wouldn't actually hold the capital of France.\n\nTo fix this, someone would need to change the field's format rule so it accepts normal text. Or, if you meant to use a different field or tool, let me know which one.","finish_reason":"stop","error":null}
### invoke stream response_format opus-5-5-invoke
$ curl -sN $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"opus-5-5-invoke","max_tokens":300,"stream":true,"messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -R -s -c 'split("\\n") | <STREAM>'
{"http_chunks":6,"content_chunks":4,"content":"```json\n{\"country\": \"France\", \"capital\": \"Paris\"}\n```","finish_reason":"stop","error":null}
### invoke response_format sonnet-5-5-invoke
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"sonnet-5-5-invoke","max_tokens":300,"messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"stop","content":"{\"city\": \"Paris\"}","tool_calls":null,"completion_tokens":52,"reasoning_tokens":0,"error":null}
### invoke response_format fable-5-1-invoke
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"fable-5-1-invoke","max_tokens":300,"messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"stop","content":"{\"city\": \"Paris\"}","tool_calls":null,"completion_tokens":185,"reasoning_tokens":132,"error":null}

After (3211a75)

#47687 reporter's code

  1. The same code
global.anthropic.claude-opus-5-5     finish=stop           schema_valid=True content='{"score":0.85,"reasoning":"Classification: Regulatory compliance requirement in the BSA/AM'
global.anthropic.claude-sonnet-5-5   finish=stop           schema_valid=True content='{"score": 0.9, "reasoning": "This is a compliance governance requirement, specifically a B'
us.anthropic.claude-opus-5-5         finish=stop           schema_valid=True content='{"score":0.85,"reasoning":"Classification: a regulatory compliance requirement in the gove'
us.anthropic.claude-sonnet-5-5       finish=stop           schema_valid=True content='{"score": 0.9, "reasoning": "This is a compliance governance requirement under the Bank Se'
global.anthropic.claude-fable-5-1    finish=stop           schema_valid=True content='{"score": 0.9, "reasoning": "Classification: Mandatory, recurring Governance/Compliance-Ov'
us.anthropic.claude-opus-5           finish=content_filter schema_valid=False content='{"reasoning": "This requirement describes an internal governance/compliance obligation: pe'
global.anthropic.claude-opus-5       finish=content_filter schema_valid=False content='{"reasoning": "This requirement describes an internal governance/compliance obligation: pe'

Proxy and SDK cases

Commands and raw output
  1. The same proxy cases
### chat opus-5-5
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"opus-5-5","max_tokens":300,"messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"stop","content":"{\"city\":\"Paris\"}","reasoning_content":null,"tool_calls":null,"completion_tokens":12,"reasoning_tokens":0,"error":null}
### chat sonnet-5-5
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"sonnet-5-5","max_tokens":300,"messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"stop","content":"{\"city\":\"Paris\"}","reasoning_content":null,"tool_calls":null,"completion_tokens":12,"reasoning_tokens":0,"error":null}
### chat fable-5-1
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"fable-5-1","max_tokens":300,"messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"stop","content":"{\"city\":\"Paris\"}","reasoning_content":null,"tool_calls":null,"completion_tokens":12,"reasoning_tokens":0,"error":null}
### chat opus-5-5-invoke
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"opus-5-5-invoke","max_tokens":300,"messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"stop","content":"{\"city\":\"Paris\"}","reasoning_content":null,"tool_calls":null,"completion_tokens":12,"reasoning_tokens":0,"error":null}
### chat opus-5-5-native-off
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"opus-5-5-native-off","max_tokens":300,"messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"stop","content":"```json\n{\n  \"country\": \"France\",\n  \"capital\": \"Paris\"\n}\n```","reasoning_content":"","tool_calls":null,"completion_tokens":84,"reasoning_tokens":null,"error":null}
### chat opus-5
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"opus-5","max_tokens":300,"messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"stop","content":"{\"city\": \"Paris\"}","reasoning_content":null,"tool_calls":null,"completion_tokens":34,"reasoning_tokens":0,"error":null}
### chat sonnet-5
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"sonnet-5","max_tokens":300,"messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"stop","content":"{\"city\": \"Paris\"}","reasoning_content":null,"tool_calls":null,"completion_tokens":34,"reasoning_tokens":0,"error":null}
### chat thinking opus-5-5
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"opus-5-5","max_tokens":4000,"reasoning_effort":"low","messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"stop","content":"```json\n{\"country\": \"France\", \"capital\": \"Paris\"}\n```","reasoning_content":null,"tool_calls":null,"completion_tokens":24,"reasoning_tokens":0,"error":null}
### chat thinking sonnet-5-5
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"sonnet-5-5","max_tokens":4000,"reasoning_effort":"low","messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"stop","content":"{\"city\":\"Paris\"}","reasoning_content":null,"tool_calls":null,"completion_tokens":12,"reasoning_tokens":0,"error":null}
### chat thinking fable-5-1
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"fable-5-1","max_tokens":4000,"reasoning_effort":"low","messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"stop","content":"{\"capital\": \"Paris\", \"country\": \"France\"}","reasoning_content":null,"tool_calls":null,"completion_tokens":19,"reasoning_tokens":0,"error":null}
### chat caller tool opus-5-5
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"opus-5-5","max_tokens":300,"messages":[{"role":"user","content":"What is the weather in Paris? Use the tool."}],"tools":[{"type":"function","function":{"name":"get_weather","description":"Get the weather for a city","parameters":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"]}}}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"tool_calls","content":"","reasoning_content":null,"tool_calls":[{"arguments":"{\"city\": \"Paris\"}","name":"get_weather"}],"completion_tokens":50,"reasoning_tokens":0,"error":null}
### chat caller tool sonnet-5-5
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"sonnet-5-5","max_tokens":300,"messages":[{"role":"user","content":"What is the weather in Paris? Use the tool."}],"tools":[{"type":"function","function":{"name":"get_weather","description":"Get the weather for a city","parameters":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"]}}}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"tool_calls","content":"","reasoning_content":null,"tool_calls":[{"arguments":"{\"city\": \"Paris\"}","name":"get_weather"}],"completion_tokens":50,"reasoning_tokens":0,"error":null}
### chat backreference schema opus-5-5
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"opus-5-5","max_tokens":300,"messages":[{"role":"user","content":"Fill in field_0 with the letter a repeated twice."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"field_0":{"type":"string","pattern":"^(a+)\\1$"}},"required":["field_0"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"stop","content":"{\"field_0\": \"aa\"}","reasoning_content":null,"tool_calls":null,"completion_tokens":53,"reasoning_tokens":0,"error":null}
### chat backreference schema fable-5-1
$ curl -s $PROXY/v1/chat/completions -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"fable-5-1","max_tokens":300,"messages":[{"role":"user","content":"Fill in field_0 with the letter a repeated twice."}],"response_format":{"type":"json_schema","json_schema":{"name":"answer","schema":{"type":"object","properties":{"field_0":{"type":"string","pattern":"^(a+)\\1$"}},"required":["field_0"],"additionalProperties":false}}}}' | jq -c '<CHAT>'
{"finish_reason":"stop","content":"{\"field_0\": \"aa\"}","reasoning_content":"","tool_calls":null,"completion_tokens":95,"reasoning_tokens":null,"error":null}
### responses opus-5-5
$ curl -s $PROXY/v1/responses -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"opus-5-5","max_output_tokens":300,"input":"Capital of France? Reply as JSON.","text":{"format":{"type":"json_schema","name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '{status, text: [.output[] | select(.type == "message") | .content[].text], output_tokens: .usage.output_tokens, error: .error}'
{"status":"completed","text":["{\"city\":\"Paris\"}"],"output_tokens":12,"error":null}
### responses sonnet-5-5
$ curl -s $PROXY/v1/responses -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"sonnet-5-5","max_output_tokens":300,"input":"Capital of France? Reply as JSON.","text":{"format":{"type":"json_schema","name":"answer","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '{status, text: [.output[] | select(.type == "message") | .content[].text], output_tokens: .usage.output_tokens, error: .error}'
{"status":"completed","text":["{\"city\":\"Paris\"}"],"output_tokens":12,"error":null}
### messages opus-5-5
$ curl -s $PROXY/v1/messages -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"opus-5-5","max_tokens":300,"messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"output_config":{"format":{"type":"json_schema","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '{stop_reason, text: [.content[] | select(.type == "text") | .text], output_tokens: .usage.output_tokens, error: .error}'
{"stop_reason":"end_turn","text":["{\"city\": \"Paris\"}"],"output_tokens":12,"error":null}
### messages sonnet-5-5
$ curl -s $PROXY/v1/messages -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"model":"sonnet-5-5","max_tokens":300,"messages":[{"role":"user","content":"Capital of France? Reply as JSON."}],"output_config":{"format":{"type":"json_schema","schema":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"],"additionalProperties":false}}}}' | jq -c '{stop_reason, text: [.content[] | select(.type == "text") | .text], output_tokens: .usage.output_tokens, error: .error}'
{"stop_reason":"end_turn","text":["{\"city\":\"Paris\"}"],"output_tokens":12,"error":null}
  1. The same SDK city script
global.anthropic.claude-fable-5-1    finish=stop           completion_tokens=12   schema_valid=True content='{"city":"Paris"}'
us.anthropic.claude-opus-5-5         finish=stop           completion_tokens=12   schema_valid=True content='{"city":"Paris"}'
global.anthropic.claude-opus-5-5     finish=stop           completion_tokens=12   schema_valid=True content='{"city":"Paris"}'
us.anthropic.claude-sonnet-5-5       finish=stop           completion_tokens=12   schema_valid=True content='{"city":"Paris"}'
global.anthropic.claude-sonnet-5-5   finish=stop           completion_tokens=12   schema_valid=True content='{"city":"Paris"}'
us.anthropic.claude-opus-5           finish=stop           completion_tokens=34   schema_valid=True content='{"city": "Paris"}'
us.anthropic.claude-sonnet-5         finish=stop           completion_tokens=34   schema_valid=True content='{"city": "Paris"}'
  1. The backreference cases answer 200 above because Bedrock refuses that schema under native output and the fallback retries with the json tool. Bedrock itself, called directly with boto3 and no litellm
$ python direct_native.py us.anthropic.claude-opus-5-5 schema_backref.json
HTTP 400 ValidationException The model returned the following errors: output_config.format.schema: Unsupported regex feature in pattern field: Backreferences are not supported.
$ python direct_native.py global.anthropic.claude-fable-5-1 schema_backref.json
HTTP 400 ValidationException The model returned the following errors: output_config.format.schema: Unsupported regex feature in pattern field: Backreferences are not supported.

After, invoke and Mantle cases (0603ac2)

The raw output of the same commands

After, stream and invoke cases (bd9925f)

Raw output of the same commands
### converse stream response_format opus-5-5
{"http_chunks":2,"content_chunks":1,"content":"{\"city\":\"Paris\"}","finish_reason":"stop","error":null}
### converse stream response_format sonnet-5-5
{"http_chunks":2,"content_chunks":1,"content":"{\"city\":\"Paris\"}","finish_reason":"stop","error":null}
### converse stream response_format fable-5-1
{"http_chunks":2,"content_chunks":1,"content":"{\"city\":\"Paris\"}","finish_reason":"stop","error":null}
### converse stream backreference schema opus-5-5
{"http_chunks":2,"content_chunks":1,"content":"I didn't fill in field_0, because the field won't accept \"Paris\" (the capital of France).\n\nThe field only accepts text that matches the pattern `^(a+)\\1$`. That means it must be made up only of the letter \"a\", repeated an even number of times, like \"aa\" or \"aaaa\". \"Paris\" doesn't fit that pattern. I could enter something like \"aa\" to get past the check, but that wouldn't be the answer you asked for.\n\nIf you can change the field's rules, or if there's a reason it's set up this way (for example, if it's a test), let me know and I'll go from there.","finish_reason":"stop","error":null}
### invoke stream response_format opus-5-5-invoke
{"http_chunks":3,"content_chunks":2,"content":"{\"city\":\"Paris\"}","finish_reason":"stop","error":null}
### invoke response_format sonnet-5-5-invoke
{"finish_reason":"stop","content":"{\"city\":\"Paris\"}","tool_calls":null,"completion_tokens":12,"reasoning_tokens":0,"error":null}
### invoke response_format fable-5-1-invoke
{"finish_reason":"stop","content":"{\"city\":\"Paris\"}","tool_calls":null,"completion_tokens":12,"reasoning_tokens":0,"error":null}

Notes from the run

  • Caller tools still win over response_format, both legs
/live-pr-risk at bd9925f

Both trees ran 2-worker proxies with Postgres against real Bedrock in us-east-1, base 6be98d8 and head bd9925f, with a recording forward proxy in front of Bedrock on each side, and every outbound request was compared per cell (pass 1, pass 2). The branch merged with current main sent the same bodies as the head on all 22 cells it re-ran

Breaking

Nothing found. Every control cell sent byte-identical requests on both trees. Those cover Opus 5 and Sonnet 5, thinking requests, the model_info opt-out, json_object, both Mantle routes, and every /v1/messages invoke cell, including malformed output_config values. Client statuses match on every cell

Backward incompatible

On Opus 5.5, Sonnet 5.5 and Fable 5.1 without thinking, a json_schema response_format now sends native output in place of the json tool on Converse, invoke, /v1/responses, a router fallback, and beside a caller's own tools. Streams still call /converse, and spend drops with the shorter answers (Opus 5.5 went from 133 to 17 output tokens in pass 1). Requested in LIT-9752 by Ryan, the PR's purpose

/v1/messages with output_config.format on a bedrock/converse/ Opus 5.5 deployment goes native too and loses the default thinking block. Approved by Mateo Wang as the PR author in Decisions, under the default thinking trade

A native request Bedrock refuses, such as a backreference schema, costs two calls where it cost one, on Converse, streams and invoke. Approved by Mateo Wang as the PR author in Decisions

Regression risk

GovCloud and the eu., apac., jp. and au. profiles did not run live. The GovCloud rows opt out in the cost map, so a custom cost map without them sends GovCloud native first and relies on the retry, as the other profiles do. Bedrock batch keeps the json tool, with unit tests only

Dependency graph

Dependent Route Status
Converse chat and stream /v1/chat/completions live, native
Invoke chat and stream same live, native
Responses bridge /v1/responses live, native
Router fallback same as chat live, native
Caller tools same as chat live, native
Refused schema retry chat and invoke live, 2 calls
/v1/messages Converse /v1/messages live, native
/v1/messages invoke same live, unchanged
Opus 5, Sonnet 5 chat live, unchanged
Thinking requests chat live, unchanged
model_info opt-out chat live, unchanged
json_object chat live, unchanged
Both Mantle routes chat live, unchanged
Spend rows Postgres live
Refusal relay, invoke chat integration
GovCloud, batch any unit

Integration lanes on head pass, after this PR's own update to the Bedrock invoke json-mode refusal cases, which sent Sonnet 5.5 through the json tool. Those cases now pin the json tool through the model_info opt-out, and a new native case checks that a refusal's stop_details, text and content_filter finish still reach the caller and the log. The same cases pass on the base tree. The unit suite passes on head except one complexity router timing test, which passes alone on both trees

6ad6412 changes only that integration test, so this pass and the QA proof apply to it

Not verified

GovCloud has no quota for these models in our account, and the non-US profiles need calls from those regions. Bedrock batch did not run live

Type

🐛 Bug Fix

Caveats (if any)

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
Changes how Bedrock chat/invoke/messages build requests for structured output across many Claude SKUs, including streaming and retry behavior, though scoped to json_schema routing and with extensive test coverage.

Overview
Fixes json_schema / response_format on Bedrock Claude models that cannot force the synthetic json_tool_call (e.g. Opus 5.5, Sonnet 5.5, Fable 5.1) by routing those requests to outputConfig / native structured output when thinking is off, instead of an unforced json tool that often returns wrong keys, fenced JSON, or empty content_filter replies.

Routing is split: bedrock_chat_uses_native_structured_output now also covers the “unforceable tool” case (unless supports_bedrock_native_structured_output is false in deployment model_info or the cost map), while bedrock_chat_opts_into_native_structured_output keeps the old “always native or thinking + opt-in” rule. Converse, invoke, and apply_bedrock_invoke_structured_output (with a chat_uses_native_output hook) use that split; Bedrock Mantle still opts into native only via the narrower helper so it keeps the json-tool fallback.

Streaming: fake_stream is set only when structured output still uses the json-tool path, or when native output is “opt-in/thinking” style—not when native is chosen solely because the model can’t force the tool (those streams stay faked like before for InvokeModel-only permissions). GovCloud Fable rows get explicit supports_bedrock_native_structured_output: false in the model cost map. /v1/messages native-output retry fallback is limited to deployment opt-in sends, not inlined-schema paths.

Integration and unit tests cover converse/invoke native vs tool routes, rejection retries, streams, caller tools beside schema, and Mantle unchanged behavior.

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

… models that cannot force a tool

Opus 5.5 and Sonnet 5.5 on Bedrock cannot force the json tool, so a json_schema request without thinking
sent an unforced json tool the model ignored. The opt-in native output key now also applies when the model
map says the model cannot force a tool, and the Opus 5.5 commercial Bedrock rows carry the opt-in key. The
GovCloud Opus 5.5 rows carry it as false, like the Sonnet 5.5 GovCloud rows
@mateo-berri

Copy link
Copy Markdown
Contributor

@greptileai

@greptile-apps

greptile-apps Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge, with no new actionable issues found

Summary

The PR sends native structured output to supported Bedrock Claude models that cannot force a tool, while keeping the existing fallback and thinking choices

The latest commit only updates refusal tests. It adds native Invoke coverage and explicitly opts out of native output for the existing tool cases. No new actionable issues were found. Tests were not run during this review

  • Bedrock chat uses native schemas when Claude cannot force the JSON tool.

Reviews (7) · Last reviewed commit: "test(bedrock): cover native output and t..." · Reviewed by Greptile

Comment thread litellm/llms/bedrock/common_utils.py Resolved
@codspeed

codspeed Bot commented Nov 2, 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 tavren27:litellm_bedrock_native_output_without_forced_tool (6ad6412) with main (acd084a)1

Open in CodSpeed

Footnotes

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

@codecov

codecov Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.05882% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...tellm/llms/bedrock/chat/converse_transformation.py 66.66% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

… and GovCloud on the tool

Native output without thinking now applies to every Bedrock Claude model that cannot
force the json tool unless supports_bedrock_native_structured_output is false, so Opus 5.5
needs no opt-in row and keeps the json tool when thinking is requested, as BerriAI#46870 chose.
The invoke chat path keeps the native output_format it built instead of inlining it, and
GovCloud region-path ids read their own false rows.
…bedrock_native_output_without_forced_tool

# Conflicts:
#	tests/unit/llms/bedrock/chat/invoke_transformations/test_bedrock_chat_invoke_transformations_anthropic_claude_transformation.py
@mateo-berri

Copy link
Copy Markdown
Contributor

@greptileai

@mateo-berri

Copy link
Copy Markdown
Contributor

@greptileai

@mateo-berri

Copy link
Copy Markdown
Contributor

@greptileai

…eplaces the json tool

A json_schema stream that goes native only because the model can't force the json tool now keeps the json tool's faked stream, so it still needs only bedrock:InvokeModel. /v1/messages builds a native-output retry only where it sends native output, and the Mantle test drops its mutable capture.
@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 6ad6412. 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 94b5b63 into BerriAI:main Nov 3, 2026
93 checks passed
mateo-berri added a commit to quietjules/litellm that referenced this pull request Nov 3, 2026
…thinking_json_schema

Main's BerriAI#49703 sends native output to Bedrock Claude models that cannot force the json tool, unless the request asks
for thinking or the deployment opts out. This branch drops the forced json tool when Claude will think. Both now
hold: the opt-in path keys on will_think, and the unforceable-model fallback keeps main's request-only thinking check.

bedrock_chat_uses_native_structured_output takes will_think and thinking_requested, and the Mantle override passes
will_think to its opt-in check. The refusal wire test takes main's json-tool deployment route, attributes.rs takes
main's single thinking_on_by_default field, and main's can-force-tool rows turn thinking off, since their stand-in
model thinks by default
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