# PromptCostDetails

> **Class** in `langsmith`

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

`prompt_cost_details` is the USD cost breakdown for prompt-side categories; per-category values are under `raw`. Omitted unless included in `selects`.

## Signature

```python
PromptCostDetails()
```

## Extends

- `BaseModel`

## Properties

- `raw`

---

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