Back to models
GPT-5.2
NewThe best model for coding and agentic tasks across industries
| Context window | 128,000 tokens |
| Max output tokens | 128,000 tokens |
| Training data | Up to 2025-08-31 |
Pricing
| Type | Input | Output |
|---|---|---|
| Standard | $3.50 / 1M tokens | $28.00 / 1M tokens |
| Batch API | $1.75 / 1M tokens | $14.00 / 1M tokens |
| Cached input | $0.35 / 1M tokens | |
Parameters
| Parameter | Default | Range |
|---|---|---|
| Max stop sequences | 0 | — |
Supported features
Capabilities
- Streaming
- Function Calling
- Structured Output
- Json Mode
- Distillation
- Reasoning
- System Prompt
- Logprobs
Endpoints
- Chat Completions
- Responses
- Realtime
- Assistants
- Batch
- Embeddings
- Fine Tuning
- Image Generation
- Vision
- Speech Generation
- Transcription
- Translation
- Moderation
- Completions
- Videos
- Image Edit
Tools
- Web Search
- File Search
- Image Generation
- Code Interpreter
- Mcp
Use cases
- text-chat
Model specifications
| Model ID | gpt-5.2 |
| Family | Other |
| Access type | Closed |
| Input modalities | text |
| Output modalities | text |
| Last updated | January 3, 2026 |