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; unknown slugs round-trip through CodexModel::Custom.

Enums§

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