• Playground
  • Models
  • Rankings
  • Pricing
  • Support
Docs
  • About Boundless
  • Quickstart
  • API Compatibility
  • Models
  • OpenAI SDK
  • Anthropic SDK
  • Vercel AI SDK
  • LangChain
  • Streaming
  • Tool calling
  • Reasoning
  • Errors
  • MPP & Agentic Payments
  • Credits & Billing
  • Rate Limits
  • Teams
  • Privacy & ZDR
  • FAQ
  • Coding agents
    Coding Agents & Harnesses
  • Claude Code
  • Claude Desktop
  • Codex CLI
  • Codex app
  • OpenCode
  • Cursor
  • Cline
  • GitHub Copilot
  • Kilo Code
  • Qwen Code
  • Amp
  • CodeBuddy
  • Hermes
  • Hermes Desktop
  • JetBrains AI & Junie
  • Cherry Studio
  • Mastra
  • MiMo Code
  • Muse
  • omp (Oh My Pi)
  • OpenClaw
  • OpenHands
  • T3 Code
  • Advanced
    System One
All systems operational
© 2026 BoundlessTermssupport@boundless.network

GitHub Copilot

Use your own Boundless key in GitHub Copilot: VS Code, the desktop app and the CLI, policy requirements, a verify step and common errors.

Copilot's bring-your-own-key path covers chat, agent and custom-agent turns only. Inline completions keep using Copilot's own models and your subscription, and on Business or Enterprise an admin has to enable the policy before the option appears.

Install#

Install GitHub Copilot from its own documentation first. Then pick one way to point it at Boundless.

Run this in a terminal on macOS or Linux and choose GitHub Copilot:

curl -fsSL https://boundless.md/install | sh

Copilot keeps its configuration in VS Code and the desktop app's settings, and reads environment variables in the CLI. Run curl -fsSL https://boundless.md/install | sh and choose GitHub Copilot to see the steps, or follow the ones below.

Configure#

GitHub Copilot#

In VS Code, Copilot Chat reaches a custom endpoint through the Custom Endpoint BYOK provider. Run Chat: Manage Language Models from the command palette, choose Custom Endpoint, and give it the base URL and key.

In the GitHub Copilot desktop app, open Settings → Model providers, click Add provider, choose the OpenAI-compatible endpoint, and enter the same base URL and key. The provider's models then appear in the app's model picker beside GitHub's. The app needs a GitHub sign-in but no Copilot plan when you bring your own provider.

For the CLI:

export COPILOT_PROVIDER_BASE_URL="https://api.inference.boundless.network/v1"
export COPILOT_PROVIDER_API_KEY="your-boundless-key"
export COPILOT_MODEL="deepseek/deepseek-v4.1-flash"
  • BYOK covers chat and agent sessions only. Inline suggestions keep using Copilot's models.
  • On Business/Enterprise, an admin must enable "Bring Your Own Language Model Key in VS Code" first. The desktop app needs the Copilot CLI enabled in policy settings.
  • Provider support in the desktop app is a public preview.
  • If the model list fails to load, the base URL is wrong. It has to end at /v1.

Model ids#

The examples use deepseek/deepseek-v4.1-flash. Use any id from GET https://api.inference.boundless.network/v1/models; the models page lists each one with its price and limits.

Verify#

To check the base URL and key on their own, list the models the gateway serves. A list of models means both are right. A 401 means the key is missing or wrong:

curl https://api.inference.boundless.network/v1/models -H "Authorization: Bearer YOUR_API_KEY"

Then send a short message in a new session and check that a reply comes back.

Common errors#

What you see What it usually is
The model list fails to load The base URL is wrong. It has to end at /v1.
401 on every request The key is wrong or missing in the provider settings or COPILOT_PROVIDER_API_KEY.
No bring-your-own-key option On Business or Enterprise an admin must enable the policy first.
403 with model_not_allowed Your team admin has not enabled that model for you. Ask them, or pick another. See Model access.

Every status and code is on the Errors page. Other harnesses are on the Coding Agents & Harnesses page.

NextKilo Code