name: OpenAI Codex
client_type: openai-codex
icon: openai
base_url: https://chatgpt.com/backend-api

models:
  - model_id: gpt-5.2
    name: GPT-5.2
    type: chat
    config:
      compatibilities: [tool-call, reasoning]

  - model_id: gpt-5.2-codex
    name: GPT-5.2 Codex
    type: chat
    config:
      compatibilities: [tool-call, reasoning]

  - model_id: gpt-5.1-codex
    name: GPT-5.1 Codex
    type: chat
    config:
      compatibilities: [tool-call, reasoning]

  - model_id: gpt-5.1-codex-max
    name: GPT-5.1 Codex Max
    type: chat
    config:
      compatibilities: [tool-call, reasoning]

  - model_id: gpt-5.1-codex-mini
    name: GPT-5.1 Codex Mini
    type: chat
    config:
      compatibilities: [tool-call, reasoning]

  - model_id: gpt-5.1
    name: GPT-5.1
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
