Skip to content

[Bug]: OpenAI Image Tools fall back to gpt-image-1, which OpenAI shuts down on October 23, 2026 #16893

Closed

Description

@ReignVentures

What happened?

When IMAGE_GEN_OAI_MODEL is not set, the OpenAI Image Tools use gpt-image-1:

const imageModel = process.env.IMAGE_GEN_OAI_MODEL || 'gpt-image-1';

OpenAI's deprecations page lists gpt-image-1 for shutdown on October 23, 2026, with gpt-image-2.5-sunburst or gpt-image-2.5-flare as substitutes:
https://developers.openai.com/api/docs/deprecations

After that date, image generation and editing through these tools will fail for anyone on the default (api.openai.com; Azure deployments follow Azure's own schedule). .env.example also suggests gpt-image-1 and gpt-image-1.5; OpenAI lists gpt-image-1.5 for shutdown on December 1, 2026.

Related: the built-in DALL-E 3 tool hardcodes model: 'dall-e-3' (DALLE3.js#L161), which OpenAI shut down on May 12, 2026.

Version Information

dev at 5d26de6 (code inspection; not environment specific).

Steps to Reproduce

  1. Enable the OpenAI Image Tools with an api.openai.com key and leave IMAGE_GEN_OAI_MODEL unset.
  2. After October 23, 2026, ask an agent to generate an image.
  3. The request goes out with model: "gpt-image-1" and fails.

What browsers are you seeing the problem on?

Not browser specific.

Relevant log output

None yet; the shutdown date is October 23, 2026.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Found with apiwatch (https://apiwatch.reignventures.co), which tracks vendor model retirements. Dates are from the vendor page linked above.

Activity

  1. added
    🐛 bugSomething isn't working
    🗺️ Agent Runtimecodegraph: the taxonomy area this belongs to (classifier, confidence ≥ 0.9)
    on Oct 9, 2026
  2. berry-13 commented on Oct 17, 2026

    @berry-13
    Collaborator

    Fixed on dev: #17014 defaults OpenAI Image Tools to gpt-image-2.5-flare, and #17205 retires the DALL-E 3 tool. Docs: LibreChat-AI/docs#834.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working🗺️ Agent Runtimecodegraph: the taxonomy area this belongs to (classifier, confidence ≥ 0.9)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions