Speed - TypeScript SDK

Speed type definition

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

Controls output generation speed. When set to fast, uses a higher-speed inference configuration at premium pricing. Defaults to standard when omitted.

Example Usage

1import { Speed } from "@openrouter/sdk/models";
2
3let value: Speed = "fast";
4
5// Open enum: unrecognized values are captured as Unrecognized<string>

Values

1"fast" | "standard" | Unrecognized<string>