Skip to content

armgit / dify

Public Imported from GitHub
0

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.

chore: Update TongYi models prices (#2890)

Su Yang7e3c59e53ef8
diff --git a/api/core/model_runtime/model_providers/tongyi/llm/qwen-max-1201.yaml b/api/core/model_runtime/model_providers/tongyi/llm/qwen-max-1201.yaml
index 3461863e676..e0ba6fe4a84 100644
--- a/api/core/model_runtime/model_providers/tongyi/llm/qwen-max-1201.yaml
+++ b/api/core/model_runtime/model_providers/tongyi/llm/qwen-max-1201.yaml
@@ -59,3 +59,8 @@ parameter_rules:
required: false
- name: response_format
use_template: response_format
+pricing:
+ input: '0.12'
+ output: '0.12'
+ unit: '0.001'
+ currency: RMB
diff --git a/api/core/model_runtime/model_providers/tongyi/llm/qwen-max-longcontext.yaml b/api/core/model_runtime/model_providers/tongyi/llm/qwen-max-longcontext.yaml
index 9089c5904a0..e2a291cc595 100644
--- a/api/core/model_runtime/model_providers/tongyi/llm/qwen-max-longcontext.yaml
+++ b/api/core/model_runtime/model_providers/tongyi/llm/qwen-max-longcontext.yaml
@@ -59,3 +59,8 @@ parameter_rules:
required: false
- name: response_format
use_template: response_format
+pricing:
+ input: '0.12'
+ output: '0.12'
+ unit: '0.001'
+ currency: RMB
diff --git a/api/core/model_runtime/model_providers/tongyi/llm/qwen-max.yaml b/api/core/model_runtime/model_providers/tongyi/llm/qwen-max.yaml
index eb1e8ac09b4..8260b5081d5 100644
--- a/api/core/model_runtime/model_providers/tongyi/llm/qwen-max.yaml
+++ b/api/core/model_runtime/model_providers/tongyi/llm/qwen-max.yaml
@@ -59,3 +59,8 @@ parameter_rules:
required: false
- name: response_format
use_template: response_format
+pricing:
+ input: '0.12'
+ output: '0.12'
+ unit: '0.001'
+ currency: RMB