> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getunbound.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# GitHub Copilot

> Use LLM Gateway models in GitHub Copilot Chat in VS Code

You need an [LLM Gateway key](https://docs.getunbound.ai/llm-gateway/keys.md#create-a-key).

On Copilot Business and Enterprise, an admin must first turn on the **Bring Your Own Language Model Key in VS Code** policy on GitHub.

## Setup

1. In the Chat view, open the model picker and select **Manage Language Models**.
2. Select **Add Models**, then **Custom Endpoint**.
3. Enter a name, such as `Unbound`, and your key.
4. Set the API type to **Chat Completions** and the URL to `https://api.getunbound.ai/v1`.

VS Code lists the models and aliases your key can call.

## Check it works

Pick an **Unbound** model in the Chat view and send a message. In **LLM Gateway → Keys**, the key's **Last Used** updates.

Inline code completions keep using Copilot's own models.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.