CalciumIon 1 год назад
Родитель
Сommit
e062cf32e3
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      web/src/helpers/render.js

+ 2 - 2
web/src/helpers/render.js

@@ -153,8 +153,8 @@ export function renderModelPrice(
     let inputRatioPrice = modelRatio * 2.0;
     let inputRatioPrice = modelRatio * 2.0;
     let completionRatioPrice = modelRatio * 2.0 * completionRatio;
     let completionRatioPrice = modelRatio * 2.0 * completionRatio;
     let price =
     let price =
-      (inputTokens / 1000000) * inputRatioPrice +
-      (completionTokens / 1000000) * completionRatioPrice;
+      (inputTokens / 1000000) * inputRatioPrice * groupRatio +
+      (completionTokens / 1000000) * completionRatioPrice * groupRatio;
     return (
     return (
       <>
       <>
         <article>
         <article>