Codex

Models, options, and features for Codex.

Send a codex block to run a session with Codex:

1
{
2
"codex": {
3
"prompt": "Find and fix the failing test.",
4
"model": "gpt-6-sol",
5
"effort": "medium"
6
}
7
}

In agent YAML, the same fields go under session.codex. The CLI picks the harness from --model:

1
el --model gpt-6-astra -e cloud_agent_environment "Find and fix the failing test."

Options

The task.

gpt-6-astra, gpt-6-sol, gpt-6-luna, or gpt-5.6-sol.

Reasoning effort. GPT-6 Astra doesn't accept none.

Features

FeatureSupport
Follow-up messagesAll models
MCP serversAll models
JSON outputAll models
SkillsAll models
Images in messagesAll models

Subscription

To pay with your ChatGPT plan instead of credits, connect your Codex subscription. Ellipsis refreshes the login when needed.

On this page

Schedule a demo