GitHub Copilot
Bill model calls against your GitHub Copilot subscription. copilot uses GitHub’s device-code flow to authenticate; available models depend on the subscription tier (Free, Pro, Pro+).
Configure
In the TUI β add it straight from the provider picker:
/provider # open the picker β Add `copilot-auth`; starts the GitHub device-code flow inline
/model <id> # pick a model your plan allows (plan-gated ones are marked "upgrade plan")From the command line β sign in, then select the provider:
yottacode copilot-auth loginexport YOTTACODE_PROVIDER=copilot
export YOTTACODE_MODEL=claude-haiku-4.5
export YOTTACODE_BASE_URL=https://api.githubcopilot.comβ¦or pass flags at launch (no --api-key β auth uses the stored token):
yottacode --provider copilot \
--model claude-haiku-4.5 \
--base-url https://api.githubcopilot.comLifecycle commands:
yottacode copilot-auth login # device code flow, saves token + caches models
yottacode copilot-auth models # list available models (updates cache)
yottacode copilot-auth models --raw # full API response for debugging
yottacode copilot-auth status
yottacode copilot-auth status --json
yottacode copilot-auth logoutTokens and cached model lists live in ~/.yottacode/auth/ with restrictive file permissions. That directory is denied to model read and write tools.