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

# BatchObjectPromptTokensDetails

Breakdown of tokens used in the prompt.

## Fields

| Field                | Type                     | Required             | Description                                                                                      |
| -------------------- | ------------------------ | -------------------- | ------------------------------------------------------------------------------------------------ |
| `audio_tokens`       | *OptionalNullable\[int]* | :heavy\_minus\_sign: | Tokens used for input audio.                                                                     |
| `cache_write_tokens` | *OptionalNullable\[int]* | :heavy\_minus\_sign: | Tokens written to cache. Only returned for models with explicit caching and cache write pricing. |
| `cached_tokens`      | *OptionalNullable\[int]* | :heavy\_minus\_sign: | Tokens cached by the endpoint.                                                                   |
| `file_tokens`        | *OptionalNullable\[int]* | :heavy\_minus\_sign: | Tokens used for input files/documents.                                                           |
| `video_tokens`       | *OptionalNullable\[int]* | :heavy\_minus\_sign: | Tokens used for input video.                                                                     |
