# get-inference-usage

Free; owner only.

Inputs: `keyId`, optional `limit` (1-100, default 50) and `offset`.

Returns NEAR-reported usage of the key's current secret (since its last rotation): per call the `model`, input, output and total tokens, `costUsd` and `createdAt`, with `total` entries available. NEAR reports usage with a short delay, so recent calls may be missing and the page is marked `provisional`. No prompts or outputs exist here to return.
