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
AI_APICallError: The requested model is not supported. #2740
I have a subscription to github copilot pro, but recently my opencode can't use claude related models. Currently, gpt5 and gemini are working.
I tried to login again, but it didn't work.
Claude Sonnet 4: not working
Claude Opus 4: not working
Claude Opus 4.1: not working
Claude Sonnet 3.5 & 3.7: not working
gpt-5 & gemini 2.5 pro: working
input:
opencode run hey --print-logs
error logs:
INFO 2025-09-23T02:16:58 +2ms service=session.prompt session=ses_68ba3e45affelLDviwaXtzpUvE type=error part
ERROR 2025-09-23T02:16:58 +0ms service=session.prompt session=ses_68ba3e45affelLDviwaXtzpUvE error=The requested model is not supported. process
INFO 2025-09-23T02:16:58 +1ms service=bus type=session.error publishing
Error: AI_APICallError: The requested model is not supported.
INFO 2025-09-23T02:16:58 +1ms service=bus type=message.updated publishing
INFO 2025-09-23T02:16:58 +0ms service=bus type=message.updated publishing
INFO 2025-09-23T02:16:58 +0ms service=session.compaction pruning
INFO 2025-09-23T02:16:58 +0ms service=session.prompt session=ses_68ba3e45affelLDviwaXtzpUvE sessionID=ses_68ba3e45affelLDviwaXtzpUvE unlocking
Activity
rekram1-node commentedon Sep 23, 2025
@CG-man what claude model are you trying?
Some models require a Pro+ plan
All other ones require you to explicitly enable in your copilot dashboard: https://github.com/settings/copilot/features
CG-man commentedon Sep 23, 2025
Claude Sonnet 4: not working
Claude Opus 4: not working
Claude Opus 4.1: not working
Claude Sonnet 3.5 & 3.7: not working
gpt-5 & gemini 2.5 pro: working
input:
error logs:
rekram1-node commentedon Sep 23, 2025
@CG-man try opencode auth logout and then back in
rekram1-node commentedon Sep 23, 2025
If you are on pro plan you dont get any opus access
CG-man commentedon Sep 23, 2025
However, last week, claude 4 was still working properly in opencode. But yesterday, I suddenly found that I couldn’t access claude’s model.
I don't know the reason. Could it be that github has done something to me
In the copilot chat plugin in vscode, the claude’s model is working.
rekram1-node commentedon Sep 23, 2025
Hmm it could be where you are based maybe? I haven't heard of this happening maybe they block certain models based on region
CG-man commentedon Sep 23, 2025
I solved this problem
TDshaokunkun commentedon Mar 25, 2026
Hello @CG-man
Thanks a lot! This perfectly solved my problem