Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: glm models prices and max_tokens correction (#7882)
orangeclk3f2a806abe98
diff --git a/api/core/model_runtime/model_providers/zhipuai/llm/glm-4-flash.yaml b/api/core/model_runtime/model_providers/zhipuai/llm/glm-4-flash.yamlindex 1b1d499ba73..0e3c001f06b 100644--- a/api/core/model_runtime/model_providers/zhipuai/llm/glm-4-flash.yaml+++ b/api/core/model_runtime/model_providers/zhipuai/llm/glm-4-flash.yaml@@ -38,7 +38,7 @@ parameter_rules:min: 1max: 8192pricing:- input: '0.0001'- output: '0.0001'+ input: '0'+ output: '0'unit: '0.001'currency: RMBdiff --git a/api/core/model_runtime/model_providers/zhipuai/llm/glm_3_turbo.yaml b/api/core/model_runtime/model_providers/zhipuai/llm/glm_3_turbo.yamlindex 5bdb4428403..b0f95c0a68e 100644--- a/api/core/model_runtime/model_providers/zhipuai/llm/glm_3_turbo.yaml+++ b/api/core/model_runtime/model_providers/zhipuai/llm/glm_3_turbo.yaml@@ -37,3 +37,8 @@ parameter_rules:default: 1024min: 1max: 8192+pricing:+ input: '0.001'+ output: '0.001'+ unit: '0.001'+ currency: RMBdiff --git a/api/core/model_runtime/model_providers/zhipuai/llm/glm_4.yaml b/api/core/model_runtime/model_providers/zhipuai/llm/glm_4.yamlindex 6b5bcc5bcf4..271eecf199c 100644--- a/api/core/model_runtime/model_providers/zhipuai/llm/glm_4.yaml+++ b/api/core/model_runtime/model_providers/zhipuai/llm/glm_4.yaml@@ -37,3 +37,8 @@ parameter_rules:default: 1024min: 1max: 8192+pricing:+ input: '0.1'+ output: '0.1'+ unit: '0.001'+ currency: RMBdiff --git a/api/core/model_runtime/model_providers/zhipuai/llm/glm_4_long.yaml b/api/core/model_runtime/model_providers/zhipuai/llm/glm_4_long.yamlindex 9d92e58f6cd..150e07b60af 100644--- a/api/core/model_runtime/model_providers/zhipuai/llm/glm_4_long.yaml+++ b/api/core/model_runtime/model_providers/zhipuai/llm/glm_4_long.yaml@@ -30,4 +30,9 @@ parameter_rules:use_template: max_tokensdefault: 1024min: 1- max: 4096+ max: 8192+pricing:+ input: '0.001'+ output: '0.001'+ unit: '0.001'+ currency: RMBdiff --git a/api/core/model_runtime/model_providers/zhipuai/llm/glm_4_plus.yaml b/api/core/model_runtime/model_providers/zhipuai/llm/glm_4_plus.yamlindex d9132640b29..237a951cd5a 100644--- a/api/core/model_runtime/model_providers/zhipuai/llm/glm_4_plus.yaml+++ b/api/core/model_runtime/model_providers/zhipuai/llm/glm_4_plus.yaml@@ -37,3 +37,8 @@ parameter_rules:default: 1024min: 1max: 8192+pricing:+ input: '0.05'+ output: '0.05'+ unit: '0.001'+ currency: RMBdiff --git a/api/core/model_runtime/model_providers/zhipuai/llm/glm_4v.yaml b/api/core/model_runtime/model_providers/zhipuai/llm/glm_4v.yamlindex ddea331c8e4..c7a4093d7aa 100644--- a/api/core/model_runtime/model_providers/zhipuai/llm/glm_4v.yaml+++ b/api/core/model_runtime/model_providers/zhipuai/llm/glm_4v.yaml@@ -34,4 +34,9 @@ parameter_rules:use_template: max_tokensdefault: 1024min: 1- max: 8192+ max: 1024+pricing:+ input: '0.05'+ output: '0.05'+ unit: '0.001'+ currency: RMBdiff --git a/api/core/model_runtime/model_providers/zhipuai/llm/glm_4v_plus.yaml b/api/core/model_runtime/model_providers/zhipuai/llm/glm_4v_plus.yamlindex 4a45c65f641..a7aee5b4ca2 100644--- a/api/core/model_runtime/model_providers/zhipuai/llm/glm_4v_plus.yaml+++ b/api/core/model_runtime/model_providers/zhipuai/llm/glm_4v_plus.yaml@@ -34,4 +34,9 @@ parameter_rules:use_template: max_tokensdefault: 1024min: 1- max: 8192+ max: 1024+pricing:+ input: '0.01'+ output: '0.01'+ unit: '0.001'+ currency: RMB