The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix: expose reasoning effort fields in get_model_info + add together_ai/gpt-oss-120b (#25263)
Austin Varga541e81de2fef
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex d781c91992d..22368f7a2f7 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -28551,12 +28551,15 @@"together_ai/openai/gpt-oss-120b": {"input_cost_per_token": 1.5e-07,"litellm_provider": "together_ai",- "max_input_tokens": 128000,+ "max_input_tokens": 131072,+ "max_output_tokens": 131072,+ "max_tokens": 131072,"mode": "chat","output_cost_per_token": 6e-07,"source": "https://www.together.ai/models/gpt-oss-120b","supports_function_calling": true,"supports_parallel_function_calling": true,+ "supports_reasoning": true,"supports_response_schema": true,"supports_tool_choice": true},diff --git a/litellm/utils.py b/litellm/utils.pyindex f902644e760..3b5abbbddad 100644--- a/litellm/utils.py+++ b/litellm/utils.py@@ -5872,6 +5872,8 @@ def _get_model_info_helper( # noqa: PLR0915supports_web_search=_model_info.get("supports_web_search", None),supports_url_context=_model_info.get("supports_url_context", None),supports_reasoning=_model_info.get("supports_reasoning", None),+ supports_none_reasoning_effort=_model_info.get("supports_none_reasoning_effort", None),+ supports_xhigh_reasoning_effort=_model_info.get("supports_xhigh_reasoning_effort", None),supports_computer_use=_model_info.get("supports_computer_use", None),search_context_cost_per_query=_model_info.get("search_context_cost_per_query", Nonediff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex cfdb2911fdf..334aa157fa2 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -28536,12 +28536,15 @@"together_ai/openai/gpt-oss-120b": {"input_cost_per_token": 1.5e-07,"litellm_provider": "together_ai",- "max_input_tokens": 128000,+ "max_input_tokens": 131072,+ "max_output_tokens": 131072,+ "max_tokens": 131072,"mode": "chat","output_cost_per_token": 6e-07,"source": "https://www.together.ai/models/gpt-oss-120b","supports_function_calling": true,"supports_parallel_function_calling": true,+ "supports_reasoning": true,"supports_response_schema": true,"supports_tool_choice": true},