You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ability to use Free Models (0x credits) in Copilot CLI #32
Describe the feature or problem you'd like to solve
The Copilot CLI uses Sonnet 4 by default which incurs 1x cost / message.
Proposed solution
In the Copilot CLI, I wish we could select from a list of free models provided by GitHub Copilot eg. GPT-4.1, GPT-4o, GPT-5 mini, Grok Code Fast 1 etc. This would let us optimize our monthly quota. Thank you for considering.
+1'd. This is definitely the reason I'm not using the cli for now. Sometimes I ask some very simple questions and I wouldn't want to use a premium request for that!
Reacted by Mauro Locatelli, Emrah Seidov, Prasanth Mangalagiri, Andrew, 桜川夢璃, Nipuna Fernando, William C Grisaitis, Sonny, naoki-suzuki-1, cullub and 28 more
+1. Support adding free models rather than wasting premium request credits on simple tasks. This is crucial for our long-term use of Copilot CLI.
Reacted by Sonny, naoki-suzuki-1, cullub, Adi, steveoleary, Shivsantosh Singh, Alexandre Journet, Luke Brenton, abizareyhan, Mykhailo Gorianskyi and 4 more
This is indeed very necessary for me to use the cli viably. I feel vscode has the best gh copilot experience right now but much of that should be ported to the cli, starting with more model availability
Reacted by William C Grisaitis, Sonny, naoki-suzuki-1, cullub, Luís Fernandes, steveoleary, Lito, Shivsantosh Singh, Mykhailo Gorianskyi and Thomas Froc
This is a a features everyone wants, but I guess it would stress their servers too much. Currently I am using Haiku 4.5. Thanks @JourneyOver , I will try opencode.
+1 — Free model selection in Copilot CLI would be very helpful.
Being able to choose lower-cost/free models (e.g., GPT-5 mini / 0x credits tiers) lets teams run frequent CLI prompts without burning quota, especially for routine tasks (refactors, test stubs, commit messages). Thanks for considering!
It's very hit or miss with them working from what I can tell, I ended up switching over to opencode and just use my copilot through it instead and it seems to work better and I don't have to deal with workarounds.
Since it's using public API I believe you can achieve that by changing @github\copilot\index.js
There's a line
=["claude-sonnet-4.5","claude-sonnet-4","gpt-5"];
That can be replaced with:
=["gpt-4o","gpt-5","gpt-5-mini","grok-code-fast-1","o3-mini","o1","claude-3.5-sonnet","claude-3.7-sonnet","claude-3.7-sonnet-thought","claude-sonnet-4","claude-sonnet-4.5","gemini-2.0-flash-001","gemini-2.5-pro","gpt-4.1","o4-mini"];
Then go to your .copilot/config.json and a model of your choice:
* If new errors or old errors persist, return to step 2 and repeat the process. You must continue until `bun checks` is clean.
✗ Model call failed: "403 403 Access to this endpoint is forbidden. Please review our [Terms of
Service](https://docs.github.com/en/site-policy/github-terms/github-terms-of-service).\n" (Request ID: FF70:3B696B:183D6E7:23CD8B3:69073731)
✗ Authorization error, you may need to run /login
Since it's using public API I believe you can achieve that by changing @github\copilot\index.js
There's a line
=["claude-sonnet-4.5","claude-sonnet-4","gpt-5"];
That can be replaced with:
=["gpt-4o","gpt-5","gpt-5-mini","grok-code-fast-1","o3-mini","o1","claude-3.5-sonnet","claude-3.7-sonnet","claude-3.7-sonnet-thought","claude-sonnet-4","claude-sonnet-4.5","gemini-2.0-flash-001","gemini-2.5-pro","gpt-4.1","o4-mini"];
Then go to your .copilot/config.json and a model of your choice:
* If new errors or old errors persist, return to step 2 and repeat the process. You must continue until `bun checks` is clean.
✗ Model call failed: "403 403 Access to this endpoint is forbidden. Please review our [Terms of
Service](https://docs.github.com/en/site-policy/github-terms/github-terms-of-service).\n" (Request ID: FF70:3B696B:183D6E7:23CD8B3:69073731)
✗ Authorization error, you may need to run /login
0x models now available with the 0.0.363 release. Enjoy!
Reacted by Giovanni Nicosia (mood), Rasmus Fisker Bang, jonathanmourtadahqv, Sonny, Mauro Locatelli, Mr Simon C, Alex Chapin, Andrew, Upender Kalwa, Shijith Kunhitty and 9 more
@EvanBoyle Thank you! This was much needed 💯 Any chance you'd add Grok Code Fast 1 (0X) to this list? It's an amazing agentic model. Thanks for considering.
Activity
harrychan108 commentedon Sep 30, 2025
+1'd. This is definitely the reason I'm not using the cli for now. Sometimes I ask some very simple questions and I wouldn't want to use a premium request for that!
YumeYuka commentedon Oct 1, 2025
+1. Support adding free models rather than wasting premium request credits on simple tasks. This is crucial for our long-term use of Copilot CLI.
SilverMarcs commentedon Oct 1, 2025
This is indeed very necessary for me to use the cli viably. I feel vscode has the best gh copilot experience right now but much of that should be ported to the cli, starting with more model availability
JuniYadi commentedon Oct 2, 2025
+1 , some task maybe just want to read, but wasting the premium
crivotz commentedon Oct 3, 2025
+1 maybe I can replace codecompanion.nvim with sidekick.nvim that use Copilot CLI.
halimsamy commentedon Oct 6, 2025
+1
prabhu-mannu commentedon Oct 6, 2025
+1
kutsal-dpz commentedon Oct 6, 2025
👍
This really should be prioritized to include at least one 0x multiplier model, and set it as the default.
joecklau commentedon Oct 7, 2025
+1
crivotz commentedon Oct 7, 2025
Max priority👍🏻
ProvenPi commentedon Oct 7, 2025
this should be a priority, the tool currently forces the use of expensive models for very simple tasks.
Ton-Git commentedon Oct 8, 2025
+1
21 remaining items
vietvudanh commentedon Oct 21, 2025
This is a a features everyone wants, but I guess it would stress their servers too much. Currently I am using Haiku 4.5. Thanks @JourneyOver , I will try opencode.
nShieldSolo commentedon Oct 24, 2025
+1 — Free model selection in Copilot CLI would be very helpful.
Being able to choose lower-cost/free models (e.g., GPT-5 mini / 0x credits tiers) lets teams run frequent CLI prompts without burning quota, especially for routine tasks (refactors, test stubs, commit messages). Thanks for considering!
agileandy commentedon Oct 24, 2025
It shouldn't be any more of a stress than running the free models through Copilot Chat in VSCode.
JamesDAdams commentedon Oct 31, 2025
+1
textyre commentedon Nov 1, 2025
When?
crivotz commentedon Nov 1, 2025
Same here with sidekick inside Neovim
avi12 commentedon Nov 2, 2025
I tried to apply these changes but I get:
BetThical commentedon Nov 8, 2025
me too here
agileandy commentedon Nov 9, 2025
I've created a patcher for this in my repo here
This should continue to work after updates as long as the approach for the model array stays the same.
paulphillips-sl commentedon Nov 17, 2025
+1
mode89 commentedon Nov 18, 2025
Currently this is the most wanted feature by the number of reactions and comments.
EvanBoyle commentedon Nov 25, 2025
0x models now available with the
0.0.363release. Enjoy!zazendev9900 commentedon Nov 25, 2025
@EvanBoyle Thank you! This was much needed 💯 Any chance you'd add Grok Code Fast 1 (0X) to this list? It's an amazing agentic model. Thanks for considering.
EvanBoyle commentedon Nov 25, 2025
@zazendev9900 we are always open to any and all feedback from the community! Would you mind opening a new issue to track this request?