> ## 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 - TypeScript SDK

> ProviderSortConfig method reference

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

## Example Usage

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

let value: ProviderSortConfig = {};
```

## Fields

| Field       | Type                                                             | Required             | Description | Example |
| ----------- | ---------------------------------------------------------------- | -------------------- | ----------- | ------- |
| `by`        | [models.ProviderSort](/agent-sdk/typescript/models/providersort) | :heavy\_minus\_sign: | N/A         | price   |
| `partition` | [models.Partition](/agent-sdk/typescript/models/partition)       | :heavy\_minus\_sign: | N/A         |         |
