Back to models

GPT-5.2

NewThe best model for coding and agentic tasks across industries

Context window128,000 tokens
Max output tokens128,000 tokens
Training dataUp to 2025-08-31

Pricing

TypeInputOutput
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

ParameterDefaultRange
Max stop sequences0

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 IDgpt-5.2
FamilyOther
Access typeClosed
Input modalitiestext
Output modalitiestext
Last updatedJanuary 3, 2026
GPT-5.2 | ModelHub | ModelHub