> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-speakeasy-sdk-regen-1789140024.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# GetModelsSort

Sort the returned models server-side. Prefer this over fetching the full list and sorting client-side. Options: pricing-low-to-high, pricing-high-to-low (average prompt/completion price), context-high-to-low (context length), throughput-high-to-low, latency-low-to-high (recent median performance), most-popular, top-weekly (tokens processed in the last week), newest (creation date), intelligence-high-to-low, coding-high-to-low, agentic-high-to-low (Artificial Analysis indices), design-arena-elo-high-to-low (best Design Arena ELO across arenas). Models without a score for the chosen benchmark are placed last. When omitted, the existing default ordering is preserved.

## Example Usage

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

let value: GetModelsSort = "newest";

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

## Values

```typescript theme={null}
"most-popular" | "newest" | "top-weekly" | "pricing-low-to-high" | "pricing-high-to-low" | "context-high-to-low" | "throughput-high-to-low" | "latency-low-to-high" | "intelligence-high-to-low" | "coding-high-to-low" | "agentic-high-to-low" | "design-arena-elo-high-to-low" | Unrecognized<string>
```
