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

# ListModelsUserSort

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

```go theme={null}
import (
	"github.com/OpenRouterTeam/go-sdk/models/operations"
)

value := operations.ListModelsUserSortMostPopular

// Open enum: custom values can be created with a direct type cast
custom := operations.ListModelsUserSort("custom_value")
```

## Values

| Name | Value |
| - | - |
| `ListModelsUserSortMostPopular` | most-popular |
| `ListModelsUserSortNewest` | newest |
| `ListModelsUserSortTopWeekly` | top-weekly |
| `ListModelsUserSortPricingLowToHigh` | pricing-low-to-high |
| `ListModelsUserSortPricingHighToLow` | pricing-high-to-low |
| `ListModelsUserSortContextHighToLow` | context-high-to-low |
| `ListModelsUserSortThroughputHighToLow` | throughput-high-to-low |
| `ListModelsUserSortLatencyLowToHigh` | latency-low-to-high |
| `ListModelsUserSortIntelligenceHighToLow` | intelligence-high-to-low |
| `ListModelsUserSortCodingHighToLow` | coding-high-to-low |
| `ListModelsUserSortAgenticHighToLow` | agentic-high-to-low |
| `ListModelsUserSortDesignArenaEloHighToLow` | design-arena-elo-high-to-low |
