ReasoningConfig - TypeScript SDK

ReasoningConfig type definition

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

Configuration for reasoning mode in the response

Example Usage

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

Fields

FieldTypeRequiredDescriptionExample
effortmodels.ReasoningEffortN/Amedium
summarymodels.ReasoningSummaryVerbosityN/Aauto
enabledbooleanN/A
maxTokensnumberN/A