diff --git a/surfaces/gui/src/components/Composer.tsx b/surfaces/gui/src/components/Composer.tsx index 7862a37f..4ac81bdb 100644 --- a/surfaces/gui/src/components/Composer.tsx +++ b/surfaces/gui/src/components/Composer.tsx @@ -587,11 +587,14 @@ function UsageChip({ : null; const labelFor = (id: string) => id === "unknown" ? "Unknown model" : modelLabels?.[id] || shortModel(id); + // One field per line, session-summed (owner ask 2026-07-28). Values are cumulative + // across the whole session, never just the last turn; "Input" is the fresh + // (uncached) share — the cached share sits in the cache rows at its own price. const stat = (label: string, value: number) => ( - +
{label} {formatTokens(value)} - +
); return (
@@ -655,7 +658,7 @@ function UsageChip({
{labelFor(id)}
-
+
{stat("Input", t.input)} {stat("Output", t.output)} {t.cache_read > 0 && stat("Cache read", t.cache_read)}