> ## 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

## Fields

| Field | Type | Required | Description | Example |
| - | - | - | - | - |
| `CacheCreation` | optionalnullable.OptionalNullable\[[components.AnthropicCacheCreation](../../models/components/anthropiccachecreation.mdx)] | :heavy\_minus\_sign: | N/A | \{<br />"ephemeral\_1h\_input\_tokens": 0,<br />"ephemeral\_5m\_input\_tokens": 100<br />} |
| `CompletionTokens` | `int64` | :heavy\_check\_mark: | The tokens generated | |
| `CompletionTokensDetails` | optionalnullable.OptionalNullable\[[components.BatchListItemCompletionTokensDetails](../../models/components/batchlistitemcompletiontokensdetails.mdx)] | :heavy\_minus\_sign: | N/A | |
| `Cost` | optionalnullable.OptionalNullable\[`float64`] | :heavy\_minus\_sign: | Cost of the completion | |
| `CostDetails` | optionalnullable.OptionalNullable\[[components.CostDetails](../../models/components/costdetails.mdx)] | :heavy\_minus\_sign: | Breakdown of upstream inference costs | \{<br />"upstream\_inference\_completions\_cost": 0.0004,<br />"upstream\_inference\_cost": null,<br />"upstream\_inference\_prompt\_cost": 0.0008<br />} |
| `IsBYOK` | `*bool` | :heavy\_minus\_sign: | Whether a request was made using a Bring Your Own Key configuration | |
| `Iterations` | optionalnullable.OptionalNullable\[\[][components.AnthropicUsageIteration](../../models/components/anthropicusageiteration.mdx)] | :heavy\_minus\_sign: | N/A | |
| `PromptTokens` | `int64` | :heavy\_check\_mark: | Including images, input audio, and tools if any | |
| `PromptTokensDetails` | optionalnullable.OptionalNullable\[[components.BatchListItemPromptTokensDetails](../../models/components/batchlistitemprompttokensdetails.mdx)] | :heavy\_minus\_sign: | Breakdown of tokens used in the prompt. | |
| `ServerToolUse` | optionalnullable.OptionalNullable\[[components.BatchListItemServerToolUse](../../models/components/batchlistitemservertooluse.mdx)] | :heavy\_minus\_sign: | Usage for server-side tool execution (e.g., web search) | |
| `ServiceTier` | optionalnullable.OptionalNullable\[`string`] | :heavy\_minus\_sign: | The service tier used by the upstream provider for this request | |
| `Speed` | optionalnullable.OptionalNullable\[[components.AnthropicSpeed](../../models/components/anthropicspeed.mdx)] | :heavy\_minus\_sign: | N/A | standard |
| `TotalTokens` | `int64` | :heavy\_check\_mark: | Sum of the above two fields | |
