Skip to content

GitHub Copilot (AI_APICallError: The requested model is not supported) #2967

Closed

Description

@jcubic

I'm trying to use OpenCode with GitHub copilot. But none of the models I've tried work.

It always throws:

AI_APICallError: The requested model is not supported.

Image Image

I have Copilot Pro.

How can you use the project with GitHub Copilot?

Activity

  1. github-actions commented on Oct 4, 2025

    @github-actions
    Contributor

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

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

  2. rekram1-node commented on Oct 4, 2025

    @rekram1-node
    Contributor

    @jcubic make sure you enabled the models in your copilot settings: https://github.com/settings/copilot/features

    Also on your tier there are some models u dont have access to like Opus 4.1 but for sonnet 4 & 4.5 you should be fine:
    https://docs.github.com/en/copilot/get-started/plans#models

  3. self-assigned this
    on Oct 4, 2025
  4. jcubic commented on Oct 4, 2025

    @jcubic
    Author

    Yes, it solved the issue. Didn't know that you need to enable the models to use them. Thanks.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions