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
Model call failed after giving prompt: The requested model is not supported #40
After giving my prompt, Copilot CLI returns these errors:
Model call failed: {"message":"The requested model is not supported.","code":"model_not_supported","param":"model","type":"invalid_request_error"}
Execution failed: Failed to get response from the AI model; retried 5 times (total retry wait time: 96.5926126843226 seconds)
I have the same problem, but I can use it normally after switching the model to gpt-5, probably because Claude model is not allowed to be used in China at present
Reacted by Johnny Miller, Liuzh, chirag-osfin, Robben, iota and langlang
I have the same problem, but I can use it normally after switching the model to gpt-5, probably because Claude model is not allowed to be used in China at present我遇到了同样的问题,但在切换到 gpt-5 模型后可以正常使用,可能是因为 Claude 模型目前在中国大陆不允许使用
That's how it is. I was just thinking about how we can use Claude.
Hi folks, we improved the /model picker in 0.0.331 to only show you the models your account has access to! Working with our docs team to document the reasons (copilot plan, geographic region, etc) some models may be missing to avoid further confusion.
I had the same issue, tried upgrading via brew but strangely brew told me it wasn't even installed. I then removed it via rm /usr/local/bin/copilot and installed again with brew. Now it seems to be working again.
Yeah, still a lot of these errors flying around. Makes it pretty hard to use this tool. @RyanHecht any regressions happened with the changes that was done? Or new bugs been introduced?
CAPIError 400 The requested model is not supported.
ERROR: {
"name": "CAPIError",
"text": "Copilot has encountered an internal error. If the problem persists, please contact GitHub Support, including the request ID 4422:DDD0F:1D4CB04:216E7D5:69AF932C. To retry, leave a comment on this pull request asking Copilot to try again.",
Execution failed: CAPIError: 400 The requested model is not supported.
it seems like i can't work with all claude models after the last update of copilot, and gpt models were awfully giving me a very bad performance even with a detailed context and well written instruction files !
Activity
yayxs commentedon Sep 26, 2025
Encountered the same problem ⬇️
Model call failed: {"message":"The requested model is not supported.","code":"model_not_supported","param":"model","type":"invalid_request_error"}
Version 0.0.327 Commit: 0cbec74caolib commentedon Sep 26, 2025
I have the same problem, but I can use it normally after switching the model to gpt-5, probably because Claude model is not allowed to be used in China at present
yayxs commentedon Sep 26, 2025
That's how it is. I was just thinking about how we can use Claude.
RyanHecht commentedon Oct 1, 2025
Hi folks, we improved the
/modelpicker in 0.0.331 to only show you the models your account has access to! Working with our docs team to document the reasons (copilot plan, geographic region, etc) some models may be missing to avoid further confusion.VincentPelletier1 commentedon Nov 21, 2025
Same error occured on my side too, but changing the model did not fix anything. It used to work and then it didn't out of the blue.
freezer71 commentedon Nov 24, 2025
I updated the Copilot CLI and it works for me.
mikagorka commentedon Dec 9, 2025
I had the same issue, tried upgrading via brew but strangely brew told me it wasn't even installed. I then removed it via
rm /usr/local/bin/copilotand installed again with brew. Now it seems to be working again.VincentPelletier1 commentedon Dec 9, 2025
I purely installed it via vscode on my end. I tried running on linux 22.04 and 24.04. Still, the same error occurs. I'm on 1.388.0 of github copilot.
dnim commentedon Dec 12, 2025
same error
alf2ooo commentedon Dec 16, 2025
had the same issue, solved by playing around with copilot options in the profile menu, some models were all of a sudden disabled
duycuong87vn commentedon Dec 19, 2025
I had same issue.
ruant commentedon Feb 20, 2026
Yeah, still a lot of these errors flying around. Makes it pretty hard to use this tool.
@RyanHecht any regressions happened with the changes that was done? Or new bugs been introduced?
zzj0402 commentedon Mar 10, 2026
CAPIError 400 The requested model is not supported.
ERROR: {
"name": "CAPIError",
"text": "Copilot has encountered an internal error. If the problem persists, please contact GitHub Support, including the request ID
4422:DDD0F:1D4CB04:216E7D5:69AF932C. To retry, leave a comment on this pull request asking Copilot to try again.",adam-dev-hub commentedon Apr 9, 2026
Execution failed: CAPIError: 400 The requested model is not supported.
it seems like i can't work with all claude models after the last update of copilot, and gpt models were awfully giving me a very bad performance even with a detailed context and well written instruction files !