# PromptCostDetails

> **Class** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/_openapi_client/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-sdk/blob/687fc8d527a28504432f52bd08c75f2894c209fe/python/langsmith/_openapi_client/types/run.py#L138)