Anthropic
Subscription
6 params
Anthropic Claude Opus 4 (subscription) parameters
These are the parameters modelparams.dev tracks for Anthropic Claude Opus 4 when you reach it through a subscription rather than an API key. Each row gives the type, default, valid range or values, and the conditions that gate it. It's the same data the JSON API serves.
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
| Length · 1 param | ||||
|
Max tokens
max_tokens
|
integer (1…+∞) | 4096 | Maximum number of output tokens the model may generate. | — |
| Sampling · 3 params | ||||
|
Temperature
temperature
|
number (0…1 step 0.1) | 1 | Controls randomness. Lower values make outputs more focused; higher values make them more varied. |
Not when thinking.type ∈ {"adaptive", "enabled"}
|
|
Top P
top_p
|
number (0…1 step 0.01) | 1 | Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. |
Not when thinking.type ∈ {"adaptive", "enabled"} or temperature ≠ 1
|
|
Top K
top_k
|
integer (0…+∞) | 0 | Limits token sampling to the top K most likely next tokens. |
Not when thinking.type ∈ {"adaptive", "enabled"}
|
| Reasoning · 2 params | ||||
|
Thinking mode
thinking.type
|
enum (disabled | adaptive | enabled) | "disabled" | Controls the Anthropic thinking mode values supported by this model. | — |
|
Budget tokens
thinking.budget_tokens
|
integer (1024…+∞) | 4096 | Maximum token budget Anthropic may use for extended thinking before producing the final answer. |
Only when thinking.type = "enabled"
|
Other Anthropic models
Claude 3 Opus 20240229
Claude 3 Opus Latest
Claude 3.5 Haiku 20241022
Claude 3.5 Haiku Latest
Claude 3.5 Sonnet 20241022
Claude 3.5 Sonnet Latest
Claude 3.7 Sonnet 20250219
Claude 3.7 Sonnet Latest
Claude Haiku 4
Claude Haiku 4
subscription
Claude Haiku 4.5
Claude Haiku 4.5 20251001
Claude Opus 4.1 20250805
Claude Opus 4.20250514
Claude Opus 4.5 20251101
Claude Opus 4.6
Claude Opus 4.7
Claude Sonnet 4
subscription
Claude Sonnet 4.20250514
Claude Sonnet 4.5
Claude Sonnet 4.5 20250929
Claude Sonnet 4.6