name: OpenAI
client_type: openai-responses
icon: openai
base_url: https://api.openai.com/v1

models:
  - model_id: gpt-5.4
    name: GPT-5.4
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 1050000

  - model_id: gpt-5.4-pro
    name: GPT-5.4 Pro
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 1050000

  - model_id: gpt-5.4-mini
    name: GPT-5.4 mini
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 400000

  - model_id: gpt-5.4-nano
    name: GPT-5.4 nano
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 400000

  - model_id: gpt-5.3-chat-latest
    name: GPT-5.3 Chat
    type: chat
    config:
      compatibilities: [vision, tool-call]
      context_window: 128000

  - model_id: gpt-5.3-codex
    name: GPT-5.3 Codex
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 400000

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

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

  - model_id: gpt-5.2-pro
    name: GPT-5.2 pro
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 400000

  - model_id: gpt-5.2-chat-latest
    name: GPT-5.2 Chat
    type: chat
    config:
      compatibilities: [vision, tool-call]
      context_window: 128000

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

  - model_id: gpt-5.1-chat-latest
    name: GPT-5.1 Chat
    type: chat
    config:
      compatibilities: [vision, tool-call]
      context_window: 128000

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

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

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

  - model_id: gpt-5-pro
    name: GPT-5 pro
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 400000

  - model_id: gpt-5-codex
    name: GPT-5 Codex
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 400000

  - model_id: gpt-5
    name: GPT-5
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 400000

  - model_id: gpt-5-mini
    name: GPT-5 mini
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 400000

  - model_id: gpt-5-nano
    name: GPT-5 nano
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 400000

  - model_id: gpt-5-chat-latest
    name: GPT-5 Chat
    type: chat
    config:
      compatibilities: [vision]
      context_window: 400000

  - model_id: o4-mini
    name: o4-mini
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 200000

  - model_id: o4-mini-deep-research
    name: o4-mini Deep Research
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 200000

  - model_id: o3-pro
    name: o3-pro
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 200000

  - model_id: o3
    name: o3
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 200000

  - model_id: o3-deep-research
    name: o3 Deep Research
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 200000

  - model_id: o3-mini
    name: o3-mini
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 200000

  - model_id: o1-pro
    name: o1-pro
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 200000

  - model_id: o1
    name: o1
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 200000

  - model_id: gpt-4.1
    name: GPT-4.1
    type: chat
    config:
      compatibilities: [vision, tool-call]
      context_window: 1047576

  - model_id: gpt-4.1-mini
    name: GPT-4.1 mini
    type: chat
    config:
      compatibilities: [vision, tool-call]
      context_window: 1047576

  - model_id: gpt-4.1-nano
    name: GPT-4.1 nano
    type: chat
    config:
      compatibilities: [vision, tool-call]
      context_window: 1047576

  - model_id: gpt-4o-mini
    name: GPT-4o mini
    type: chat
    config:
      compatibilities: [vision, tool-call]
      context_window: 128000

  - model_id: gpt-4o-mini-search-preview
    name: GPT-4o mini Search Preview
    type: chat
    config:
      context_window: 128000

  - model_id: gpt-4o
    name: GPT-4o
    type: chat
    config:
      compatibilities: [vision, tool-call]
      context_window: 128000

  - model_id: gpt-4o-search-preview
    name: GPT-4o Search Preview
    type: chat
    config:
      context_window: 128000

  - model_id: gpt-4o-2024-11-20
    name: GPT-4o 1120
    type: chat
    config:
      compatibilities: [vision, tool-call]
      context_window: 128000

  - model_id: gpt-4o-2024-05-13
    name: GPT-4o 0513
    type: chat
    config:
      compatibilities: [vision, tool-call]
      context_window: 128000

  - model_id: gpt-audio
    name: GPT Audio
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 128000

  - model_id: gpt-4o-audio-preview
    name: GPT-4o Audio Preview
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 128000

  - model_id: gpt-4o-mini-audio-preview
    name: GPT-4o mini Audio
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 128000

  - model_id: gpt-4-turbo
    name: GPT-4 Turbo
    type: chat
    config:
      compatibilities: [vision, tool-call]
      context_window: 128000

  - model_id: gpt-4-turbo-2024-04-09
    name: GPT-4 Turbo Vision 0409
    type: chat
    config:
      compatibilities: [vision, tool-call]
      context_window: 128000

  - model_id: gpt-4-turbo-preview
    name: GPT-4 Turbo Preview
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 128000

  - model_id: gpt-4-0125-preview
    name: GPT-4 Turbo Preview 0125
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 128000

  - model_id: gpt-4-1106-preview
    name: GPT-4 Turbo Preview 1106
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 128000

  - model_id: gpt-4
    name: GPT-4
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 8192

  - model_id: gpt-4-0613
    name: GPT-4 0613
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 8192

  - model_id: gpt-3.5-turbo
    name: GPT-3.5 Turbo
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 16384

  - model_id: gpt-3.5-turbo-0125
    name: GPT-3.5 Turbo 0125
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 16384

  - model_id: gpt-3.5-turbo-1106
    name: GPT-3.5 Turbo 1106
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 16384

  - model_id: gpt-3.5-turbo-instruct
    name: GPT-3.5 Turbo Instruct
    type: chat
    config:
      context_window: 4096

  - model_id: computer-use-preview
    name: Computer Use Preview
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 8192

  - model_id: text-embedding-3-large
    name: Text Embedding 3 Large
    type: embedding
    config:
      dimensions: 3072

  - model_id: text-embedding-3-small
    name: Text Embedding 3 Small
    type: embedding
    config:
      dimensions: 1536
