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

## Example Usage

```typescript theme={null}
import { BatchObjectPromptTokensDetails } from "@openrouter/sdk/models";

let value: BatchObjectPromptTokensDetails = {};
```

## Fields

| Field              | Type     | Required             | Description                                                                                      |
| ------------------ | -------- | -------------------- | ------------------------------------------------------------------------------------------------ |
| `audioTokens`      | *number* | :heavy\_minus\_sign: | Tokens used for input audio.                                                                     |
| `cacheWriteTokens` | *number* | :heavy\_minus\_sign: | Tokens written to cache. Only returned for models with explicit caching and cache write pricing. |
| `cachedTokens`     | *number* | :heavy\_minus\_sign: | Tokens cached by the endpoint.                                                                   |
| `fileTokens`       | *number* | :heavy\_minus\_sign: | Tokens used for input files/documents.                                                           |
| `videoTokens`      | *number* | :heavy\_minus\_sign: | Tokens used for input video.                                                                     |
