Skip to main content
GitHub Copilot CLI is the copilot command in your terminal. To set up the GitHub Copilot desktop app instead, see the Concentrate CLI.
  1. No Copilot plan needed — Use Concentrate models without a GitHub sign-in or Copilot subscription.
  2. More model choice — Pick Claude, OpenAI, and other models from the Concentrate catalog.
  3. Prompt caching for Claude — Claude models use the Messages API, so long sessions read most of their input from the cache.
  4. Spend controls — Manage usage with Concentrate keys and budgets.
  5. Usage analytics — Review requests, models, tokens, and costs in your dashboard.

Quick Start

GitHub Copilot CLI runs on Concentrate through the Concentrate CLI (cn, beta).
  • macOS or Linux, with Node.js 22.13 or newer
  • A Concentrate account with credits. You can sign in with cn login, or create an API key at concentrate.ai/api-keys.
  • GitHub Copilot CLI installed and on your PATH:
1

Install the Concentrate CLI

If cn isn’t found afterward, add ~/.local/bin to your PATH with the line the installer printed, then open a new terminal.
2

Sign in

Sign-in is rolling out gradually; if it isn’t available for you yet, cn asks you to paste a key instead. You can also run cn setup to paste a key.
3

Start Copilot CLI

Copilot starts on Claude Sonnet. Add --model <id> to pick another model, or switch inside Copilot with /model.
cn copilot adds Concentrate for that session only and keeps your key out of Copilot’s files. Models you added to Copilot yourself are still listed.

Use the plain copilot command

To make your normal copilot command list Concentrate models, run:
This adds the Concentrate providers to ~/.copilot/providers.json. Copilot keeps your key in that file, readable only by you. cn key updates it, and cn refresh picks up new models. To switch back, run cn reset copilot-cli. Providers you added yourself are left alone.

Use Different Models

Concentrate shows up as three providers in /model, so each model uses the API it’s fastest and cached on: Every model listed supports tool calls. Run cn models to browse the catalog.

Resume a Conversation

Run the resume command from the project folder where the conversation started:
A resumed session keeps the model it last used. If you switch models inside Copilot, cn copilot remembers that model for next time.

Remove Concentrate AI

If you used cn configure copilot-cli, run cn reset copilot-cli. cn logout also removes the Concentrate providers along with your saved key.

Troubleshooting

Install it with npm install -g @github/copilot, make sure copilot is on your PATH, then run cn copilot again.
Run cn configure copilot-cli, or cn refresh if you configured it before. cn copilot always uses the current catalog.
Run cn login to sign in, cn setup to paste a key, or cn key to replace one. A 402 response means the account needs credits.
Run cn --version and cn doctor, then email the output to support@concentrate.ai.

Next Steps

Concentrate CLI

Every cn command and supported tool.

Available Models

Browse the model catalog.
Last modified on December 3, 2026