Anthropic's newest Sonnet model, tuned for the best balance of speed, cost, and intelligence. Features a 1M-token context window, 64K max output tokens, and knowledge cutoff to August 2025. Supports adaptive thinking that reasons only when a turn needs it, vision, and tool use. Compatible with the Anthropic Messages and OpenAI Chat Completions formats.
Test this model instantly in the Console Playground โ no code required
Copy usage instructions for Claude, ChatGPT, or other AI
| Token Type | Credits | USD Equivalent |
|---|---|---|
| Input Tokens | 5,574 | $3.72 |
| Output Tokens | 27,870 | $18.58 |
| Cached Tokens | 557 | $0.37 |
* 1,500 credits โ $1 (actual charges may vary based on usage)
curl -X POST "https://api.core.today/llm/anthropic/v1/messages" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"model": "claude-sonnet-5",
"messages": [
{
"role": "system",
"content": "You are a research analyst. Provide structured, source-aware analysis."
},
{
"role": "user",
"content": "Summarize the key findings and open questions from this 200-page technical report and flag any inconsistencies."
}
],
"max_tokens": 6000
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
messages | array | Yes | - | Array of message objects (OpenAI format) |
max_tokens | integer | No | 4096 | Maximum tokens in response (up to 64000) |
stream | boolean | No | false | Enable Server-Sent Events streaming |
Fast, cost-efficient analysis over large documents with Claude Sonnet 5
curl -X POST "https://api.core.today/llm/anthropic/v1/messages" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"model": "claude-sonnet-5",
"messages": [
{
"role": "system",
"content": "You are a research analyst. Provide structured, source-aware analysis."
},
{
"role": "user",
"content": "Summarize the key findings and open questions from this 200-page technical report and flag any inconsistencies."
}
],
"max_tokens": 6000
}'Generate production-ready code with a strong quality-to-cost ratio
curl -X POST "https://api.core.today/llm/anthropic/v1/messages" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"model": "claude-sonnet-5",
"messages": [
{
"role": "system",
"content": "You are a senior software engineer. Write clean, well-tested, production code."
},
{
"role": "user",
"content": "Implement a token-bucket rate limiter in TypeScript backed by Redis, with unit tests."
}
],
"max_tokens": 6000
}'POST /llm/anthropic/v1/messages