Skip to content

Ability to use Free Models (0x credits) in Copilot CLI #32

Closed

Description

@zazendev9900

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.

Image

Example prompts or workflows

No response

Additional context

No response

Activity

  1. harrychan108 commented on Sep 30, 2025

    @harrychan108

    +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!

  2. YumeYuka commented on Oct 1, 2025

    @YumeYuka

    +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.

  3. SilverMarcs commented on Oct 1, 2025

    @SilverMarcs

    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

  4. JuniYadi commented on Oct 2, 2025

    @JuniYadi

    +1 , some task maybe just want to read, but wasting the premium

  5. crivotz commented on Oct 3, 2025

    @crivotz

    +1 maybe I can replace codecompanion.nvim with sidekick.nvim that use Copilot CLI.

  6. halimsamy commented on Oct 6, 2025

    @halimsamy

    +1

  7. prabhu-mannu commented on Oct 6, 2025

    @prabhu-mannu

    +1

  8. marked Model selection #210 as a duplicate of this issue on Oct 6, 2025
  9. kutsal-dpz commented on Oct 6, 2025

    @kutsal-dpz

    👍

    This really should be prioritized to include at least one 0x multiplier model, and set it as the default.

  10. joecklau commented on Oct 7, 2025

    @joecklau

    +1

  11. crivotz commented on Oct 7, 2025

    @crivotz

    Max priority👍🏻

  12. ProvenPi commented on Oct 7, 2025

    @ProvenPi

    this should be a priority, the tool currently forces the use of expensive models for very simple tasks.

  13. Ton-Git commented on Oct 8, 2025

    @Ton-Git

    +1

  14. 21 remaining items

  15. vietvudanh commented on Oct 21, 2025

    @vietvudanh

    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.

  16. nShieldSolo commented on Oct 24, 2025

    @nShieldSolo

    +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!

  17. agileandy commented on Oct 24, 2025

    @agileandy

    but I guess it would stress their servers too much

    It shouldn't be any more of a stress than running the free models through Copilot Chat in VSCode.

  18. JamesDAdams commented on Oct 31, 2025

    @JamesDAdams

    +1

  19. textyre commented on Nov 1, 2025

    @textyre

    When?

  20. crivotz commented on Nov 1, 2025

    @crivotz

    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.

    Same here with sidekick inside Neovim

  21. avi12 commented on Nov 2, 2025

    @avi12

    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:

    {
      "banner": "never",
      "model": "grok-code-fast-1",
      "render_markdown": true,
      "screen_reader": false,
      "theme": "auto"
    }
    

    I tried to apply these changes but I get:

           * 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
    
  22. BetThical commented on Nov 8, 2025

    @BetThical

    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:

    {
      "banner": "never",
      "model": "grok-code-fast-1",
      "render_markdown": true,
      "screen_reader": false,
      "theme": "auto"
    }
    

    I tried to apply these changes but I get:

           * 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
    

    me too here

  23. agileandy commented on Nov 9, 2025

    @agileandy

    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.

  24. paulphillips-sl commented on Nov 17, 2025

    @paulphillips-sl

    +1

  25. mode89 commented on Nov 18, 2025

    @mode89

    Currently this is the most wanted feature by the number of reactions and comments.

  26. EvanBoyle commented on Nov 25, 2025

    @EvanBoyle
    Collaborator

    0x models now available with the 0.0.363 release. Enjoy!

    Image

  27. zazendev9900 commented on Nov 25, 2025

    @zazendev9900
    Author

    @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.

  28. EvanBoyle commented on Nov 25, 2025

    @EvanBoyle
    Collaborator

    @zazendev9900 we are always open to any and all feedback from the community! Would you mind opening a new issue to track this request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions