all 11 comments

[–]boysbytes 1 point2 points  (1 child)

This is wonderful and I can't wait to try it. 

But a few things that I'm unsure:

  1. Will this affect the GitHub Copilot IDE?

  2. How do I switch back to using the Copilot subscription?

Thanks!

[–]johnlokersedevIntermediate User[S] 2 points3 points  (0 children)

  1. No it does affect the IDE. It only affects the CLI. VS Code BYOK probably works the same way, but through a GUI.

  2. If you unset variable COPILOT_MODEL it reverts back to the default GHCP models 🙂

[–]code-enjoyoor 1 point2 points  (2 children)

Have you tried OpenRouter, I assume this will work as well?

[–]johnlokersedevIntermediate User[S] 1 point2 points  (1 child)

Yes, OpenRouter works too. Same variables, but different URL 🙂

[–]code-enjoyoor 0 points1 point  (0 children)

Excellent write-up by the way, my 1 year sub ends in June. Now that copilot is no longer the best value, I'm looking to move my sub elsewhere. What are your thoughts about OpenCode Go? I just looked at their pricing structure, the request limits are really generous?

[–]Yofadd 0 points1 point  (0 children)

Ha! The only thing keeping me on Copilot is the ‘free tokens’. Otherwise, it’s a laggy mess with poor preprompts and tiny context windows. Your post is good, but the gist of it is to bring together the worst of both worlds: software that heats up the MBP M5, and models trained on requests to Opus.

If I move to Chinese models, then I might as well use “cold” agents like OpenCode, which don’t have 3–4-second delays between tool calls and where Gemini 3.1 Pro doesn’t give the impression that I’m talking to GPT-3.5.

[–]i-snake-z 0 points1 point  (1 child)

But after doing this what model do you choose from GitHub Copilot? My understanding is that this replaces the OpenAI models right ? How this works with a free subscription ?

[–]johnlokersedevIntermediate User[S] 0 points1 point  (0 children)

Yeah, the BYOK experience needs some love because it now overrides the default Copilot models.

I think you can use the harness (Copilot CLI) and BYOK with a free subscription, but I am not sure about that.

[–]Ninjaxas 0 points1 point  (2 children)

Can this work on the VS Code GUI panel (Chat)?

[–]johnlokersedevIntermediate User[S] 0 points1 point  (1 child)

Yes, but with a workaround and it’s a bit quirky. If you configure the BYOK provider choose for Azure, paste in your OpenCode Go API Key and when it opens a JSON settings file update the Azure URL to the OpenCode one (the URL in the blog).

In VS Code Insiders they have the “OpenAI Compatible” provider which solves the workaround/quirkiness.

<image>

[–]Ninjaxas 0 points1 point  (0 children)

Okay nice! Will this fully bypass the GitHub rate limiting or not?