totalUsage

open fun totalUsage(): Usage

Total token usage combining LLM and embedding invocations, including any child processes when the implementation supports subtree aggregation. Use this when you want the full token usage; use usage for LLM-only.