GPT-5.2 is OpenAI's previous frontier model for professional work with configurable reasoning effort, spanning levels from none up to xhigh.
- Input
- text image $1.75/M
- Output
- text $14/M
- Cache read
- $0.875/M
- Context
- 400K
- vs GPT-4o
- ~65% cheaper
- Knowledge cutoff
- 2025-08
Benchmarks
Vendor-published: Alibaba (Qwen) Anthropic ByteDance DeepSeek Google MiniMax Moonshot OpenAI Tencent Z.ai
Price in context
Where the price sits among 60 comparable models
The bar shows how this model’s price compares with every other model of the same kind on Synthorai. The cheapest and the most expensive are named at each end. These are base rates; batch, region and cache-write discounts are on the pricing page.
Specs & limits
Tokens
| Context window (vendor spec) | 400,000 |
|---|---|
| Max output (vendor spec) | 128,000 |
| Knowledge cutoff | 2025-08 |
Prompt caching
| How it caches | automatic |
|---|---|
| Min prefix | 1,024 |
| Lifetime | 5-10m, up to 1h |
Thinking
| Vendor control | reasoning.effort |
|---|---|
| Accepted values | none · low · medium · high · xhigh |
| Default | none applied when the request sets nothing |
| Can be turned off | Yes |
| Parameter | reasoning_effort |
| Values | minimal · low · medium · high the gateway's parameter surface - the vendor mapping above applies |
Model
| Modalities | text + image → text |
|---|
- Previous frontier model for professional work
- 400k context / 128k max output
- reasoning effort none-xhigh
- no fine-tuning
Use GPT-5.2 in 30 seconds
OpenAI-compatible: swap the base_url, keep your SDK. POST /v1/chat/completions
from openai import OpenAI
client = OpenAI(
base_url="https://synthorai.io/v1",
api_key="sk-syn-...",
)
resp = client.chat.completions.create(
model="gpt-5.2",
messages=[{"role": "user", "content": "Summarize this diff"}],
reasoning_effort="medium",
)
print(resp.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://synthorai.io/v1",
apiKey: "sk-syn-...",
});
const resp = await client.chat.completions.create({
model: "gpt-5.2",
messages: [{ role: "user", content: "Summarize this diff" }],
reasoning_effort: "medium",
});
console.log(resp.choices[0].message.content);curl https://synthorai.io/v1/chat/completions \
-H "Authorization: Bearer sk-syn-..." \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.2",
"messages": [{"role": "user", "content": "Hello"}],
"reasoning_effort": "medium"
}'package main
import (
"context"
"fmt"
"github.com/openai/openai-go/v3"
"github.com/openai/openai-go/v3/option"
)
func main() {
client := openai.NewClient(
option.WithBaseURL("https://synthorai.io/v1"),
option.WithAPIKey("sk-syn-..."),
)
resp, _ := client.Chat.Completions.New(context.TODO(), openai.ChatCompletionNewParams{
Model: "gpt-5.2",
Messages: []openai.ChatCompletionMessageParamUnion{
openai.UserMessage("Summarize this diff"),
},
ReasoningEffort: openai.ReasoningEffortMedium,
})
fmt.Println(resp.Choices[0].Message.Content)
}import com.openai.client.OpenAIClient;
import com.openai.client.okhttp.OpenAIOkHttpClient;
import com.openai.models.chat.completions.*;
import com.openai.models.ReasoningEffort;
OpenAIClient client = OpenAIOkHttpClient.builder()
.baseUrl("https://synthorai.io/v1")
.apiKey("sk-syn-...")
.build();
ChatCompletion resp = client.chat().completions().create(
ChatCompletionCreateParams.builder()
.model("gpt-5.2")
.addUserMessage("Summarize this diff")
.reasoningEffort(ReasoningEffort.MEDIUM)
.build());
System.out.println(resp.choices().get(0).message().content().orElse(""));About GPT-5.2
- It provides a 400K-token context window, 128K max output tokens, image input, streaming, function calling, structured outputs, and discounted cached input, with an August 2025 knowledge cutoff.
- Reasoning effort defaults to none, so a request that says nothing gets the fastest and cheapest path rather than a deliberating one.
- OpenAI's release notes credit the 5.2 generation with gains in general intelligence, instruction following, accuracy and token efficiency, vision, front-end UI code generation, tool calling and context management, and spreadsheet understanding.
- This is also the release that introduced the xhigh effort level, concise reasoning summaries, and context management through compaction.
- Its hosted tool set covers web search, file search, image generation, code interpreter, hosted shell, apply patch, skills, and MCP, and the Batch API is supported; computer use and tool search are not on its list.
- OpenAI's own guidance is that reasoning models perform better through the Responses API than through Chat Completions, and the model page now carries a banner recommending the latest GPT-5.6 family instead.
- GPT-5.2 remains a proven, lower-cost option for reasoning-heavy production workloads that were tuned against it, with no announced retirement date.
- It is available on Synthorai behind the OpenAI-compatible chat completions API.
FAQ
Is the GPT-5.2 API free to try?
Yes: new accounts get 10 trial calls and up to $1 in free credit, no card required. At $1.75/M input tokens, that credit alone covers roughly 71 requests of ~8K tokens against GPT-5.2.
What is GPT-5.2 best at?
Configurable reasoning effort from none to xhigh; 400K context with 128K max output; proven lower-cost option for reasoning workloads. See the About section for the full picture from the vendor's own release notes.
How much does GPT-5.2 cost?
GPT-5.2 costs $1.75 per million input tokens and $14 per million output tokens on Synthorai. That is the provider's list price, with no platform markup. Cached input tokens bill at $0.875/M.
Does GPT-5.2 support prompt caching?
Yes, automatically: OpenAI-served prompts cache with no code changes. Cached input tokens bill at $0.875/M vs $1.75/M uncached; prompts need a 1,024-token stable prefix to cache (TTL 5-10m, up to 1h). Prompt caching guide →
How do I get access to GPT-5.2?
Point your existing OpenAI SDK at base_url="https://synthorai.io/v1", set model="gpt-5.2", and you're done. One API key covers every model on the gateway.
What is GPT-5.2's knowledge cutoff?
GPT-5.2's knowledge cutoff is 2025-08, per the vendor's official documentation (as of 2026-07-09).
Related models
Compare
Every value on this page is transcribed from the vendor's own documentation, linked above, and carries the date it was checked. Prices are compared across the catalogue; specification values that vendors define differently are shown with the difference stated rather than charted. Nothing here is measured by us, and nothing is scored.