Github 5.1 Openai codex error #2859

Closed
opened 2026-02-16 17:37:34 -05:00 by yindo · 3 comments
Owner

Originally created by @ham-zax on GitHub (Nov 14, 2025).

Description

model gpt-5.1-codex is not accessible via the /chat/completions endpoint

img width="942" height="281" alt="Image" src="https://github.com/user-attachments/assets/eea59faa-f8a5-4a99-bce6-8828a60127b1" />

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @ham-zax on GitHub (Nov 14, 2025). ### Description **model gpt-5.1-codex is not accessible via the /chat/completions endpoint** img width="942" height="281" alt="Image" src="https://github.com/user-attachments/assets/eea59faa-f8a5-4a99-bce6-8828a60127b1" /> ### OpenCode version _No response_ ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the bug label 2026-02-16 17:37:34 -05:00
yindo closed this issue 2026-02-16 17:37:34 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 14, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #4316: Feature request for first-class GPT-5.1 model support including gpt-5.1-codex. Your reported error may be because OpenCode doesn't yet have full support for GPT-5.1 models.

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Nov 14, 2025): This issue might be a duplicate of existing issues. Please check: - #4316: Feature request for first-class GPT-5.1 model support including gpt-5.1-codex. Your reported error may be because OpenCode doesn't yet have full support for GPT-5.1 models. Feel free to ignore if none of these address your specific case.
Author
Owner

@OpeOginni commented on GitHub (Nov 14, 2025):

@ham-zax Same issue with gpt-5-codex here.

This was a solution made, but it does make github overbill your requests, so always check your billing if you decide to use it. https://github.com/sst/opencode/issues/2758#issuecomment-3368518913

@OpeOginni commented on GitHub (Nov 14, 2025): @ham-zax Same issue with `gpt-5-codex` [here](https://github.com/sst/opencode/issues/2758). This was a solution made, but it does make github overbill your requests, so always check your billing if you decide to use it. https://github.com/sst/opencode/issues/2758#issuecomment-3368518913
Author
Owner

@rekram1-node commented on GitHub (Nov 14, 2025):

#2758

im gonna track it with this issue ill see if we can resolve it today

@rekram1-node commented on GitHub (Nov 14, 2025): #2758 im gonna track it with this issue ill see if we can resolve it today
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2859