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);
GPT-6.2-Sol and GPT-6.2-Astra from openai/codex@6c0cee50 (2026-11-17).
Unknown slugs round-trip through CodexModel::Custom.
Enums§
- Codex
Model - A model slug accepted by the Codex CLI and app-server.