OpenAI BYOK chat with image - throws the error

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Chats with images is not working for OpenAi BYOK

Steps to Reproduce

  1. Ive Cursor pro plan
  2. Ive added Openai Key
  3. Chat with image is not working - Unauthorized User Openai API key Request ID (here id)
  4. Chats with any content works

Expected Behavior

Chats with images works

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Version: 3.0.13
VSCode Version: 1.105.1
Commit: 48a15759f53cd5fc9b5c20936ad7d79847d914b0
Date: 2026-04-07T03:05:17.114Z
Layout: glass
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.4.0

For AI issues: which model did you use?

GPT-5.4

For AI issues: add Request ID with privacy disabled

05ab2369-1ac9-4b2d-b2c9-47c0fd5ab022

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report and the Request ID. We’ve confirmed this is a bug on our side.

When using BYOK, sending images in chat isn’t handled correctly, which is why you’re seeing the Unauthorized error. Text-only chats still work, as you noticed.

I’ve passed this on to the team. For now, the workaround is to use Cursor’s built-in models for chats with images instead of BYOK.

Let me know if you have any questions.