-
+
{displayPct} • {used} / {total} tokens
+ {costText ? (
+ • {costText}
+ ) : null}
-
-
- {hasUsage && uBreakdown.cacheReads && uBreakdown.cacheReads > 0 && (
-
- )}
- {hasUsage &&
- uBreakdown.cacheWrites &&
- uBreakdown.cacheWrites > 0 && (
-
+
+
- )}
-
-
-
0 ? reasoningTokens : undefined}
- costText={reasoningCostText}
- />
- {costText && (
- <>
-
-
-
Total cost
-
{costText}
+
+
+
+
+
+
+
+
+ Cache Hits
+
+ {fmtOrUnknown(uBreakdown.cacheReads)}
- >
- )}
-
+
+
+
+ Cache Writes
+
+ {fmtOrUnknown(uBreakdown.cacheWrites)}
+
+
+
+
+ Input
+
+ {formatTokens(uNorm.input)}
+
+
+
+
+ Output
+
+ {formatTokens(uNorm.output)}
+
+
+
+ )}
+ {showBreakdown && (
+
+
+ Cache Hits
+ {fmtOrUnknown(uBreakdown.cacheReads)}
+
+
+ Cache Writes
+ {fmtOrUnknown(uBreakdown.cacheWrites)}
+
+
+ Input
+ {formatTokens(uNorm.input)}
+
+
+ Output
+ {formatTokens(uNorm.output)}
+
+ {costText && (
+ <>
+
+
+ Total cost
+ {costText}
+
+ >
+ )}
+
+ )}