Anthropic's most intelligent model. Best-in-class for complex reasoning, nuanced understanding, and coding tasks with exceptional instruction following.
| Token Type | Credits | USD Equivalent |
|---|---|---|
| Input Tokens | 3,000 | $3.00 |
| Output Tokens | 15,000 | $15.00 |
| Cached Tokens | 300 | $0.30 |
* 1 credit โ $0.001 (actual charges may vary based on usage)
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"model": "claude-3.5-sonnet",
"input": {
"model": "claude-3-5-sonnet-20241022",
"max_tokens": 4000,
"system": "You are an expert analyst. Provide detailed, structured analysis.",
"messages": [
{
"role": "user",
"content": "Analyze the key themes and implications of this research paper: [paper text]"
}
]
}
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
messages | array | Yes | - | Array of message objects with role and content |
model | string | Yes | claude-3-5-sonnet-20241022 | Model identifier |
max_tokens | integer | Yes | - | Maximum tokens in response (required, up to 8192) |
system | string | No | - | System prompt for setting behavior |
temperature | float | No | 1.0 | Sampling temperature (0-1) |
stream | boolean | No | false | Enable streaming responses |
tools | array | No | - | List of tools the model can use |
Analyze complex documents
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"model": "claude-3.5-sonnet",
"input": {
"model": "claude-3-5-sonnet-20241022",
"max_tokens": 4000,
"system": "You are an expert analyst. Provide detailed, structured analysis.",
"messages": [
{
"role": "user",
"content": "Analyze the key themes and implications of this research paper: [paper text]"
}
]
}
}'Generate production-quality code
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"model": "claude-3.5-sonnet",
"input": {
"model": "claude-3-5-sonnet-20241022",
"max_tokens": 4000,
"messages": [
{
"role": "user",
"content": "Create a TypeScript React component for a data table with sorting, filtering, and pagination. Use modern best practices."
}
],
"temperature": 0.3
}
}'Use tools/functions with Claude
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"model": "claude-3.5-sonnet",
"input": {
"model": "claude-3-5-sonnet-20241022",
"max_tokens": 1000,
"messages": [
{
"role": "user",
"content": "Look up the current stock price of Apple."
}
],
"tools": [
{
"name": "get_stock_price",
"description": "Get the current stock price for a given symbol",
"input_schema": {
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "Stock ticker symbol"
}
},
"required": [
"symbol"
]
}
}
]
}
}'POST /llm/anthropic/v1/messages