> ## 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.

# ProviderPreferencesSortUnion - TypeScript SDK

> ProviderPreferencesSortUnion method reference

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

The sorting strategy to use for this request, if "order" is not specified. When set, no load balancing is performed.

## Supported Types

### `models.ProviderPreferencesProviderSort`

```typescript lines theme={null}
const value: models.ProviderPreferencesProviderSort = "throughput";
```

### `models.ProviderSortConfigUnion`

```typescript lines theme={null}
const value: models.ProviderSortConfigUnion = "latency";
```

### `models.SortEnum`

```typescript lines theme={null}
const value: models.SortEnum = "throughput";
```
