OpenAI's latest and most advanced GPT model. Delivers state-of-the-art performance across reasoning, coding, and creative tasks with enhanced capabilities.
Copy usage instructions for Claude, ChatGPT, or other AI
| Token Type | Credits | USD Equivalent |
|---|---|---|
| Input Tokens | 3,500 | $3.50 |
| Output Tokens | 28,000 | $28.00 |
* 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": "gpt-5.2",
"messages": [
{
"role": "system",
"content": "You are an expert analyst."
},
{
"role": "user",
"content": "Analyze the potential economic impacts of widespread AI adoption in healthcare, considering both developed and developing nations."
}
],
"max_completion_tokens": 4000
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
messages | array | Yes | - | Array of message objects with role and content |
model | string | Yes | gpt-5.2 | Model identifier |
max_completion_tokens | integer | No | 4096 | Maximum tokens in response (up to 32768). Note: use max_completion_tokens, not max_tokens |
reasoning_effort | string | No | medium | Reasoning effort level: low, medium, or high |
stream | boolean | No | false | Enable Server-Sent Events streaming |
Complex multi-step analysis with GPT-5.2
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": "gpt-5.2",
"messages": [
{
"role": "system",
"content": "You are an expert analyst."
},
{
"role": "user",
"content": "Analyze the potential economic impacts of widespread AI adoption in healthcare, considering both developed and developing nations."
}
],
"max_completion_tokens": 4000
}'POST /llm/openai/v1/chat/completions