---
last_updated: 2026-08-24
source_url: https://opper.ai/apps/github-copilot-cli
title: "Run GitHub Copilot CLI on any model | Opper AI"
description: "Point GitHub Copilot CLI's provider variables at Opper to run GitHub's terminal coding agent on any of 700+ models — no Copilot plan or GitHub login required. EU hosting, zero data retention."
---

# Run GitHub Copilot CLI on any model

> GitHub Copilot CLI is GitHub's coding agent for the terminal. It supports custom model providers through environment variables, so it runs on any of 700+ models through Opper — and with a custom provider configured it needs no Copilot plan or GitHub login.

## Connect Copilot CLI to Opper

```bash
export COPILOT_PROVIDER_BASE_URL=https://api.opper.ai/v3/compat
export COPILOT_PROVIDER_TYPE=openai
export COPILOT_PROVIDER_API_KEY=<your-opper-key>
export COPILOT_MODEL=anthropic/claude-opus-4-8
copilot
```

`COPILOT_PROVIDER_TYPE` also accepts `anthropic` for the Anthropic Messages format; both work against Opper's compat gateway. Run `copilot help providers` for the full reference. Models need tool calling and streaming — every agent-capable model on Opper qualifies.

## Run GitHub Copilot CLI on a specific model

Each app×model combination is its own page:

- [Run GitHub Copilot CLI on DeepSeek V4 Pro](https://opper.ai/apps/github-copilot-cli/deepseek-v4-pro)
- [Run GitHub Copilot CLI on Kimi K3](https://opper.ai/apps/github-copilot-cli/kimi-k3)
- [Run GitHub Copilot CLI on GLM-5.2](https://opper.ai/apps/github-copilot-cli/glm-5-2)
- [Run GitHub Copilot CLI on Qwen3.8-Max](https://opper.ai/apps/github-copilot-cli/qwen3-8-max)

## Why a gateway

- **Open-weight models in Copilot's agent** — run DeepSeek, Kimi, GLM or Qwen behind GitHub's terminal agent at a fraction of frontier pricing.
- **EU data residency** — keep inference on EU-hosted models when required.
- **One key, with fallbacks** — the same model wired across providers; no interruption mid-task.

## Pricing

Free to run. Inference is pay-as-you-go at provider token rates with no markup; a 3% fee applies only when you buy credits.

## Links

- [Apps directory](https://opper.ai/apps.md)
- [Copilot CLI BYOK docs](https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/use-byok-models)
- [Pricing](https://opper.ai/pricing.md)
