Skip to main content

Command Palette

Search for a command to run...

Models
OpenAI

GPT-5-Codex

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

Tools

GPT-5 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

GPT-5 Codex is a third-party model, so it isn't part of the usage included with Cursor plans. On The X Subscription it's billed at the rates below from your prepaid credit. On legacy Cursor plans it draws from the Other Models pool. All prices are per million tokens.

Name
$1.25-$0.125$10