Usage objects
In chat responses:
json
"usage": {"prompt_tokens": 24, "completion_tokens": 60, "total_tokens": 84}In Responses responses:
json
"usage": {"input_tokens": 30, "output_tokens": 120, "total_tokens": 150}On streamed responses, usage arrives at the end of the stream. There is no separate reasoning token field; thinking steps are included in the total.
Tracking
Every request is recorded per key: model, prompt/completion/total tokens, stream flag, endpoint, status and latency. On the Usage page you see request logs; on the Models page, per-model daily/weekly/monthly consumption bars. Each image part in visual inputs counts as extra tokens.
