Skip to main content

Command Palette

Search for a command to run...

Models
OpenAI

GPT-5.2 Codex

Model ID
gpt-5.2-codex
Context window
272k
Max context
-
Provider
OpenAI
Capabilities
AgentThinking
Speed
Medium
Cost
Medium
Intelligence
High

Tools

GPT-5.2 Codex has access to all agent tools when used with Cursor including:

Find files by name, read directory structures, and grep for patterns.

Generate search queries and fetch results from the web.

Read file contents, including images for vision-capable models.

Suggest edits and apply them automatically.

Execute terminal commands and monitor output.

Control a browser to take screenshots, test applications, and verify visual changes. See the Browser documentation.

Generate images from text descriptions or reference images.

Ask clarifying questions while continuing to work in the background.

Retrieve rules based on type and description.

Learn more about how tools work and tool calling fundamentals.

Pricing

Cursor plans include two usage pools. GPT-5.2 Codex draws from the third-party Other Models pool, which charges at the rates below. All prices are per million tokens.

Name
$1.75-$0.175$14