feat(stats): use catalog pricing in efficiency and token costs
This commit is contained in:
parent
44308dfd7e
commit
ba2455ecc7
5 changed files with 134 additions and 14 deletions
|
|
@ -427,7 +427,6 @@ function buildTokenCost(rows: StatMetricRow[], product: TokenProduct, window: Da
|
|||
return topModelsByUsage(rows, product, window)
|
||||
.flatMap((item) => {
|
||||
const total = costPerMillion(item.totalCostMicrocents, item.totalTokens)
|
||||
if (total === 0) return []
|
||||
return [
|
||||
{
|
||||
model: item.model,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue