AdvisorReasoning - TypeScript SDK

AdvisorReasoning type definition

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

Reasoning configuration forwarded to the advisor call. Use this to control reasoning effort and token budget for models that support extended thinking.

Example Usage

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

Fields

FieldTypeRequiredDescription
effortmodels.AdvisorReasoningEffortReasoning effort level for the advisor call.
maxTokensnumberMaximum number of reasoning tokens the advisor may use.