Copilot Byok Switcher — AI skill for Claude Code
Your own provider models inside the GitHub Copilot CLI model picker, without persisting credentials.
How to install Copilot Byok Switcher
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open TheStreamCode/copilot-byok-switcher and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Copilot Byok Switcher does
Your own provider models inside the GitHub Copilot CLI model picker, without persisting credentials.
Alternatives in AI
- Claude Code Switch — One-command model switcher for Claude Code (Only for Anthropic API) 655 ★
- Late CLI — High-performance AI agent for long-horizon tasks and local models 442 ★
- Cplt — Sandbox for AI coding agents 114 ★
README
Copilot BYOK Switcher
Your own provider models inside the GitHub Copilot CLI `/model` picker
[](https://github.com/TheStreamCode/copilot-byok-switcher/actions/workflows/ci.yml) [](LICENSE) [](https://www.npmjs.com/package/copilot-byok-switcher)
Copilot BYOK Switcher adds your own provider models to the GitHub Copilot CLI `/model` picker, in the same session as the GitHub models. Pick an Anthropic, OpenAI, DeepSeek, Qwen, GLM, Kimi or other provider model and the session talks straight to that provider with your key, while GitHub authentication and every other Copilot feature keep working. The picker is filled by live discovery from each configured provider. This is an independent, unofficial project and is not affiliated with GitHub.
Install
Install the CLI from the npm registry:
npm install -g copilot-byok-switcher
Quick start
# 1. Store a key for each provider you own (prompted, never echoed)
copilot-byok keys set openai
copilot-byok keys set anthropic
# 2. See what is active
copilot-byok --list-providers
# 3. Start Copilot
copilot-byok
Open `/model` inside the session and pick one of your models. Arguments after `--` go to Copilot unchanged:
copilot-byok -- -p "fix the failing test" --allow-all-tools
Features
- Your provider models appear in the Copilot CLI
/modelpicker next to GitHub's, in the same session. - Use as many providers per session as you configure.
- GitHub models stay available while BYOK is active, and models can be switched with
/modelwithout restarting. - Live discovery: each configured provider is asked what it serves at startup, with a remembered list as the fallback when a request fails.
- Zero AI credits for BYOK turns; you pay your provider directly.
- Credentials
Related Skills
VSCode Pi Model Chat Provider
VSCode Language Model Chat Provider integration for Pi coding agent, making Pi models available in VS Code's m
Smart Switch
Multi-app model provider switcher: manage OpenAI/Anthropic-protocol providers (base URL + API key + models) an
Model Relay
Per-window model switcher, subagent router, and automatic 429 failover for Claude Code — switch any window wit
Ayontclaudian
ayontclaudian — Obsidian plugin embedding Claude Code, Codex, Antigravity & Kimi coding-agent CLIs with a unif
Gptcc
GPT for Claude Code — use OpenAI GPT models inside the Claude Code CLI via documented extension points (ANTHRO
Engramora
Engramora is a lightweight, provider-agnostic Second Brain for AI coding agents—persisting project knowledge,
Related Agents
Mission Researcher.Agent
Gathers repo facts, documentation, and web evidence needed to unblock a long-running Copilot CLI mission while
Data Setup
Helps users configure and validate DataForSEO and future provider credentials without exposing secrets.
Provider Presets
Owns the fixed three-way provider split (packages/aitm/src/config/provider-presets.ts, src/credentials, src/op