# PromptCostDetails

> **Class** in `langsmith`

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

`prompt_cost_details` is the per-category USD breakdown of `prompt_cost`.

Categories mirror `prompt_token_details`. Returned only when the `PROMPT_COST_DETAILS` field is requested.

## Signature

```python
PromptCostDetails()
```

## Extends

- `BaseModel`

## Properties

- `raw`

---

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