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.

Revise the wrong pricing of certain LLM models. (#6967)

Pedro Gomesa34285196b80
diff --git a/api/core/model_runtime/model_providers/groq/llm/llama3-70b-8192.yaml b/api/core/model_runtime/model_providers/groq/llm/llama3-70b-8192.yaml
index 98655a4c9fc..91d0e307657 100644
--- a/api/core/model_runtime/model_providers/groq/llm/llama3-70b-8192.yaml
+++ b/api/core/model_runtime/model_providers/groq/llm/llama3-70b-8192.yaml
@@ -19,7 +19,7 @@ parameter_rules:
min: 1
max: 8192
pricing:
- input: '0.05'
- output: '0.1'
+ input: '0.59'
+ output: '0.79'
unit: '0.000001'
currency: USD
diff --git a/api/core/model_runtime/model_providers/groq/llm/llama3-8b-8192.yaml b/api/core/model_runtime/model_providers/groq/llm/llama3-8b-8192.yaml
index d85bb7709bc..b6154f761f4 100644
--- a/api/core/model_runtime/model_providers/groq/llm/llama3-8b-8192.yaml
+++ b/api/core/model_runtime/model_providers/groq/llm/llama3-8b-8192.yaml
@@ -19,7 +19,7 @@ parameter_rules:
min: 1
max: 8192
pricing:
- input: '0.59'
- output: '0.79'
+ input: '0.05'
+ output: '0.08'
unit: '0.000001'
currency: USD
diff --git a/api/core/model_runtime/model_providers/openai/llm/gpt-3.5-turbo.yaml b/api/core/model_runtime/model_providers/openai/llm/gpt-3.5-turbo.yaml
index d6338c3d194..6eb15e6c0df 100644
--- a/api/core/model_runtime/model_providers/openai/llm/gpt-3.5-turbo.yaml
+++ b/api/core/model_runtime/model_providers/openai/llm/gpt-3.5-turbo.yaml
@@ -37,7 +37,7 @@ parameter_rules:
- text
- json_object
pricing:
- input: '0.001'
- output: '0.002'
+ input: '0.0005'
+ output: '0.0015'
unit: '0.001'
currency: USD