Selaa lähdekoodia

Fix bedrock claude wrong pricing (#4572)

Co-authored-by: Justin Wu <justin.wu@ringcentral.com>
Justin Wu 11 kuukautta sitten
vanhempi
commit
3ab19be9ea

+ 2 - 2
api/core/model_runtime/model_providers/bedrock/llm/anthropic.claude-3-haiku-v1.yaml

@@ -51,7 +51,7 @@ parameter_rules:
       zh_Hans: 对于每个后续标记,仅从前 K 个选项中进行采样。使用 top_k 删除长尾低概率响应。
       en_US: Only sample from the top K options for each subsequent token. Use top_k to remove long tail low probability responses.
 pricing:
-  input: '0.003'
-  output: '0.015'
+  input: '0.00025'
+  output: '0.00125'
   unit: '0.001'
   currency: USD

+ 2 - 2
api/core/model_runtime/model_providers/bedrock/llm/anthropic.claude-3-sonnet-v1.yaml

@@ -50,7 +50,7 @@ parameter_rules:
       zh_Hans: 对于每个后续标记,仅从前 K 个选项中进行采样。使用 top_k 删除长尾低概率响应。
       en_US: Only sample from the top K options for each subsequent token. Use top_k to remove long tail low probability responses.
 pricing:
-  input: '0.00025'
-  output: '0.00125'
+  input: '0.003'
+  output: '0.015'
   unit: '0.001'
   currency: USD