File tree Expand file tree Collapse file tree
packages/console/app/src/routes/zen/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -919,6 +919,13 @@ export async function handler(
919919 "tokens.cache_read" : cacheReadTokens ,
920920 "tokens.cache_write_5m" : cacheWrite5mTokens ,
921921 "tokens.cache_write_1h" : cacheWrite1hTokens ,
922+ "cost.input.microcents" : centsToMicroCents ( inputCost ) ,
923+ "cost.output.microcents" : centsToMicroCents ( outputCost ) ,
924+ "cost.reasoning.microcents" : reasoningCost ? centsToMicroCents ( reasoningCost ) : undefined ,
925+ "cost.cache_read.microcents" : cacheReadCost ? centsToMicroCents ( cacheReadCost ) : undefined ,
926+ "cost.cache_write.microcents" : cacheWrite5mCost ? centsToMicroCents ( cacheWrite5mCost ) : undefined ,
927+ "cost.total.microcents" : centsToMicroCents ( totalCostInCent ) ,
928+ // deprecated - remove after May 20, 2026
922929 "cost.input" : Math . round ( inputCost ) ,
923930 "cost.output" : Math . round ( outputCost ) ,
924931 "cost.reasoning" : reasoningCost ? Math . round ( reasoningCost ) : undefined ,
You can’t perform that action at this time.
0 commit comments