Skip to main content

Module models

Module models 

Source
Expand description

Convenience enum for the models the Codex CLI exposes.

Variants are keyed by human-friendly model names; CodexModel::cli_arg returns the model slug to pass to codex -m / --model, to ThreadStartParams.model, or to an AppServerBuilder::config_override of model.

The catalog was taken from openai/codex@main’s bundled models-manager/models.json (2026-07-11). The server catalog evolves faster than this crate; GPT-6.1 Sol was verified against the live Codex catalog and official model documentation (2026-10-04); GPT-6-Sol and GPT-6-Luna were added from the bundled catalog at openai/codex@d63a9b83 (2026-10-06); GPT-6.1 Terra from openai/codex@126a0ee9 (2026-10-27). Unknown slugs round-trip through CodexModel::Custom.

Enums§

CodexModel
A model slug accepted by the Codex CLI and app-server.