Controls creativity. 0 = predictable responses, higher = more varied and unexpected results. View Documentation
Type
FLOAT
Default
1.00
Range
0.00 ~ 2.00
Response Diversitytop_p
Filters responses to the most likely words within a probability range. Lower values keep answers more focused. View Documentation
Type
FLOAT
Default
1.00
Range
0.00 ~ 1.00
New Idea Encouragementpresence_penalty
Encourages or discourages using new words. Higher values promote fresh ideas, while lower values allow more reuse. View Documentation
Type
FLOAT
Default
0.00
Range
-2.00 ~ 2.00
Repetition Controlfrequency_penalty
Adjusts how often the model repeats words. Higher values mean fewer repeats, while lower values allow more repetition. View Documentation
Type
FLOAT
Default
0.00
Range
-2.00 ~ 2.00
Response Length Limitmax_tokens
Sets the max length of responses. Increase for longer replies, decrease for shorter ones. View Documentation
Type
INT
Default
--
Range
0 ~ 62K
Reasoning Depthreasoning_effort
Determines how much effort the model puts into reasoning. Higher settings generate more thoughtful responses but take longer. View Documentation
Type
STRING
Default
--
Range
low ~ high
Related Models
Claude 4 Opus
claude-opus-4-20250514
Claude Opus 4 is Anthropic's most powerful model for handling highly complex tasks. It excels in performance, intelligence, fluency, and comprehension.
Claude 4 Sonnet
claude-sonnet-4-20250514
Claude 4 Sonnet can generate near-instant responses or extended, step-by-step reasoning, allowing users to clearly observe these processes. API users can also have fine control over the time the model takes to think.
Claude 3.5 Haiku
claude-3-5-haiku-20241022
Claude 3.5 Haiku is Anthropic's fastest next-generation model. Compared to Claude 3 Haiku, Claude 3.5 Haiku has improved in various skills and has surpassed the previous generation's largest model, Claude 3 Opus, in many intelligence benchmark tests.
Claude 3.5 Sonnet
claude-3-5-sonnet-20241022
Claude 3.5 Sonnet offers capabilities that surpass Opus and faster speeds than Sonnet, while maintaining the same pricing as Sonnet. Sonnet excels particularly in programming, data science, visual processing, and agent tasks.
Claude 3.5 Sonnet 0620
claude-3-5-sonnet-20240620
Claude 3.5 Sonnet offers capabilities that surpass Opus and faster speeds than Sonnet, while maintaining the same price as Sonnet. Sonnet excels particularly in programming, data science, visual processing, and agent tasks.