Fast, cost-effective reasoning model optimized for coding and STEM tasks. Provides strong reasoning at a fraction of the cost of larger reasoning models.
Copy usage instructions for Claude, ChatGPT, or other AI
| Token Type | Credits | USD Equivalent |
|---|---|---|
| Input Tokens | 2,200 | $2.20 |
| Output Tokens | 8,800 | $8.80 |
* 1 credit โ $0.001 (actual charges may vary based on usage)
curl -X POST "https://api.core.today/llm/openai/v1/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"model": "o4-mini",
"messages": [
{
"role": "user",
"content": "Review this code and suggest improvements:\n\ndef fib(n):\n if n <= 1: return n\n return fib(n-1) + fib(n-2)"
}
],
"max_completion_tokens": 16000,
"reasoning_effort": "medium"
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
messages | array | Yes | - | Array of message objects |
max_completion_tokens | integer | No | - | Maximum tokens for completion |
reasoning_effort | string | No | - | Reasoning depth level minimallowmediumhigh |
Review and improve code
curl -X POST "https://api.core.today/llm/openai/v1/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"model": "o4-mini",
"messages": [
{
"role": "user",
"content": "Review this code and suggest improvements:\n\ndef fib(n):\n if n <= 1: return n\n return fib(n-1) + fib(n-2)"
}
],
"max_completion_tokens": 16000,
"reasoning_effort": "medium"
}'POST /llm/openai/v1/chat/completions