Copilot CLI - NO Model available Error message #177929
Replies: 7 comments 6 replies
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
Make sure the enterprise (or organization) has the correct licence for Copilot (e.g., Copilot Business / Copilot for Enterprise) rather than just an individual user licence. In the GitHub Enterprise/Org settings:
|
Beta Was this translation helpful? Give feedback.
-
|
This confirms the root cause of the 'No model available' error is that the Copilot CLI standalone is incorrectly attempting to use the individual Copilot API endpoint ( https://api.individual.githubcopilot.com/mcp/readonly ) instead of the correct Enterprise Managed User (EMU) API endpoint. Since this looks like a bug in the CLI's endpoint routing, the immediate solution is to ensure the CLI is forced to use the correct Enterprise configuration.Verify Authentication: Ensure the user is signed in correctly to their GitHub Enterprise instance and that the CLI is using the Enterprise token (usually handled via Try setting: in Bash |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
|
I'm getting the no model available issue too. Our organization enabled copilot cli. Other users in my organization are able to see models. Not all of them. I personally cannot. I continue to get the message: ✗ No model available. Check policy enablement under GitHub Settings > Copilot When I review the logs, I see this: 2025-11-13T17:58:51.341Z [LOG] Starting remote MCP client for github-mcp-server with url: https://api.business.githubcopilot.com/mcp/readonly Is this issue because my organization authorizes my personal account inside of their organization? Is it failing to authorize my account to my organization via copilot cli? |
Beta Was this translation helpful? Give feedback.
-
|
So cli is available only for enterprise users?? |
Beta Was this translation helpful? Give feedback.
-
|
I'm experiencing a similar issue, but specifically only with Claude Sonnet 4.5. Other models (GPT-4, Claude 3.5 Sonnet) work fine in my GitHub Copilot setup. Error Details: My Setup: GitHub Copilot Individual plan This seems to be a model-specific availability issue rather than a general authentication/policy problem, since other Claude models work fine. Could this be related to: Gradual rollout - Claude Sonnet 4.5 may not be fully available to all plan tiers yet Which GitHub Copilot plans currently support Claude Sonnet 4.5 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Product Feedback
Copilot Feature Area
General
Body
Using the latest Copilot CLI standalone, user have reported the below error message :
✗ No model available. Check policy enablement under GitHub Settings > Copilot
✗ No model available. Check policy enablement under GitHub Settings > Copilot
Total usage est: 0 Premium requests
Total duration (API): 0.0s
Total duration (wall): 16.6s
Total code changes: 0 lines added, 0 lines removed
However, while checking the logs, we were able to see the below, which points that the Copilot CLI attempted to make use of the individual Copilot API instead of the Enterprise Copilot API for the EMU, which resulted in a mismatch error message and subsequently "No model available" error message:
2025-10-24T18:38:32.808Z [LOG] Using Copilot API endpoint: https://api.individual.githubcopilot.com/mcp/readonly
2025-10-24T18:38:32.808Z [LOG] Starting remote MCP client for github-mcp-server with url: https://api.individual.githubcopilot.com/mcp/readonly
2025-10-24T18:38:32.808Z [LOG] Creating MCP client for github-mcp-server...
2025-10-24T18:38:32.810Z [LOG] Connecting MCP client for github-mcp-server...
2025-10-24T18:38:33.571Z [LOG] MCP transport for github-mcp-server closed
2025-10-24T18:38:33.571Z [ERROR] Failed to start MCP client for remote server github-mcp-server: TypeError: fetch failed
Beta Was this translation helpful? Give feedback.
All reactions