GPT-5.2

GPT-5.2 is the latest frontier-grade model in the GPT-5 series, offering stronger agentic and long context perfomance compared to GPT-5.1. It uses adaptive reasoning to allocate computation dynamically, responding quickly to simple queries while spending more depth on complex tasks. Built for broad task coverage, GPT-5.2 delivers consistent gains across math, coding, sciende, and tool calling workloads, with more coherent long-form answers and improved tool-use reliability.

ChatOpenAI400k tokens$1.9076 / $15.2608 · 1M

openai/gpt-5.2

Context
400k tokens
Completion cap
128,000
Tools
Yes
JSON
Yes
Released
2025-12-10

Call it from Geek Hub

Same OpenAI SDK. Change the base URL and the model id.

curl https://api.geekhub.mx/v1/chat/completions \
  -H "Authorization: Bearer $GEEKHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-5.2",
    "messages": [{"role": "user", "content": "Hola"}]
  }'
Get an API key

Frequently asked questions

What is GPT-5.2?
GPT-5.2 is the latest frontier-grade model in the GPT-5 series, offering stronger agentic and long context perfomance compared to GPT-5.1. It uses adaptive reasoning to allocate computation dynamically, responding quickly to simple queries while spending more depth on complex tasks. Built for broad task coverage, GPT-5.2 delivers consistent gains across math, coding, sciende, and tool calling workloads, with more coherent long-form answers and improved tool-use reliability. GPT-5.2 runs on the Geek Hub API (OpenAI-compatible). Model id: openai/gpt-5.2.
Is GPT-5.2 free?
No. Input is $1.9076 per 1M tokens and output is $15.2608 per 1M tokens on Geek Hub (markup included).
What is the context length of GPT-5.2?
GPT-5.2 has a 400k tokens context window. It supports up to 128,000 completion tokens.
Does GPT-5.2 support tool calling and structured outputs?
GPT-5.2 accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.
When was GPT-5.2 released?
GPT-5.2 was released on 2025-12-10.

More models from OpenAI