scope field says whose usage it is:
Credit usage isn’t recorded per API key, so an API key always sees the org’s totals.
Get usage
Response
Fields
Credit accounting
Credits are denominated in Sonnet-equivalent tokens. The model rate-ratios are:
A 100-token Haiku response consumes ~30 credits; a 100-token Opus response consumes ~170 credits. On the native streaming surface, the
credits_consumed field of the run.completed event shows the credit impact of that specific request; aggregate consumption is available from this endpoint.