You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GitHub Copilot's gpt-5-codex model is not accessible via OpenAI /chat/completions endpoint #2778
I'm trying to use GPT-5-Codex within opencode. I have successfully enabled access to the GPT-5-Codex model through my GitHub account settings, but when attempting to use the model in opencode, I'm encounter the below error
AI_APICallError: model gpt-5-codex is not accessible via the /chat/completions endpoint
Steps to Reproduce:
Enabled GPT-5-Codex model access in GitHub account settings
Configured OpenCode to use GPT-5-Codex as the model
Activity
github-actions commentedon Sep 25, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.