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

# PromptTokensDetails - TypeScript SDK

> PromptTokensDetails method reference

<Warning>
  The TypeScript SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/typescript-sdk/issues).
</Warning>

## Example Usage

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

let value: PromptTokensDetails = {};
```

## Fields

| Field              | Type     | Required             | Description |
| ------------------ | -------- | -------------------- | ----------- |
| `cachedTokens`     | *number* | :heavy\_minus\_sign: | N/A         |
| `cacheWriteTokens` | *number* | :heavy\_minus\_sign: | N/A         |
| `audioTokens`      | *number* | :heavy\_minus\_sign: | N/A         |
| `videoTokens`      | *number* | :heavy\_minus\_sign: | N/A         |
