# GPT-5.2 Codex

> GPT-5.2 Codex is the Codex-environment variant of GPT-5.2, tuned for agentic coding workloads with streaming, function calling, and structured outputs. Available through OpenAI's Responses API.


**ID**: `openai/gpt-5.2-codex`  
**Creator**: OpenAI  
**Category**: text  
**Context**: 400K tokens  
**Input**: $1.75/M  
**Output**: $14.00/M  
**Released**: 2026-01-21  
**Web page**: https://anyrouter.dev/model/openai/gpt-5.2-codex

**Input modalities**: text, image  
**Output modalities**: text  

**Tokenizer**: GPT

**Capabilities**: chat, coding, reasoning, streaming, function-calling, vision

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| opencode-zen-byok | $1.75/M | $14.00/M |

## Benchmarks

- **GPQA Diamond**: 0.7
