# SessionCost

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/client/session_cost/SessionCost)

Presentation total derived from the latest independent subtotals.

## Signature

```python
SessionCost()
```

## Extends

- `TypedDict`

## Constructors

```python
__init__(
    total: float,
    breakdown: CostBreakdown | None,
    cached: NotRequired[bool],
)
```

| Name | Type |
|------|------|
| `total` | `float` |
| `breakdown` | `CostBreakdown \| None` |
| `cached` | `NotRequired[bool]` |


## Properties

- `total`
- `breakdown`
- `cached`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/caaa7e7c12d214afa5cf0a1afed8eb6232aa6f7b/libs/code/deepagents_code/client/session_cost.py#L14)