> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# By - TypeScript SDK

> By type definition

<Warning>
  The TypeScript SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/typescript-sdk/issues).
</Warning>

The provider sorting strategy (price, throughput, latency)

## Example Usage

```typescript lines theme={null}
import { By } from "@openrouter/sdk/models";

let value: By = "price";

// Open enum: unrecognized values are captured as Unrecognized<string>
```

## Values

```typescript lines theme={null}
"price" | "throughput" | "latency" | "exacto" | Unrecognized<string>
```
