Sort - TypeScript SDK

Sort type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

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

Example Usage

1import { Sort } from "@openrouter/sdk/models";
2
3let value: Sort = "price";

Values

This is an open enum. Unrecognized values will be captured as the Unrecognized<string> branded type.

1"price" | "throughput" | "latency" | Unrecognized<string>