---
title: "By"
---

The provider sorting strategy (price, throughput, latency)

## Example Usage

```python
from openrouter.components import By

# Open enum: unrecognized values are captured as UnrecognizedStr
value: By = "price"
```


## Values

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

- `"price"`
- `"throughput"`
- `"latency"`
- `"exacto"`
