# Gemini usage includes hosted-tool prompt tokens

> Gemini token usage now includes provider-reported tool-use prompts, preserving cache accounting across streaming, continuation, recovery and batch responses.

Source: <https://everruns.com/docs/changelog/2026-11-04-gemini-tool-use-tokens/>

Date: 2026-11-04
Products: Framework, Platform
Category: Fix
Available: In 0.51.0

Gemini responses now count provider-reported tool-use prompt tokens as additional uncached input. Previously, those tokens were omitted from reported input and total usage. For example, 100 prompt tokens, 30 cached tokens and 7 tool-use prompt tokens now report 77 uncached input tokens and 30 cached tokens.

The correction applies to streaming, whole responses and batch results. Continuation requests retain their per-request billing totals; repeated cumulative frames and checkpoint recovery do not count the same tool-use tokens twice. See [Google Gemini](https://everruns.com/docs/providers/gemini/) for usage and continuation behavior.