GitHub Copilot Setup Guide

Website: https://github.com/features/copilot

GitHub Copilot completions use GitHub-hosted models by default. To send requests to LLMoxy, use BYOK (bring your own key). For the VS Code chat window, see the VS Code Agents Window Setup.

Before you start, get an LLMoxy token. The auto group is recommended. The model must support tool calling and streaming.

Copilot CLI

export COPILOT_PROVIDER_TYPE=openai
export COPILOT_PROVIDER_BASE_URL=https://llmoxy.com/v1
export COPILOT_PROVIDER_API_KEY=your LLMoxy API Key
export COPILOT_MODEL=grok-4.7
copilot
BASH
VariableValue
COPILOT_PROVIDER_BASE_URLhttps://llmoxy.com/v1
COPILOT_PROVIDER_API_KEYLLMoxy token
COPILOT_MODELThe exact ID from the console
COPILOT_PROVIDER_TYPEopenai (default)

For Claude models, change it to:

export COPILOT_PROVIDER_TYPE=anthropic
export COPILOT_PROVIDER_BASE_URL=https://llmoxy.com
export COPILOT_PROVIDER_API_KEY=your LLMoxy API Key
export COPILOT_MODEL=claude-opus-5-5
BASH

Copilot app

  1. Open the GitHub Copilot app.
  2. Go to Settings → Model Providers → Add provider.
  3. Choose OpenAI-compatible (or any compatible HTTP endpoint).
  4. Enter https://llmoxy.com/v1 as the Base URL, paste your API Key, and save.
  5. Pick the model you just added in the session's model selector.