Skip to content

Commit 244732f

Browse files
authored
fix: update GPU pricing to use weighted average instead of average
fix: update GPU pricing to use weighted average instead of average
2 parents 1344b2d + 3ede4c8 commit 244732f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/home/ExpandedGpuPricing.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,13 +201,13 @@ const ExpandedGpu = () => {
201201
if (result) {
202202
const a100Price = result?.data?.models?.find((model) =>
203203
model?.model?.includes("a100"),
204-
)?.price?.avg;
204+
)?.price?.weightedAverage;
205205
const h100Price = result?.data?.models?.find((model) =>
206206
model?.model?.includes("h100"),
207-
)?.price?.avg;
207+
)?.price?.weightedAverage;
208208
const h200Price = result?.data?.models?.find((model) =>
209209
model?.model?.includes("h200"),
210-
)?.price?.avg;
210+
)?.price?.weightedAverage;
211211

212212
if (h100Price) {
213213
data[1][1] = `$${h100Price?.toFixed(2)?.toString()}`;

0 commit comments

Comments
 (0)