# CompletionCostDetails

> **Class** in `langsmith`

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

`completion_cost_details` is the per-sub-category sum of completion cost details across the thread. Populated when `COMPLETION_COST_DETAILS` is selected.

## Signature

```python
CompletionCostDetails()
```

## Extends

- `BaseModel`

## Properties

- `raw`

---

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