# InputTokenDetails

> **Class** in `langchain_core`

📖 [View in docs](https://reference.langchain.com/python/langchain-core/messages/ai/InputTokenDetails)

Breakdown of input token counts.

Does *not* need to sum to full input token count. Does *not* need to have all keys.

## Signature

```python
InputTokenDetails()
```

## Description

**Example:**

```python
{
    "audio": 10,
    "cache_creation": 200,
    "cache_read": 100,
}
```

May also hold extra provider-specific keys.

!!! version-added "Added in `langchain-core` 0.3.9"

## Extends

- `TypedDict`

## Constructors

```python
__init__(
    audio: int,
    cache_creation: int,
    cache_read: int,
)
```

| Name | Type |
|------|------|
| `audio` | `int` |
| `cache_creation` | `int` |
| `cache_read` | `int` |


## Properties

- `audio`
- `cache_creation`
- `cache_read`

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/9f232caa7a8fe1ca042a401942d5d90d54ceb1a6/libs/core/langchain_core/messages/ai.py#L38)