GeekRadar / The comparison desk
COMPARE.
AI models
openai

GPT-5.2 Codex

AI model Released

API mode
Responses API*
Context window
400,000 tokens
Maximum output
128,000 tokens
Open weights
No

No matched benchmark results are available for this entry yet.

Run it locally

Inference · memory estimate

GPT-5.2 Codex

Closed weights. No supported local deployment or GPU requirement is published.

API cost

USD / month

Standard text-token estimate. Excludes taxes, caching, batch discounts, reasoning and multimodal surcharges. Provider limits and regional availability may differ.

GPT-5.2 Codex

Capabilities

Context window
400,000 tokens
Maximum input
272,000 tokens*
Maximum output
128,000 tokens
Reasoning
Yes
Tool calling
Yes
Structured output
Yes*
Open weights
No
Knowledge cutoff
2025-08-31
API mode
Responses API*
Image input
Yes*
PDF input
Yes*
Parallel tool calls
Yes*
Prompt caching
Yes*
Tool choice
Yes*
Web search
Yes*

Input modalities

  • text
  • image
  • pdf

Output modalities

  • text

System configuration

Detailed specifications

Specifications · 22 fields
cache read input token cost
1.75e-7*
Scope and conditions
native_context
provider
openai*
mode
responses*
full_native_model_id
gpt-5.2-codex*
pricing_scope
Literal source field names and values retained; provider, region, cache/batch/threshold conditions and per-unit meaning must be checked. max_tokens is not automatically a context limit.*
deprecation date
2026-07-23*
Scope and conditions
native_context
provider
openai*
mode
responses*
full_native_model_id
gpt-5.2-codex*
pricing_scope
Literal source field names and values retained; provider, region, cache/batch/threshold conditions and per-unit meaning must be checked. max_tokens is not automatically a context limit.*
input cost per token
1.75e-6*
Scope and conditions
native_context
provider
openai*
mode
responses*
full_native_model_id
gpt-5.2-codex*
pricing_scope
Literal source field names and values retained; provider, region, cache/batch/threshold conditions and per-unit meaning must be checked. max_tokens is not automatically a context limit.*
litellm provider
openai*
Scope and conditions
native_context
provider
openai*
mode
responses*
full_native_model_id
gpt-5.2-codex*
pricing_scope
Literal source field names and values retained; provider, region, cache/batch/threshold conditions and per-unit meaning must be checked. max_tokens is not automatically a context limit.*
max input tokens
272,000*
Scope and conditions
native_context
provider
openai*
mode
responses*
full_native_model_id
gpt-5.2-codex*
pricing_scope
Literal source field names and values retained; provider, region, cache/batch/threshold conditions and per-unit meaning must be checked. max_tokens is not automatically a context limit.*
max output tokens
128,000*
Scope and conditions
native_context
provider
openai*
mode
responses*
full_native_model_id
gpt-5.2-codex*
pricing_scope
Literal source field names and values retained; provider, region, cache/batch/threshold conditions and per-unit meaning must be checked. max_tokens is not automatically a context limit.*
max tokens
128,000*
Scope and conditions
native_context
provider
openai*
mode
responses*
full_native_model_id
gpt-5.2-codex*
pricing_scope
Literal source field names and values retained; provider, region, cache/batch/threshold conditions and per-unit meaning must be checked. max_tokens is not automatically a context limit.*
mode
responses*
Scope and conditions
native_context
provider
openai*
mode
responses*
full_native_model_id
gpt-5.2-codex*
pricing_scope
Literal source field names and values retained; provider, region, cache/batch/threshold conditions and per-unit meaning must be checked. max_tokens is not automatically a context limit.*
output cost per token
1.4e-5*
Scope and conditions
native_context
provider
openai*
mode
responses*
full_native_model_id
gpt-5.2-codex*
pricing_scope
Literal source field names and values retained; provider, region, cache/batch/threshold conditions and per-unit meaning must be checked. max_tokens is not automatically a context limit.*
supported endpoints
  • /v1/responses*
Scope and conditions
native_context
provider
openai*
mode
responses*
full_native_model_id
gpt-5.2-codex*
pricing_scope
Literal source field names and values retained; provider, region, cache/batch/threshold conditions and per-unit meaning must be checked. max_tokens is not automatically a context limit.*
supported modalities
  • text*
  • image*
Scope and conditions
native_context
provider
openai*
mode
responses*
full_native_model_id
gpt-5.2-codex*
pricing_scope
Literal source field names and values retained; provider, region, cache/batch/threshold conditions and per-unit meaning must be checked. max_tokens is not automatically a context limit.*
supported output modalities
  • text*
Scope and conditions
native_context
provider
openai*
mode
responses*
full_native_model_id
gpt-5.2-codex*
pricing_scope
Literal source field names and values retained; provider, region, cache/batch/threshold conditions and per-unit meaning must be checked. max_tokens is not automatically a context limit.*
supports function calling
Yes*
Scope and conditions
native_context
provider
openai*
mode
responses*
full_native_model_id
gpt-5.2-codex*
pricing_scope
Literal source field names and values retained; provider, region, cache/batch/threshold conditions and per-unit meaning must be checked. max_tokens is not automatically a context limit.*
supports native streaming
Yes*
Scope and conditions
native_context
provider
openai*
mode
responses*
full_native_model_id
gpt-5.2-codex*
pricing_scope
Literal source field names and values retained; provider, region, cache/batch/threshold conditions and per-unit meaning must be checked. max_tokens is not automatically a context limit.*
supports parallel function calling
Yes*
Scope and conditions
native_context
provider
openai*
mode
responses*
full_native_model_id
gpt-5.2-codex*
pricing_scope
Literal source field names and values retained; provider, region, cache/batch/threshold conditions and per-unit meaning must be checked. max_tokens is not automatically a context limit.*
supports pdf input
Yes*
Scope and conditions
native_context
provider
openai*
mode
responses*
full_native_model_id
gpt-5.2-codex*
pricing_scope
Literal source field names and values retained; provider, region, cache/batch/threshold conditions and per-unit meaning must be checked. max_tokens is not automatically a context limit.*
supports prompt caching
Yes*
Scope and conditions
native_context
provider
openai*
mode
responses*
full_native_model_id
gpt-5.2-codex*
pricing_scope
Literal source field names and values retained; provider, region, cache/batch/threshold conditions and per-unit meaning must be checked. max_tokens is not automatically a context limit.*
supports reasoning
Yes*
Scope and conditions
native_context
provider
openai*
mode
responses*
full_native_model_id
gpt-5.2-codex*
pricing_scope
Literal source field names and values retained; provider, region, cache/batch/threshold conditions and per-unit meaning must be checked. max_tokens is not automatically a context limit.*
supports response schema
Yes*
Scope and conditions
native_context
provider
openai*
mode
responses*
full_native_model_id
gpt-5.2-codex*
pricing_scope
Literal source field names and values retained; provider, region, cache/batch/threshold conditions and per-unit meaning must be checked. max_tokens is not automatically a context limit.*
supports tool choice
Yes*
Scope and conditions
native_context
provider
openai*
mode
responses*
full_native_model_id
gpt-5.2-codex*
pricing_scope
Literal source field names and values retained; provider, region, cache/batch/threshold conditions and per-unit meaning must be checked. max_tokens is not automatically a context limit.*
supports vision
Yes*
Scope and conditions
native_context
provider
openai*
mode
responses*
full_native_model_id
gpt-5.2-codex*
pricing_scope
Literal source field names and values retained; provider, region, cache/batch/threshold conditions and per-unit meaning must be checked. max_tokens is not automatically a context limit.*
supports web search
Yes*
Scope and conditions
native_context
provider
openai*
mode
responses*
full_native_model_id
gpt-5.2-codex*
pricing_scope
Literal source field names and values retained; provider, region, cache/batch/threshold conditions and per-unit meaning must be checked. max_tokens is not automatically a context limit.*

* Provisional data