Class BetaThinkingConfigParam

  • All Implemented Interfaces:

    
    public final class BetaThinkingConfigParam
    
                        

    Configuration for Claude's thinking.

    With {"type": "adaptive"}, Claude decides when and how much to think. With {"type": "enabled"} (manual extended thinking), you set a budget_tokens of at least 1,024. Thinking tokens count toward your max_tokens limit.

    Which type values are accepted, and what happens when you omit thinking, depend on the model. See thinking for each model's behavior.