fix: 模型价格

This commit is contained in:
1808837298@qq.com committed 2024-05-21 21:07:32 +08:00
1 parent 99f00404d8
commit f84c9d3434
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -149,7 +149,7 @@ export function renderModelPrice(
if (completionRatio === undefined) {
completionRatio = 0;
}
let inputRatioPrice = modelRatio * groupRatio;
let inputRatioPrice = modelRatio * 2.0 * groupRatio;
let completionRatioPrice = modelRatio * completionRatio * groupRatio;
let price =
(inputTokens / 1000000) * inputRatioPrice +