Skip to content

Variable: OpenAIModelSchema

const OpenAIModelSchema: ZodObject<{ capabilities: ZodObject<{ ai_gateway_codex: ZodBoolean; anthropic: ZodBoolean; embeddings: ZodBoolean; open_responses: ZodBoolean; reasoning: ZodArray<ZodEnum<{ high: "high"; low: "low"; max: "max"; medium: "medium"; minimal: "minimal"; none: "none"; xhigh: "xhigh"; }>>; responses: ZodBoolean; streaming: ZodBoolean; tools: ZodBoolean; web_search: ZodBoolean; }, $strip>; created: ZodNumber; id: ZodString; name: ZodString; object: ZodLiteral<"model">; owned_by: ZodString; status: ZodObject<{ deprecated: ZodDefault<ZodBoolean>; }, $strip>; task: ZodOptional<ZodString>; }, $strip>

One OpenAI-compatible model-list entry.

  • status: Model retirement status.
  • status.deprecated (optional): True when the model should no longer be selected by default.