Class ReasoningOptions
[Serializable]
public class ReasoningOptions
- Inheritance
-
objectReasoningOptions
Fields
BudgetTokens
Anthropic-specific parameter Required. Determines how many tokens Claude can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems, improving response quality.
Must be ≥1024 and less than max_tokens.
See extended thinking for details.
[ApiSpecificProperty(Api.Anthropic, "budget_tokens")]
[ApiSpecificProperty(Api.OpenRouter, "max_tokens")]
public int BudgetTokens
Field Value
- int
Effort
Optional. Defaults to medium Constrains effort on reasoning for reasoning models. Currently supported values are minimal, low, medium, and high. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
public ReasoningEffort Effort
Field Value
Exclude
Optional. Whether to exclude reasoning from the response Defaults to false
[ApiSpecificProperty(Api.OpenRouter, "exclude")]
public bool Exclude
Field Value
- bool
Format
GroqCloud-specific parameter. Specifies how to output reasoning tokens
[ApiSpecificProperty(Api.GroqCloud, "format")]
public ReasoningFormat Format
Field Value
Summary
Optional. A summary of the reasoning performed by the model. This can be useful for debugging and understanding the model's reasoning process. One of auto, concise, or detailed.
public ReasoningOptions.SummaryLevel Summary