v2.6.20

June 26, 2026

Get reliable structured output from LiteLLM providers

Turn on native structured outputs and JSON schema outputs for LiteLLM per provider with supports_native_structured_outputs or supports_json_schema_outputs. Providers that can enforce a schema natively now do, so you get dependable structured responses without a cleanup pass.

See the LiteLLM structured output docs for usage.