OptionalInputInput tokens reported in this update (a delta for the completed response/turn).
OptionalOutputOutput tokens reported in this update (a delta for the completed response/turn).
OptionalRawThe raw provider usage payload, for hosts that want provider-specific detail.
A usage/telemetry update emitted by a realtime client.
Deltas preferred: each emission SHOULD carry the incremental token counts for the response/turn that just completed (not a session-cumulative running total), matching the server-side
RealtimeUsagecontract — consumers accumulate. A driver whose provider only reports cumulative totals must convert to deltas before emitting.Per-driver availability (capability, not laziness — providers without usage events simply never emit):
response.doneframe'susagepayload.LiveServerMessage.usageMetadata(promptTokenCount/responseTokenCountare per-response counts, not cumulative).