OpenAI's most advanced reasoning model. Uses extended thinking time to solve complex problems in science, coding, and math with exceptional accuracy.
| Token Type | Credits | USD Equivalent |
|---|---|---|
| Input Tokens | 15,000 | $15.00 |
| Output Tokens | 60,000 | $60.00 |
| Cached Tokens | 7,500 | $7.50 |
* 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": "o1",
"input": {
"model": "o1",
"messages": [
{
"role": "user",
"content": "Prove that there are infinitely many prime numbers using a proof by contradiction."
}
],
"reasoning_effort": "high"
}
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
messages | array | Yes | - | Array of message objects |
max_completion_tokens | integer | No | - | Maximum tokens for completion (includes reasoning tokens) |
reasoning_effort | string | No | medium | Reasoning effort level: low, medium, high lowmediumhigh |
Solve advanced math problems
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"model": "o1",
"input": {
"model": "o1",
"messages": [
{
"role": "user",
"content": "Prove that there are infinitely many prime numbers using a proof by contradiction."
}
],
"reasoning_effort": "high"
}
}'Design optimal algorithms
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"model": "o1",
"input": {
"model": "o1",
"messages": [
{
"role": "user",
"content": "Design an efficient algorithm to find the longest increasing subsequence in an array. Explain the time complexity and provide Python code."
}
],
"max_completion_tokens": 4000
}
}'POST /llm/openai/v1/chat/completions