# Using your own LLM models in the GitHub Copilot app

Connect a model from an external provider of your choice by supplying your own API key, then use the model in agent sessions.

> \[!NOTE]
> Support to use your own provider (BYOK) in the GitHub Copilot 앱 is in 공개 미리 보기 and subject to change.

You can configure the GitHub Copilot 앱 to use your own LLM provider, also called BYOK (Bring Your Own Key), instead of GitHub-hosted models.

> \[!NOTE]
> This article is for users who want to configure their own LLM provider API key on their local machine. To set up custom models for users in an organization or enterprise, see [Copilot와 함께 LLM 공급자 API 키 사용](/ko/copilot/how-tos/administer-copilot/manage-for-organization/use-your-own-api-keys) and [Copilot와 함께 LLM 공급자 API 키 사용](/ko/copilot/how-tos/administer-copilot/manage-for-enterprise/use-your-own-api-keys).

## Supported providers

GitHub Copilot 앱 supports these model providers:

* OpenAI
* Azure OpenAI
* Microsoft Foundry
* Anthropic
* Ollama
* Foundry Local
* LM Studio
* Any OpenAI-compatible HTTP endpoint

## Prerequisites

* The GitHub Copilot 앱 is installed. For setup steps, see [GitHub Copilot 앱 시작](/ko/copilot/how-tos/github-copilot-app/getting-started).
* You have an API key for your model provider.

## Add a model provider

1. Open the GitHub Copilot 앱.
2. Open app settings, then click **Model providers**.
3. Click **Add provider**.
4. Select your provider.
5. Enter the provider details. This varies by provider but may include the display name, base URL, and API key.
6. Click **Add provider** to save the provider.

After you add a provider, its models appear in the model picker alongside GitHub-hosted models. You can select the model and use it in a session. For more information, see [GitHub Copilot 앱에서 에이전트 세션 사용하기](/ko/copilot/how-tos/github-copilot-app/agent-sessions).

Keys are stored in the system credential store and are never displayed in the UI.