# CompletionTokenDetails

> **Class** in `langsmith`

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

`completion_token_details` is the completion-side token breakdown by category; per-category counts are under `raw`. Omitted unless included in `selects`.

## Signature

```python
CompletionTokenDetails()
```

## Extends

- `BaseModel`

## Properties

- `raw`

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/15468f97c18467d67ececb90b17107b0875e7a65/python/langsmith/_openapi_client/types/thread_trace.py#L20)