Anthropic
Claude Sonnet 4
Claude Sonnet 4 is a demonstration listing for text and coding workflows.
You send text. It returns text. It keeps 200k of context and can write up to 16k tokens back.
- chat
- coding
- tools
- text
- Context
- 200k
- Max output
- 16k
- Input
- text
- Output
- text
- Latency
- balanced
- Status
- available
Same request. This model.
Keep the client you already use. The model id is the only line that changes.
const response = await client.chat({
model: "claude-sonnet-4",
messages: [{ role: "user", content: "Summarize this brief." }],
});