Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
The provider sorting strategy (price, throughput, latency)

Example Usage

import { By } from "@openrouter/sdk/models";

let value: By = "price";

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

Values

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