---
title: "PriceSource"
---

Price source for the Pareto frontier cost axis. "prompt" uses catalog list price (endpoint.pricing.prompt). "weighted_avg" uses traffic-weighted effective input price from ClickHouse, falling back to prompt price for models without traffic data. Defaults to "prompt".

## Example Usage

```python
from openrouter.components import PriceSource

# Open enum: unrecognized values are captured as UnrecognizedStr
value: PriceSource = "prompt"
```


## Values

This is an open enum. Unrecognized values will not fail type checks.

- `"prompt"`
- `"weighted_avg"`
