opencode icon indicating copy to clipboard operation
opencode copied to clipboard

"The requested model is not supported." while using gemini3pro in Github Copilot

Open fly-potato-100 opened this issue 1 week ago • 22 comments

Question

I'm using GitHub Copilot Business with all models enabled by admin.

I've successfully configured the connection via opencode auth login and can use models like sonnet 4.5, gpt 5.2, and gemini 3 flash without issues.

However, when using gemini3pro, I get the following error:

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

Is there something I'm missing or doing incorrectly?

fly-potato-100 avatar Jan 16 '26 07:01 fly-potato-100

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

  • #8598: Copilot requested model not supported - Similar error where models enabled in GitHub Copilot settings show as unsupported in OpenCode
  • #8417: Gemini Bad Request with Github Copilot - Related issue with Gemini models failing when using GitHub Copilot authentication

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

github-actions[bot] avatar Jan 16 '26 07:01 github-actions[bot]

# Win10
PS > opencode --version
1.1.23

fly-potato-100 avatar Jan 16 '26 07:01 fly-potato-100

And it is enabled to confirm?

Any chance it wasnt, no is, and you are still getting issue (cause it could be stale cache)

rekram1-node avatar Jan 16 '26 07:01 rekram1-node

And it is enabled to confirm?

Any chance it wasnt, no is, and you are still getting issue (cause it could be stale cache)

It's confirmed. It shouldn't be a stale cache issue because I literally just installed opencode and set up Copilot auth 30 minutes ago on this machine. Also, referring to issue #8598, it looks like gemini3pro still has this problem. It seems I'm not an isolated case.

fly-potato-100 avatar Jan 16 '26 07:01 fly-potato-100

Same issue here, and Gemini 3 Pro is enable since it came out on Github Copilot.

Melethainiel avatar Jan 16 '26 07:01 Melethainiel

Same issue here. As a side note, copilot with gemini 3 pro through VS Code works normally.

cata-enache avatar Jan 16 '26 08:01 cata-enache

Same here with version 1.1.23, NPM install and running linux. Gemini 3 pro works just fine with copilot-cli

Racle avatar Jan 16 '26 10:01 Racle

Same issue.

Interstellar423407 avatar Jan 16 '26 12:01 Interstellar423407

I had the same issue. What worked for me was reinstalling OpenCode, and then it worked fine.

matheusb96 avatar Jan 16 '26 12:01 matheusb96

I had to reauthenticate. But not just do /connect and connect again. But completely do a logout in opencode and then log back in and these models started working again.

furai avatar Jan 16 '26 13:01 furai

Same issue. I've already tried logging out and reinstalling, but it still doesn't work.

Daryl0819 avatar Jan 16 '26 14:01 Daryl0819

same issue here as well

  • on latest opencode version
  • tried re-authing with copilot

nowlena avatar Jan 16 '26 14:01 nowlena

Talking to copilot team

rekram1-node avatar Jan 16 '26 15:01 rekram1-node

Same issue

geserrato avatar Jan 16 '26 17:01 geserrato

same problem with

  • GPT-5-Codex
  • GPT-5.2-Codex
  • and I guess everything else from the list of top models

and yes, "Gemini 3 Flash" is working 🤷

michabbb avatar Jan 16 '26 18:01 michabbb

Was experiencing this earlier but it was fixed when #8598 was closed.

However, it is happening again with GPT-5.2-Codex. Running OpenCode 1.1.25

MrZander avatar Jan 16 '26 23:01 MrZander

They said these should be fixed now... I can't replicate the codex issue :/

rekram1-node avatar Jan 16 '26 23:01 rekram1-node

Hi @MrZander, can you try logging out of the GitHub Copilot plugin and logging back in? I think you have the older auth token cached and that's causing issues.

brannon avatar Jan 17 '26 00:01 brannon

@brannon Re-authing with GitHub appears to have fixed it. Thank you!

MrZander avatar Jan 17 '26 01:01 MrZander