junie-explorer icon indicating copy to clipboard operation
junie-explorer copied to clipboard

GPT-5 cacheCreateInputTokens accounting is not consistent with Sonnet

Open dmeehan1968 opened this issue 4 months ago • 0 comments

See Task.ts:226 (approx, starts with definition of isGpt5AssistantEvent) for compensation by calculating the difference in cacheInputTokens which is normally cumulative (we don't normally use the cacheInputTokens as a result).

There also seems to be an issue where the last response returns the total inputTokens for the session.

dmeehan1968 avatar Aug 12 '25 12:08 dmeehan1968