Skip to content

Model call failed after giving prompt: The requested model is not supported #40

Closed

Description

@johnnymillergh

Describe the bug

Image

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)

Affected version

0.0.327
Commit: 0cbec74

Steps to reproduce the behavior

No response

Expected behavior

No error like this is being responded.

Additional context

No response

Activity

  1. yayxs commented on Sep 26, 2025

    @yayxs

    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: 0cbec74

  2. caolib commented on Sep 26, 2025

    @caolib

    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

    Image
  3. yayxs commented on Sep 26, 2025

    @yayxs

    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 模型目前在中国大陆不允许使用

    Image

    That's how it is. I was just thinking about how we can use Claude.

  4. deleted a comment from caolib on Sep 30, 2025
  5. deleted a comment from yayxs on Sep 30, 2025
  6. RyanHecht commented on Oct 1, 2025

    @RyanHecht
    Collaborator

    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.

  7. VincentPelletier1 commented on Nov 21, 2025

    @VincentPelletier1

    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.

  8. freezer71 commented on Nov 24, 2025

    @freezer71

    I updated the Copilot CLI and it works for me.

  9. mikagorka commented on Dec 9, 2025

    @mikagorka

    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.

  10. VincentPelletier1 commented on Dec 9, 2025

    @VincentPelletier1

    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.

  11. dnim commented on Dec 12, 2025

    @dnim

    same error

  12. alf2ooo commented on Dec 16, 2025

    @alf2ooo

    had the same issue, solved by playing around with copilot options in the profile menu, some models were all of a sudden disabled

  13. duycuong87vn commented on Dec 19, 2025

    @duycuong87vn

    I had same issue.

  14. ruant commented on Feb 20, 2026

    @ruant

    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?

  15. zzj0402 commented on Mar 10, 2026

    @zzj0402

    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.",

  16. adam-dev-hub commented on Apr 9, 2026

    @adam-dev-hub

    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 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions