# 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/a39745c67839496a98e5e846122664d8070c8dca/python/langsmith/_openapi_client/types/run.py#L139)