Usage
Parameters and properties
Section titled “Parameters and properties”completeOptionalboolean | undefinedFalse when some usage could not be measured, so the counters are a lower bound; aggregation and checkpoint replay keep it. Omitted means the counters are complete as reported, not a billing guarantee.inputRequirednumberInput tokens as the agent or model provider reports them. The built-in model providers and Codex count cached tokens inside input; Claude Code and Kimi Code report them only in cached and cacheCreated.cachedRequirednumberReported input tokens served from the model’s cache.cacheCreatedOptionalnumber | undefinedReported tokens written into the model’s cache, when the protocol supplies them.outputRequirednumberReported output tokens generated by the model.