pub enum CodexModel {
Gpt6Astra,
DaybreakBlue,
DaybreakRed,
Gpt56Sol,
Gpt56Terra,
Gpt56Luna,
Gpt55,
Gpt54,
Gpt54Mini,
Gpt52,
CodexAutoReview,
Custom(String),
}Expand description
A model slug accepted by the Codex CLI and app-server.
Variants§
Gpt6Astra
GPT-6-Astra (gpt-6-astra) — first GPT-6-family model in the
catalog (272k context). Live-probed 2026-09-04: the backend
recognizes the slug but rejects it for ChatGPT-plan auth
(“not supported when using Codex with a ChatGPT account”).
DaybreakBlue
Daybreak Blue (gpt-daybreak-blue-latest) — the cyber-access
program models (see CyberAccessProgram); server-side gated.
DaybreakRed
Daybreak Red (gpt-daybreak-red-latest) — cyber-access program,
372k context; server-side gated.
Gpt56Sol
GPT-5.6-Sol (gpt-5.6-sol).
Gpt56Terra
GPT-5.6-Terra (gpt-5.6-terra).
Gpt56Luna
GPT-5.6-Luna (gpt-5.6-luna).
Gpt55
GPT-5.5 (gpt-5.5).
Gpt54
GPT-5.4 (gpt-5.4).
Gpt54Mini
GPT-5.4-Mini (gpt-5.4-mini).
Gpt52
GPT-5.2 (gpt-5.2).
CodexAutoReview
Codex Auto Review (codex-auto-review) — hidden from the picker but
accepted by the API.
Custom(String)
A model slug not yet known to this version of the crate. Passed through verbatim.
Implementations§
Source§impl CodexModel
impl CodexModel
Sourcepub fn display_name(&self) -> &str
pub fn display_name(&self) -> &str
Human-friendly display name, matching the catalog’s display_name.
Sourcepub fn known() -> &'static [CodexModel]
pub fn known() -> &'static [CodexModel]
Every model known to this version of the crate.
Trait Implementations§
Source§impl Clone for CodexModel
impl Clone for CodexModel
Source§fn clone(&self) -> CodexModel
fn clone(&self) -> CodexModel
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more