OpenAI: GPT-5.2-Codex

Recommended

GPT-5.2-Codex is an upgraded version of GPT-5.1-Codex optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks. The model supports building projects from scratch, feature development...

$1.75/1M input tokens
Context Window
400,000 tokens
Max Output
128,000 tokens
Input Modalities
textimage

Try OpenAI: GPT-5.2-Codex in Kilo Code

Experience this model with the most popular open source coding agent. Free to start, pay only for AI usage. Use in popular IDEs like VS Code, JetBrains, command line, or cloud agents.

1M+

Downloads

500+

models supported

Free

to Start

Access 500+ models including OpenAI: GPT-5.2-Codex and many more in Kilo Code

Benchmarking OpenAI: GPT-5.2-Codex

Real-World Usage

Real-world usage statistics from the Kilo Code community

Weekly Token Usage

Mode Rankings (Last Week)

Where this model ranks for each built-in mode

Architect

Plan and design before implementation

No data

Code

Write, modify, and refactor code

No data

Ask

Get answers and explanations

No data

Debug

Diagnose and fix software issues

#53

Orchestrator

Coordinate tasks across multiple modes

No data

Real-world metrics from the Kilo Code Leaderboard

Pricing

Cost per 1 million tokens

Input Tokens
$1.75
per 1M tokens
Output Tokens
$14.00
per 1M tokens

Example Cost

Analyzing a 10,000 line codebase (≈40k input tokens, 10k output tokens) costs approximately $0.2100

Coding Capabilities

Features and parameters relevant to coding tasks

Coding Features

Function Calling
Can call external functions/APIs
Tool Choice
Control over function selection
Structured Outputs
JSON schema validation
Reasoning Tokens
Extended thinking for complex problems

Pricing details from OpenRouter

Technical Details

Architecture and implementation specifications

Model ID
openai/gpt-5.2-codex
Created
January 14, 2026
Tokenizer
GPT
Input Modalities
text, image
Context Window
400,000 tokens
Max Completion Tokens
128,000 tokens
Input Price
$1.75 per 1M tokens
Output Price
$14.00 per 1M tokens
Cache Read Price
$0.00 per 1M tokens
Content Moderation
Enabled

Ready to try OpenAI: GPT-5.2-Codex?

Install Kilo Code and start using OpenAI: GPT-5.2-Codex for your coding projects today. Choose from 400+ AI models with complete freedom.