DefaultEffort - TypeScript SDK

DefaultEffort type definition

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

Default reasoning effort when the client enables reasoning without specifying effort. Maps to reasoning.effort in chat requests. When "none", prefer omitting effort unless the user explicitly disables reasoning.

Example Usage

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

Values

1"xhigh" | "high" | "medium" | "low" | "minimal" | "none" | Unrecognized<string>