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 Chat

openai/gpt-5.2-chat
TextInput: file · image · textTools128KAdded Dec 10, 2025

Try OpenAI: GPT-5.2 Chat now

Runs on your balance at the prices above. New accounts start with free usage.

One API. Every model.

5 of 5 free messages left today. A free account adds free usage and an API key.Create free accountSign in

Session cost $0.00

OpenAI: GPT-5.2 Chat at a glance

  • Input price is 289% higher than the median of 434 Text models.
  • Context window of 128,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.
  • Accepts images as input (vision).
  • A typical request (1,000 input / 500 output tokens) costs about $0.03.

About OpenAI: GPT-5.2 Chat

GPT-5.2 Chat is a text model from OpenAI, released by the provider on 10 December 2025. It is described as the fast, lightweight member of the 5.2 family, optimized for low latency chat while retaining strong general intelligence, and it uses adaptive reasoning to selectively think when a task calls for it. On api14 it is listed under the main category of text, and the model id you use when calling it is openai/gpt-5.2-chat.

The model accepts text, images and files as input, and it returns text. Its context window is 128,000 tokens, with a maximum output of 32,000 tokens, so it can hold long conversations, large documents or a mix of written and visual material in a single request while still producing substantial responses. Because input is multimodal, you can pass screenshots, scanned pages or attached files alongside your prompt rather than converting everything to plain text first. Output is text only, so any image or file you send is there to inform the answer, not to be transformed into another media type.

Those capabilities point to a fairly wide set of practical uses. Low latency chat makes it a reasonable fit for interactive assistants, customer support flows and other applications where a user is waiting on each reply. The 128,000 token context supports summarization, question answering and analysis over long documents, contracts or codebases, and the file and image inputs help with tasks such as extracting information from PDFs, reading charts or screenshots, and reviewing material that mixes prose with visuals. Tool calling and structured outputs, covered below, extend this to workflows where the model needs to fetch data or return machine readable results rather than free text.

You call the model through api14's OpenAI-compatible API using the model id openai/gpt-5.2-chat, which means existing OpenAI SDKs and client libraries work with only a base URL and key change. The supported request parameters are max_completion_tokens, response_format, seed, structured_outputs, tool_choice, tools and verbosity. In practice, tools and tool_choice let the model call functions you define, structured_outputs and response_format let you constrain the shape of the reply for downstream parsing, seed helps with reproducibility, max_completion_tokens caps the generated length, and verbosity adjusts how much the model says. Note that temperature and top_p are not in the supported list, so control over sampling is limited to what is listed.

It is worth checking the live price table on this page before committing, since that is where current rates are shown. If your workload depends on parameters outside the supported set, or if you need output modalities other than text, another model may fit better. For straightforward, latency sensitive chat and document tasks within a 128,000 token context, though, this model covers the common cases without extra configuration.

How to call the OpenAI: GPT-5.2 Chat API

  1. Create an API key in your dashboard.
  2. Install the official openai SDK for your language.
  3. Set baseURL to https://api14.com/api/v1 and model to "openai/gpt-5.2-chat".
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-chat",
  "messages": [
    {
      "role": "user",
      "content": "Explain vector databases in two sentences."
    }
  ]
});
console.log(result.choices[0].message.content);

Supported parameters

max_completion_tokensresponse_formatseedstructured_outputstool_choicetoolsverbosity

Specifications

Context length
128,000
Max output
32,000
Input
file, image, text
Output
text

Requests on api14 · last 7 days

10-1710-1810-1910-2010-2110-2210-23

OpenAI: GPT-5.2 Chat: frequently asked questions

How much does the OpenAI: GPT-5.2 Chat API cost?
OpenAI: GPT-5.2 Chat costs Input $6.13 / 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 Chat?
OpenAI: GPT-5.2 Chat reads up to 128,000 tokens per request: prompt, history and documents together. It writes up to 32,000 output tokens per response.
What can OpenAI: GPT-5.2 Chat do?
OpenAI: GPT-5.2 Chat accepts file, image, text and returns text. It supports tool calling, structured JSON output.
How do I call OpenAI: GPT-5.2 Chat from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "openai/gpt-5.2-chat". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to OpenAI: GPT-5.2 Chat?
Comparable Text models at a similar price: OpenAI: GPT-5.3-Codex, OpenAI: GPT-5.2-Codex, OpenAI: GPT-5.2. Each runs through the same API key, so switching is one string.

OpenAI: GPT-5.2 Chat community

New topic

This community has no topics yet. Open the first one about OpenAI: GPT-5.2 Chat.