Gemini 3.5 Flash-Lite – Billing of total_tool_use_tokens in Interactions API

Hello,

We are developing a customer-facing assistant using Gemini 3.5 Flash-Lite through the Interactions API (POST /v1beta/interactions).

We need clarification regarding token accounting and billing.

The API response includes:

  • total_input_tokens

  • total_output_tokens

  • total_thought_tokens

  • total_tool_use_tokens

  • total_tokens

Our questions:

  1. Are total_tool_use_tokens already included in total_input_tokens or total_tokens, or are they billed separately?

  2. Can tool-use tokens cause the total billable input to exceed the model’s documented maximum input token limit of 1,048,576 tokens per request?

  3. Is total_output_tokens inclusive of total_thought_tokens for billing purposes?

We need to establish a safe upper cost bound before sending each API request.

Could you please clarify the billing rules for this specific model and endpoint, preferably with a reference to official documentation?

Thank you.