Stream disconnected before completion: The model `gpt-5-codex` does not exist or you do not have access to it

Hi everyone,

I’m running into an issue when trying to use the gpt-5-codex model through the API with the Codex extension. The request fails with the following error:

stream disconnected before completion: The model `gpt-5-codex` does not exist or you do not have access to it.

Has anyone else experienced this? Is gpt-5-codex publicly available yet using API? If it requires special access, what’s the process to enable it?

Thanks in advance for any clarification!

1 Like

Note: GPT-5-Codex is not currently supported in ChatGPT or the API.

source

1 Like

The specialized models that you might use:

codex-mini-latest - plugging patches into remote code
computer-use-preview - running amok on your system

https://platform.openai.com/docs/models/codex-mini-latest

gpt-5-codex is for consuming a ChatGPT subscription model.

2 Likes