- {data.map((tier) => {
- const isFast = tier.serviceTier === "priority";
- const requestPct =
- totalRequests > 0
- ? ((Number(tier.requests || 0) / totalRequests) * 100).toFixed(1)
- : "0";
- const costPct =
- totalCost > 0 ? ((Number(tier.cost || 0) / totalCost) * 100).toFixed(1) : "0";
- return (
-
-
-
-
- {isFast ? "bolt" : "speed"}
-
-
-
{tier.label}
-
- {fmtFull(tier.requests)} requests · {fmt(tier.totalTokens)} tokens
-
-
-
-
-
- {fmtCost(tier.cost)}
-
-
{costPct}% of cost
-
-
-
-
- );
- })}
-
-