You're looking at a specific version of this model. Jump to the model overview.

anthropic /claude-4-sonnet:99e2cf4c

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
prompt
string
Input prompt
image
string
Optional input image. Images are priced as (width px * height px)/750 input tokens
system_prompt
string
System prompt
max_tokens
integer
8192

Min: 1024

Max: 64000

Maximum number of output tokens
max_image_resolution
number
0.5

Min: 0.001

Max: 2

Maximum image resolution in megapixels. Scales down image before sending it to Claude, to save time and money.
extended_thinking
boolean
False
Whether to enable extended thinking mode
thinking_budget_tokens
integer
10000

Min: 1024

Max: 100000

Maximum number of tokens to use for extended thinking when enabled

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'items': {'type': 'string'},
 'title': 'Output',
 'type': 'array',
 'x-cog-array-display': 'concatenate',
 'x-cog-array-type': 'iterator'}