Skip to content

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]

fix(friendli): declare GLM-5.3-Flash reasoning efforts as explicit levels

mateo-berria90fb538bfd0
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index fd6b9e11adf..f0e95d77018 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -19575,8 +19575,11 @@
"output_cost_per_token": 5e-07,
"cache_read_input_token_cost": 3e-08,
"supports_prompt_caching": true,
- "supports_max_reasoning_effort": true,
- "supports_low_reasoning_effort": true,
+ "reasoning_effort_levels": [
+ "low",
+ "high",
+ "max"
+ ],
"supports_parallel_function_calling": true,
"supports_response_schema": true,
"supports_native_structured_output": true,
diff --git a/tests/test_litellm/test_friendli_glm_5_3_flash_model_metadata.py b/tests/test_litellm/test_friendli_glm_5_3_flash_model_metadata.py
index 0acd750e49a..7e94205fb09 100644
--- a/tests/test_litellm/test_friendli_glm_5_3_flash_model_metadata.py
+++ b/tests/test_litellm/test_friendli_glm_5_3_flash_model_metadata.py
@@ -23,8 +23,7 @@ def test_friendli_glm_5_3_flash_model_info():
assert info["max_output_tokens"] == 1048576
assert info["supports_function_calling"] is True
assert info["supports_reasoning"] is True
- assert info["supports_low_reasoning_effort"] is True
- assert info["supports_max_reasoning_effort"] is True
+ assert info["reasoning_effort_levels"] == ["low", "high", "max"]
assert info["supports_tool_choice"] is True
assert info["supports_prompt_caching"] is True
assert info["supports_vision"] is True