Fast, cost-effective model for everyday tasks. Great balance of speed, intelligence, and cost for high-volume applications.
| Token Type | Credits | USD Equivalent |
|---|---|---|
| Input Tokens | 800 | $0.80 |
| Output Tokens | 4,000 | $4.00 |
| Cached Tokens | 80 | $0.08 |
* 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-haiku",
"input": {
"model": "claude-3-5-haiku-20241022",
"max_tokens": 500,
"messages": [
{
"role": "user",
"content": "What are the main benefits of renewable energy?"
}
]
}
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
messages | array | Yes | - | Array of message objects |
max_tokens | integer | Yes | - | Maximum tokens in response |
temperature | float | No | 1.0 | Sampling temperature (0-1) |
Fast conversational response
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-haiku",
"input": {
"model": "claude-3-5-haiku-20241022",
"max_tokens": 500,
"messages": [
{
"role": "user",
"content": "What are the main benefits of renewable energy?"
}
]
}
}'POST /llm/anthropic/v1/messages