unable to use claude models with copilot provider #4077

Closed
opened 2026-02-16 17:42:32 -05:00 by yindo · 3 comments
Owner

Originally created by @mulehang6 on GitHub (Jan 2, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

getting error:The requested model is not supported.
Make sure the model is enabled in your copilot settings: https://github.com/settings/copilot/features

but i can use in vsc with vpn,it's already enabled

OpenCode version

1.0.222

Steps to reproduce

connect to copilot provider and choose one claude model

Screenshot and/or share link

Image Image

Operating System

windows11

Terminal

windows powershell

Originally created by @mulehang6 on GitHub (Jan 2, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description getting error:The requested model is not supported. Make sure the model is enabled in your copilot settings: https://github.com/settings/copilot/features but i can use in vsc with vpn,it's already enabled ### OpenCode version 1.0.222 ### Steps to reproduce connect to copilot provider and choose one claude model ### Screenshot and/or share link <img width="1614" height="957" alt="Image" src="https://github.com/user-attachments/assets/e2c8874b-4ff1-4eb7-a527-f4ceff08f33d" /> <img width="1392" height="667" alt="Image" src="https://github.com/user-attachments/assets/021cba2a-63a7-410f-98f4-0bab543020d6" /> ### Operating System windows11 ### Terminal windows powershell
yindo added the windowsbug labels 2026-02-16 17:42:32 -05:00
yindo closed this issue 2026-02-16 17:42:32 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 2, 2026):

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

  • #6281: Can't use Claude Opus 4.5 on opencode using Github Copilot
  • #5566: Error saying The requested model is not supported. when trying to create new agent
  • #4819: "The requested model is not supported." and "model gpt-5.1-codex is not accessible via the /chat/completions endpoint" for github copilot provider

These issues all report the same error ("The requested model is not supported") when trying to use Claude models with the GitHub Copilot provider. Feel free to ignore if your specific case is different from these.

@github-actions[bot] commented on GitHub (Jan 2, 2026): This issue might be a duplicate of existing issues. Please check: - #6281: Can't use Claude Opus 4.5 on opencode using Github Copilot - #5566: Error saying The requested model is not supported. when trying to create new agent - #4819: "The requested model is not supported." and "model gpt-5.1-codex is not accessible via the /chat/completions endpoint" for github copilot provider These issues all report the same error ("The requested model is not supported") when trying to use Claude models with the GitHub Copilot provider. Feel free to ignore if your specific case is different from these.
Author
Owner

@rekram1-node commented on GitHub (Jan 3, 2026):

Hmm not sure what causes it, maybe we shoud try doing teh auto enable thing or somethign ill try something to fix this soon

@rekram1-node commented on GitHub (Jan 3, 2026): Hmm not sure what causes it, maybe we shoud try doing teh auto enable thing or somethign ill try something to fix this soon
Author
Owner

@mulehang6 commented on GitHub (Jan 4, 2026):

finally figured it out. it's a vpn client issue,it does not effect the terminal or opencode desktop,just changed to clash and used tun mode in it and worked.
sorry for the trouble

@mulehang6 commented on GitHub (Jan 4, 2026): finally figured it out. it's a vpn client issue,it does not effect the terminal or opencode desktop,just changed to clash and used tun mode in it and worked. sorry for the trouble
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4077