{"meta":{"title":"在 GitHub Copilot 中配置对 AI 模型的访问","intro":"控制你的组织或企业可以通过 Copilot 使用哪些 AI 模型。","product":"GitHub Copilot","breadcrumbs":[{"href":"/zh/copilot","title":"GitHub Copilot"},{"href":"/zh/copilot/how-tos","title":"操作方法"},{"href":"/zh/copilot/how-tos/copilot-on-github","title":"Copilot 上 GitHub"},{"href":"/zh/copilot/how-tos/copilot-on-github/set-up-copilot","title":"设置 Copilot"},{"href":"/zh/copilot/how-tos/copilot-on-github/set-up-copilot/configure-access-to-ai-models","title":"配置对 AI 模型的访问权限"}],"documentType":"article"},"body":"# 在 GitHub Copilot 中配置对 AI 模型的访问\n\n控制你的组织或企业可以通过 Copilot 使用哪些 AI 模型。\n\n对 GitHub Copilot 模型的访问取决于：\n\n* 你的 Copilot 计划。\n* 使用的客户端（例如，GitHub.comVisual Studio Code或 JetBrains IDE）。\n* 组织或企业是否限制访问特定模型。\n\n有关可用 AI 模型的列表，请参阅 [GitHub Copilot中支持的 AI 模型](/zh/copilot/reference/ai-models/supported-models)。 有关 Copilot Chat 如何为不同 AI 模型提供服务的信息，请参阅 [GitHub Copilot 的模型托管](/zh/copilot/reference/ai-models/model-hosting)。\n\n## 个人套餐设置\n\n对于单个 Copilot 计划，可以直接在内部 Copilot 使用 AI 模型，而无需配置访问或管理策略。\nCopilot Free 并且 Copilot Student 只能访问 auto model selection。\n\n> \\[!NOTE]\n> 可用的模型取决于你的计划。 请参阅“[GitHub Copilot中支持的 AI 模型](/zh/copilot/reference/ai-models/supported-models#supported-ai-models-per-copilot-plan)”。\n\n## 组织和企业计划设置\n\n作为企业或组织所有者，你可以启用或禁用对具有 Copilot Enterprise 或 Copilot Business 席位的成员的 AI 模型的访问权限。 请参阅“[管理企业中模型的可用性](/zh/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-availability-of-default-models)”或“[管理组织中模型的可用性](/zh/copilot/how-tos/administer-copilot/manage-for-organization/manage-default-models)”。\n\n## 自定义模型\n\n使用自带密钥（BYOK）后，您可以将 Copilot 与您选择的模型配合使用，例如在本地计算机上运行的模型或由外部提供商托管的模型。\n\n有两种相互独立的机制可用于向 Copilot 提供你自己的 LLM 密钥。 一个允许用户在本地配置自己的模型，另一个允许用户和企业所有者为所有用户提供自定义模型。\n\n有关详细信息，请参阅“[GitHub Copilot 使用您自己的密钥](/zh/copilot/concepts/models/bring-your-own-key)”。"}