Skip to main content
All models

Anthropic / Model reference

Claude Sonnet 4

Anthropic's smart model for complex agents and coding

See the code
Model IDclaude-sonnet-4-20250514

What it can do.

Streaming
celeste.text.generateGenerate text
celeste.images.analyzeUnderstand media

Parameters.

Supported controls from Celeste’s model registry. Values and availability differ between models.

Claude Sonnet 4 parameters and constraints
ParameterAccepted values
max_tokens1 – 64000
thinking_budget-1 – 64000
toolsList of tool definitions
imageImage artifacts

Start with a few lines

Put it to work.

Use your provider credentials. Call the model through the SDK and build around its output.

Generate
import celeste
response = await celeste.text.generate(
model="claude-sonnet-4-20250514",
prompt="Write a project brief for a neighborhood repair café." )
print(response.content)

This example uses text.generate. Explore the quickstart for installation and authentication.