Skip to main content
OpenAIFastUltra

GPT-5.2

OpenAI's latest and most advanced GPT model. Delivers state-of-the-art performance across reasoning, coding, and creative tasks with enhanced capabilities.

4 credits
per 1K tokens (avg)
Latest GPT architecture
256K context window
32K max output tokens
Enhanced reasoning
Native multimodal support
Advanced function calling

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

llms.txt

Model Specifications

Context Window
256K
tokens
Max Output
33K
tokens
Training Cutoff
2025-06
Compatible SDK
OpenAI

Capabilities

Vision
Function Calling
Streaming
JSON Mode
System Prompt

Token Pricing (per 1M tokens)

Token TypeCreditsUSD Equivalent
Input Tokens3,500$3.50
Output Tokens28,000$28.00

* 1 credit โ‰ˆ $0.001 (actual charges may vary based on usage)

Quick Start

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
}'

Parameters

ParameterTypeRequiredDefaultDescription
messagesarrayYes-Array of message objects with role and content
modelstringYesgpt-5.2Model identifier
max_completion_tokensintegerNo4096Maximum tokens in response (up to 32768). Note: use max_completion_tokens, not max_tokens
reasoning_effortstringNomediumReasoning effort level: low, medium, or high
streambooleanNofalseEnable Server-Sent Events streaming

Examples

Advanced Reasoning

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
}'

Tips & Best Practices

1Most capable OpenAI model for complex tasks
2Use lower temperature for factual/analytical work
3Supports larger context than GPT-5.1
4Streaming recommended for long responses

Use Cases

Complex multi-step reasoning
Advanced code generation
Long-form content creation
Research and analysis
Enterprise applications

Model Info

ProviderOpenAI
Version2025-12
CategoryLLM
Price4 credits

API Endpoint

POST /llm/openai/v1/chat/completions
Try in PlaygroundBack to Docs