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.1-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.1-sol, gpt-6-astra, gpt-6-sol, or gpt-6-luna.

Reasoning effort. GPT-6.1 Sol and GPT-6 Astra don't accept none.

Features

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

On this page

Schedule a demo