| model | No | Optional model identifier to attach to the usage event. | |
| status | No | Optional completion status for the usage event. | |
| runtime | No | Optional client runtime that executed the prompt, such as codex or chatgpt. | |
| provider | No | Optional model provider name to attach to the usage event. | |
| contextId | No | Optional Context identifier associated with the usage event. | |
| latencyMs | No | Optional end-to-end latency for the model run in milliseconds. | |
| workflowId | No | Optional Workflow identifier associated with the usage event. | |
| inputTokens | No | Optional billed input token count reported by the model provider. | |
| outputTokens | No | Optional billed output token count reported by the model provider. | |
| usageEventId | Yes | The usage event identifier returned by a prior Oi tool call. | |
| contextTokens | No | Optional token count attributable to Context instructions. | |
| reasoningTokens | No | Optional reasoning token count reported by the model provider. | |
| userPromptTokens | No | Optional token count attributable to the user prompt. | |
| cachedInputTokens | No | Optional cached input token count reported by the model provider. | |
| promptTokenEstimate | No | Optional total estimated prompt tokens for the compiled request. | |
| cacheWriteInputTokens | No | Optional cache write token count reported by the model provider. | |
| compressionInputTokens | No | Optional compressed input token count reported by the model provider. | |
| compressionOutputTokens | No | Optional compressed output token count reported by the model provider. | |