Docs · Guide

Copilot CLI on any model

GitHub Copilot CLI can run on model providers of your own (bring your own key), which needs no GitHub sign-in. packinggoods adds itself to Copilot CLI as one, so copilot can run on any model you have in packinggoods: DeepSeek, Kimi, GLM, Qwen, an OpenAI key, or a ChatGPT subscription, with no key pasted into Copilot.

Copilot CLI keeps its folder in ~/.copilot (or $COPILOT_HOME). Its own providers are in providers.json there (or $COPILOT_PROVIDERS_CONFIG). packinggoods adds a provider named packinggoods to that file, OpenAI-compatible, with the gateway’s address and a key of Copilot’s own, and adds packinggoods’s models beside it, each with its name, context window and output limit. Then it sets model in settings.json to packinggoods/<model>. The gateway translates each request for the model’s provider, tool calls and reasoning included.

Connect Copilot CLI

  1. Add providers in packinggoodsIn the Providers tab, add an API key or sign in to a subscription.
  2. Pick a model on Copilot CLI’s rowIn the Agents tab, choose a model under packinggoods.
  3. Start copilotIt runs on that model. Copilot’s own /model lists packinggoods’s models too.
Terminal
packinggoods copilot deepseek/deepseek-v4-pro    # settings.json: packinggoods/deepseek/deepseek-v4-pro
packinggoods copilot                             # what Copilot CLI runs on now

The row also lists Copilot’s own models and auto, Copilot’s own choice, for when you want GitHub’s models back.

Effort

The row sets effortLevel, which Copilot saves beside the model: the model’s own levels, or low, medium, high and xhigh when Copilot’s list doesn’t name them. Copilot clears it when its own /model changes the model.

Terminal
packinggoods copilot effort high
packinggoods copilot effort default

Your providers.json

packinggoods owns only the provider named packinggoods and the models that name it. Your other providers, their models and any other key in the file stay where they are, and so does a key you add to packinggoods’s provider yourself. A providers.json that isn’t valid JSON is left alone, never written over. When packinggoods’s models change, packinggoods brings its entries up to date, and writes the file only when they would change.

Switch back

Pick one of Copilot’s own models on the row, or run packinggoods copilot default. That removes model from settings.json and takes packinggoods’s provider and models out of providers.json, leaving the rest.

FAQ

Do I need a GitHub Copilot subscription?

No. Copilot CLI’s own providers need no GitHub sign-in, so packinggoods’s models work without a Copilot plan.

Can Copilot CLI use my ChatGPT subscription?

Yes. Sign in to ChatGPT in packinggoods and pick a GPT model under packinggoods on Copilot CLI’s row. Copilot sends its requests to packinggoods, which uses the subscription.

Why does settings.json say packinggoods/deepseek/…?

Copilot names a model of one of its providers as provider/model, and packinggoods’s provider is called packinggoods. On the command line you can leave the packinggoods/ out.

Can I keep my own BYOK providers?

Yes. packinggoods only touches its own provider and models in providers.json; yours stay as they are.

More agents on the same models: Models in OpenCode, Models in Claude Code, Raycast on any model and Qwen Code on any model. Something fails? See Fixing common errors, or ask on Discord.