# CompletionTokenDetails

> **Class** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/types/run/CompletionTokenDetails)

`completion_token_details` is the per-category breakdown of `completion_tokens`.

Category names are model-specific (for example `reasoning`, `audio`). Returned only when the `COMPLETION_TOKEN_DETAILS` field is requested.

## Signature

```python
CompletionTokenDetails()
```

## Extends

- `BaseModel`

## Properties

- `raw`

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-python/blob/15dd2a789f976bbbafd803b26d0f25c08b5ed527/src/langsmith/types/run.py#L31)