We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.
OpenAI: GPT-5.2 Pro
openai/gpt-5.2-proTry OpenAI: GPT-5.2 Pro now
Runs on your balance at the prices above. New accounts start with free usage.
One API. Every model.
Session cost $0.00
Settings
Advanced parameters
OpenAI: GPT-5.2 Pro at a glance
- Input price is 4567% higher than the median of 434 Text models.
- Context window of 400,000 tokens, enough for long documents and multi-turn conversations.
- Supports tool (function) calling for agents and integrations.
- Supports structured JSON output with a schema.
- Supports reasoning effort control.
- Accepts images as input (vision).
- A typical request (1,000 input / 500 output tokens) costs about $0.37.
About OpenAI: GPT-5.2 Pro
GPT-5.2 Pro is a text generation model from OpenAI, released by the provider on 10 December 2025. It sits in OpenAI's GPT-5 line as the Pro variant, positioned as the company's most advanced model, with the provider describing major improvements in agentic coding and long context performance over GPT-5 Pro. On api14 it is listed under the text category, so it is intended for language work rather than image, audio or video generation.
The model accepts text, images and files as input, and it returns text only. Its context window is 400,000 tokens, and the maximum output is 128,000 tokens, which means you can supply very large inputs (long documents, codebases, image sets alongside instructions) and still leave room for a substantial response. Because inputs can include images and files, the model can reason over more than plain chat text, but everything it produces comes back as text.
Those capabilities point to a fairly specific set of uses. The long context window and the provider's emphasis on step-by-step reasoning suit tasks such as analysing large documents or repositories, multi-step coding work, and agentic workflows where the model plans and calls tools across several turns. Image and file input make it usable for questions about screenshots, diagrams or attached documents, and the large output ceiling helps when you need a long structured answer rather than a short reply.
You call the model through api14's OpenAI-compatible API using the model id "openai/gpt-5.2-pro". The supported request parameters are include_reasoning, max_tokens, reasoning, reasoning_effort, response_format, seed, structured_outputs, tool_choice, tools and verbosity. In practice that means you can control the length of the response with max_tokens, tune how much reasoning effort the model applies, request structured or JSON-style output through response_format and structured_outputs, define and select tools for function calling, set a seed for reproducibility, and adjust verbosity or whether reasoning is included in the response.
There is no information here about pricing, rate limits or latency, so check the live price table and your own testing before committing to it. If your task is simple text generation, a smaller model may be cheaper and faster; GPT-5.2 Pro makes most sense when you actually need the long context, the reasoning depth or the tool use it supports.
How to call the OpenAI: GPT-5.2 Pro API
- Create an API key in your dashboard.
- Install the official openai SDK for your language.
- Set baseURL to https://api14.com/api/v1 and model to "openai/gpt-5.2-pro".
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.chat.completions.create({
"model": "openai/gpt-5.2-pro",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
});
console.log(result.choices[0].message.content);
Supported parameters
include_reasoningmax_tokensreasoningreasoning_effortresponse_formatseedstructured_outputstool_choicetoolsverbositySpecifications
- Context length
- 400,000
- Max output
- 128,000
- Input
- image, text, file
- Output
- text
Requests on api14 · last 7 days
OpenAI: GPT-5.2 Pro: frequently asked questions
- How much does the OpenAI: GPT-5.2 Pro API cost?
- OpenAI: GPT-5.2 Pro costs Input $73.50 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
- What is the context window of OpenAI: GPT-5.2 Pro?
- OpenAI: GPT-5.2 Pro reads up to 400,000 tokens per request: prompt, history and documents together. It writes up to 128,000 output tokens per response.
- What can OpenAI: GPT-5.2 Pro do?
- OpenAI: GPT-5.2 Pro accepts image, text, file and returns text. It supports tool calling, structured JSON output, reasoning effort control.
- How do I call OpenAI: GPT-5.2 Pro from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "openai/gpt-5.2-pro". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to OpenAI: GPT-5.2 Pro?
- Comparable Text models at a similar price: OpenAI: GPT-5.5 Pro, OpenAI: GPT-5.4 Pro, OpenAI: GPT-5 Pro. Each runs through the same API key, so switching is one string.
OpenAI: GPT-5.2 Pro community
New topicThis community has no topics yet. Open the first one about OpenAI: GPT-5.2 Pro.