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]

Merge branch 'litellm_internal_staging' of https://github.com/BerriAI/litellm into friendli/glm-5.3

mateo-berriabbccd3fd630
diff --cc litellm/model_prices_and_context_window_backup.json
index f70a0ac63d9,ff453ba414e..6518db18327
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@@ -19564,33 -19566,34 +19566,61 @@@
"supports_system_messages": true,
"supports_tool_choice": true
},
+ "friendliai/zai-org/GLM-5.3-Flash": {
+ "litellm_provider": "friendliai",
+ "supports_reasoning": true,
+ "supports_function_calling": true,
+ "max_input_tokens": 1048576,
+ "max_tokens": 1048576,
+ "max_output_tokens": 1048576,
+ "input_cost_per_token": 1.5e-07,
+ "output_cost_per_token": 5e-07,
+ "cache_read_input_token_cost": 3e-08,
+ "supports_prompt_caching": true,
+ "reasoning_effort_levels": [
+ "low",
+ "high",
+ "max"
+ ],
+ "supports_parallel_function_calling": true,
+ "supports_response_schema": true,
+ "supports_native_structured_output": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "mode": "chat",
+ "comment": "Native multimodal GLM model for efficient coding and long-horizon agent tasks",
+ "source": "https://api.friendli.ai/serverless/v1/models",
+ "supports_vision": true,
+ "supports_image_input": true,
+ "supports_video_input": true
+ },
+ "friendliai/zai-org/GLM-5.3": {
+ "litellm_provider": "friendliai",
+ "supports_reasoning": true,
+ "supports_function_calling": true,
+ "max_input_tokens": 1048576,
+ "max_tokens": 1048576,
+ "max_output_tokens": 1048576,
+ "input_cost_per_token": 1.26e-06,
+ "output_cost_per_token": 3.96e-06,
+ "cache_read_input_token_cost": 2.34e-07,
+ "supports_prompt_caching": true,
+ "reasoning_effort_levels": [
+ "low",
+ "high",
+ "max"
+ ],
+ "supports_parallel_function_calling": true,
+ "supports_response_schema": true,
+ "supports_native_structured_output": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "mode": "chat",
+ "comment": "Flagship GLM model for long-horizon coding, agents, and complex project delivery",
+ "source": "https://api.friendli.ai/serverless/v1/models",
+ "supports_vision": false,
+ "supports_image_input": false
+ },
"ft:babbage-002": {
"deprecation_date": "2026-10-23",
"input_cost_per_token": 1.6e-06,
diff --cc model_prices_and_context_window.json
index f70a0ac63d9,ff453ba414e..6518db18327
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@@ -19564,33 -19566,34 +19566,61 @@@
"supports_system_messages": true,
"supports_tool_choice": true
},
+ "friendliai/zai-org/GLM-5.3-Flash": {
+ "litellm_provider": "friendliai",
+ "supports_reasoning": true,
+ "supports_function_calling": true,
+ "max_input_tokens": 1048576,
+ "max_tokens": 1048576,
+ "max_output_tokens": 1048576,
+ "input_cost_per_token": 1.5e-07,
+ "output_cost_per_token": 5e-07,
+ "cache_read_input_token_cost": 3e-08,
+ "supports_prompt_caching": true,
+ "reasoning_effort_levels": [
+ "low",
+ "high",
+ "max"
+ ],
+ "supports_parallel_function_calling": true,
+ "supports_response_schema": true,
+ "supports_native_structured_output": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "mode": "chat",
+ "comment": "Native multimodal GLM model for efficient coding and long-horizon agent tasks",
+ "source": "https://api.friendli.ai/serverless/v1/models",
+ "supports_vision": true,
+ "supports_image_input": true,
+ "supports_video_input": true
+ },
+ "friendliai/zai-org/GLM-5.3": {
+ "litellm_provider": "friendliai",
+ "supports_reasoning": true,
+ "supports_function_calling": true,
+ "max_input_tokens": 1048576,
+ "max_tokens": 1048576,
+ "max_output_tokens": 1048576,
+ "input_cost_per_token": 1.26e-06,
+ "output_cost_per_token": 3.96e-06,
+ "cache_read_input_token_cost": 2.34e-07,
+ "supports_prompt_caching": true,
+ "reasoning_effort_levels": [
+ "low",
+ "high",
+ "max"
+ ],
+ "supports_parallel_function_calling": true,
+ "supports_response_schema": true,
+ "supports_native_structured_output": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "mode": "chat",
+ "comment": "Flagship GLM model for long-horizon coding, agents, and complex project delivery",
+ "source": "https://api.friendli.ai/serverless/v1/models",
+ "supports_vision": false,
+ "supports_image_input": false
+ },
"ft:babbage-002": {
"deprecation_date": "2026-10-23",
"input_cost_per_token": 1.6e-06,