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

# ProviderSortConfig

The provider sorting strategy (price, throughput, latency)

## Example Usage

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

let value: ProviderSortConfig = {};
```

## Fields

| Field       | Type                                        | Required             | Description                                                                                                                                                                                | Example |
| ----------- | ------------------------------------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------- |
| `by`        | [models.By](../models/by.mdx)               | :heavy\_minus\_sign: | The provider sorting strategy (price, throughput, latency)                                                                                                                                 | price   |
| `partition` | [models.Partition](../models/partition.mdx) | :heavy\_minus\_sign: | Partitioning strategy for sorting: "model" (default) groups endpoints by model before sorting (fallback models remain fallbacks), "none" sorts all endpoints together regardless of model. | model   |
