gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

Report total input tokens with cached and non-cached breakdown

Open jacob314 opened this issue 2 weeks ago • 2 comments

Not showing the uncached token count prominently makes the total token usage seem much higher than it is as cached tokens are very cheap.

Gemini 3.0 makes a large # of small requests that much better utilize cached tokens which makes the total token count very misleading. We should instead show the number of non-cached tokens as the input tokens as that is the meaningful stat for most users.

We should likely indicate the # of cached tokens at least for API Key users but need to make sure we don't do it in a way that causes people to be confused about cost of overall efficiency.

jacob314 avatar Dec 04 '25 19:12 jacob314

@jacob314 Please help me clear some doubts about the UX , do you want to add another columns after the Output Tokens

Cached Token 2307 (24%)

Image

korade-krushna avatar Dec 06 '25 20:12 korade-krushna

My preference for the UX is it is as clear as possible that the what the number of uncached tokens is as that is the most critical number for performance and cost. We're still having discussions with UX on how to solve that.

jacob314 avatar Dec 10 '25 16:12 jacob314

Landed with https://github.com/google-gemini/gemini-cli/pull/14961

jacob314 avatar Dec 12 '25 18:12 jacob314