All GraphQL types · Operations
RunsRunUsageTokens
Response type in the GraphQL API.
Input excludes cache reads/writes; output includes reasoning. Total is input + output + cache.read + cache.write. Null means unknown, never zero.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Response type in the GraphQL API.
| Field | Type | Description |
|---|---|---|
input | Float | Input tokens excluding cache reads and writes. |
output | Float | Output tokens including reasoning. |
cache | RunsRunUsageTokensCache! | |
reasoning | Float | Reasoning tokens included in output. |
total | Float | Sum of input, output, cache-read and cache-write tokens. |