> ## Documentation Index > Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt > Use this file to discover all available pages before exploring further. # BatchListItemUsage ## Example Usage ```typescript theme={null} import { BatchListItemUsage } from "@openrouter/sdk/models"; let value: BatchListItemUsage = { completionTokens: 818865, promptTokens: 213947, totalTokens: 199138, }; ``` ## Fields | Field | Type | Required | Description | Example | | - | - | - | - | - | | `cacheCreation` | [models.AnthropicCacheCreation](../models/anthropiccachecreation.mdx) | ➖ | N/A | \{ "ephemeral\_1h\_input\_tokens": 0, "ephemeral\_5m\_input\_tokens": 100 } | | `completionTokens` | *number* | ✔️ | The tokens generated | | | `completionTokensDetails` | [models.BatchListItemCompletionTokensDetails](../models/batchlistitemcompletiontokensdetails.mdx) | ➖ | N/A | | | `cost` | *number* | ➖ | Cost of the completion | | | `costDetails` | [models.CostDetails](../models/costdetails.mdx) | ➖ | Breakdown of upstream inference costs | \{ "upstream\_inference\_completions\_cost": 0.0004, "upstream\_inference\_cost": null, "upstream\_inference\_prompt\_cost": 0.0008 } | | `isByok` | *boolean* | ➖ | Whether a request was made using a Bring Your Own Key configuration | | | `iterations` | *models.AnthropicUsageIteration*\[] | ➖ | N/A | | | `promptTokens` | *number* | ✔️ | Including images, input audio, and tools if any | | | `promptTokensDetails` | [models.BatchListItemPromptTokensDetails](../models/batchlistitemprompttokensdetails.mdx) | ➖ | Breakdown of tokens used in the prompt. | | | `serverToolUse` | [models.BatchListItemServerToolUse](../models/batchlistitemservertooluse.mdx) | ➖ | Usage for server-side tool execution (e.g., web search) | | | `serviceTier` | *string* | ➖ | The service tier used by the upstream provider for this request | | | `speed` | [models.AnthropicSpeed](../models/anthropicspeed.mdx) | ➖ | N/A | standard | | `totalTokens` | *number* | ✔️ | Sum of the above two fields | |