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.
Context window
This model accepts 272K tokens in one request (~204K words of text).
What fits in one request
- FitsShort documentAbout 1,500 words of text
- FitsLong documentAbout 37K words of text
- FitsSmall codebaseAbout 150K words of text
- Won't fitFull novelAbout 375K words of text
Specifications
Context size, pricing, and release info in one place.
- Context window
- 272,000 tokens (272K)
- Max output tokens
- 128,000 tokens (128K)
- Speed tier
- balanced
- Provider
- Openai
- Release date
- Dec 2025
- Input cost
- $1.75/M / 1M tokens
- Output cost
- $14.00/M / 1M tokens
- Cached input
- $0.175/M / 1M tokens
Capabilities
See which features this model supports, such as vision, tools, and streaming.
- Vision
- Accepts image inputs alongside text
- Supported
- Tool use
- Can call external tools and APIs
- Supported
- Function calling
- Structured function call interface
- Supported
- Extended thinking
- Shows its chain-of-thought reasoning
- Supported
- Streaming
- Returns tokens as they are generated
- Supported
- Prompt caching
- Reuse repeated prompt prefixes cheaply
- Supported
- Web search
- Can browse the web during a request
- Not supported
- Batch API
- Process many requests asynchronously
- Not supported
Best for
Jump to a guide or ranking that matches each workload.
Compare GPT-5.2
Open a side-by-side comparison with one click.
- GPT-5.2 vs Amazon Titan Text Express
GPT-5.2 has 547% larger context window
- GPT-5.2 vs Amazon Titan Text Lite
GPT-5.2 has 547% larger context window
- GPT-5.2 vs Amazon Titan Text Premier
GPT-5.2 has 547% larger context window
- GPT-5.2 vs Claude Instant
GPT-5.2 has 172% larger context window
- GPT-5.2 vs Anthropic Claude
GPT-5.2 has 172% larger context window
- GPT-5.2 vs Codellama 34b Instruct
GPT-5.2 has 6540% larger context window
Frequently asked questions
Short answers about context size and how this model behaves.
More from Openai
Other models by Openai in our catalog.
Powered by Mem0
Use a smaller model.
Get better results.
Mem0 gives your AI long-term memory so you stop re-sending context on every call. That means you can use a smaller, faster, cheaper model — and still get better answers.
Example: a multi-turn chat session
80% less to send — works with any model