Cost-effective, fast model with strong performance. Best for high-volume tasks where speed and cost matter more than absolute capability.
| Token Type | Credits | USD Equivalent |
|---|---|---|
| Input Tokens | 150 | $0.15 |
| Output Tokens | 600 | $0.60 |
| Cached Tokens | 75 | $0.07 |
* 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": "gpt-4o-mini",
"input": {
"model": "gpt-4o-mini",
"messages": [
{
"role": "system",
"content": "Classify the sentiment of the following text as positive, negative, or neutral. Respond with only the classification."
},
{
"role": "user",
"content": "The product arrived on time and works great!"
}
],
"temperature": 0
}
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
messages | array | Yes | - | Array of message objects |
temperature | float | No | 1.0 | Sampling temperature (0-2) |
max_tokens | integer | No | - | Maximum response tokens |
stream | boolean | No | false | Enable streaming |
Classify customer feedback
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"model": "gpt-4o-mini",
"input": {
"model": "gpt-4o-mini",
"messages": [
{
"role": "system",
"content": "Classify the sentiment of the following text as positive, negative, or neutral. Respond with only the classification."
},
{
"role": "user",
"content": "The product arrived on time and works great!"
}
],
"temperature": 0
}
}'Summarize long text
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"model": "gpt-4o-mini",
"input": {
"model": "gpt-4o-mini",
"messages": [
{
"role": "user",
"content": "Summarize this article in 3 bullet points: [article text here]"
}
],
"max_tokens": 500
}
}'POST /llm/openai/v1/chat/completions