# CompletionTokenDetails

> **Class** in `langsmith`

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

`completion_token_details` is the per-sub-category sum of completion token details across the thread. Populated when `COMPLETION_TOKEN_DETAILS` is selected.

## Signature

```python
CompletionTokenDetails()
```

## Extends

- `BaseModel`

## Properties

- `raw`

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/a39745c67839496a98e5e846122664d8070c8dca/python/langsmith/_openapi_client/types/thread_stats.py#L27)