Skip to content

Variable: CodexModelSchema

const CodexModelSchema: ZodObject<{ apply_patch_tool_type: ZodNullable<ZodString>; availability_nux: ZodNullable<ZodUnknown>; base_instructions: ZodString; context_window: ZodNullable<ZodNumber>; default_reasoning_level: ZodOptional<ZodEnum<{ high: "high"; low: "low"; max: "max"; medium: "medium"; minimal: "minimal"; none: "none"; xhigh: "xhigh"; }>>; default_verbosity: ZodNullable<ZodString>; description: ZodString; display_name: ZodString; experimental_supported_tools: ZodArray<ZodUnknown>; input_modalities: ZodArray<ZodString>; priority: ZodNumber; shell_type: ZodString; slug: ZodString; status: ZodObject<{ deprecated: ZodDefault<ZodBoolean>; }, $strip>; support_verbosity: ZodBoolean; supported_in_api: ZodBoolean; supported_reasoning_levels: ZodArray<ZodObject<{ description: ZodString; effort: ZodEnum<{ high: "high"; low: "low"; max: "max"; medium: "medium"; minimal: "minimal"; none: "none"; xhigh: "xhigh"; }>; }, $strip>>; supports_image_detail_original: ZodBoolean; supports_search_tool: ZodBoolean; truncation_policy: ZodObject<{ limit: ZodNumber; mode: ZodEnum<{ bytes: "bytes"; tokens: "tokens"; }>; }, $strip>; upgrade: ZodNullable<ZodUnknown>; visibility: ZodLiteral<"list">; web_search_tool_type: ZodString; }, $strip>

One Codex model-catalog entry.

  • status: Model retirement status.
  • status.deprecated (optional): True when the model should no longer be selected by default.
  • default_reasoning_level (optional): Reasoning effort value accepted by compatible model endpoints.