SDK results now document exactly what token usage and dollar cost figures include, and that /clear resets them.
What's wrong with this entry?
Two long documentation strings now describe per-model usage and cumulative USD cost for a query() call.
- counted: the main loop, Task subagents, sidechains, compaction and Workflow agents
- excluded: the permission classifier and token-count probes
- values are cumulative per streaming turn and are reset by a mid-session
/clear - documented as the correct field for token and cost accounting, but an estimate rather than a billing statement
The correct field for token/cost accounting; treat it as an estimate, not a billing statement.
Strings lifted out of the shipped bundle, so the claim above can be checked against them.