Available now
OpenAI

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...

TextReasoningToolsFilesVision400KCache
Input$1.05/ 1M
Output$8.40/ 1M
Context400K
Endpointsopenai, openai-response, anthropic

Capabilities

ReasoningToolsParallel toolsVisionFilesCacheStructuredStreamingSystem msg

Modalities

Input
fileimagetext
Output
text

Quick stats

Context window400K
Max output128K
Modechat
TokenizerGPT
ModeratedYes

Performance

Loading performance data...

Supported parameters

ParameterAlwaysDefault
frequency_penalty-(do not send)
include_reasoning-
max_completion_tokens--
max_tokens--
presence_penalty-(do not send)
reasoning-
repetition_penalty-(do not send)
response_format-
seed-
structured_outputs-
temperature-(do not send)
tool_choice-
tools-
top_k-(do not send)
top_p-(do not send)
§ 01

Pricing

Input price$1.05 · 1M tokens
Output price$8.40 · 1M tokens
Context window400K tokens
Compatible endpointsopenai, openai-response, anthropic
VendorOpenAI
§ 02

Call gpt-5.2 from your code

Point any OpenAI-compatible SDK at UnoRouter and request the model by name. Replace YOUR_API_KEY with a real key from your dashboard.

bash
curl https://api.unorouter.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5.2",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Sign in to auto-fill your API key

§ 03

Frequently asked questions

How much does gpt-5.2 cost per 1M tokens?

Input is priced at $1.05 per 1M tokens, output at $8.40 per 1M tokens. Billing is per token, no rounding to batch sizes.

How do I access gpt-5.2 via API?

Send requests to the UnoRouter /v1/chat/completions endpoint with model=gpt-5.2. Any OpenAI-compatible client library works. Authentication uses a standard Bearer token.

What is the context window of gpt-5.2?

gpt-5.2 supports a context window of 400K tokens, shared between your prompt and the model's response.

§ 04

Similar models

Try gpt-5.2 now

Create an API key and start making requests in under a minute.

View all models