Copilot CLIがBYOKとローカルモデルをサポート
GitHub Copilot CLIが、ユーザー自身のモデルプロバイダーへの接続や完全ローカルモデルの実行を可能にした。これにより、既存の契約モデルの利用、エアギャップ環境での運用、LLMコストの直接管理が可能になる。
タイトル: Copilot CLI が BYOK とローカルモデルをサポート
GitHub Copilot CLI は、GitHub がホストするモデルルーティングを使用する代わりに、独自のモデルプロバイダーを接続したり、完全にローカルなモデルを実行したりできるようになりました。これにより、既にお支払い中のモデルやプロバイダーを利用したり、エアギャップ環境で運用したり、LLM の支出を直接管理したりできる一方で、これまでと同じエージェント型ターミナルエクスペリエンスを維持できます。
任意のモデルプロバイダーに接続
Copilot CLI を起動する前に環境変数をいくつか設定するだけで、Azure OpenAI、Anthropic、またはあらゆる OpenAI互換エンドポイントを使用するように構成できます。これは、OpenAI や Azure OpenAI などのリモートサービスだけでなく、Ollama、vLLM、Foundry Local などのローカルで実行するモデルでも機能します。設定手順については、「GitHub Copilot CLI で独自の LLM モデルを使用する」を参照してください。
エアギャップ環境のためのオフラインモード
COPILOT_OFFLINE=true を設定すると、Copilot CLI が GitHub のサーバーに接続することを防止できます。オフラインモードでは、すべてのテレメトリが無効化され、CLI は設定したプロバイダーとのみ通信します。ローカルモデルと組み合わせることで、完全にエアギャップ化された開発ワークフローが実現します。詳細については、「オフラインモードでの実行」を参照してください。
GitHub 認証がオプションに
独自のモデルプロバイダーを使用する場合、GitHub 認証は不要です。プロバイダーの認証情報だけで、すぐに Copilot CLI の使用を開始できます。さらに GitHub にもサインインすれば、両方の利点を享受できます。AI 応答にはご希望のモデルを使用しつつ、/delegate コマンド、GitHub Code Search、GitHub MCPサーバーなどの機能にもアクセスできるようになります。詳細については、「認証なしでの使用」を参照してください。
知っておくべきこと
- 使用するモデルは、ツール呼び出しとストリーミングをサポートしている必要があります。最良の結果を得るには、少なくとも 128k トークンのコンテキストウィンドウを持つモデルを使用してください。
- 組み込みのサブエージェント(explore、task、code-review)は、自動的に設定したプロバイダー構成を継承します。
- プロバイダー構成が無効な場合、Copilot CLI は具体的な対処方法を示すエラーメッセージを表示します。GitHub ホスト型モデルへ黙ってフォールバックすることはありません。
- ターミナル内で直接クイックセットアップ手順を確認するには、
copilot help providersを実行してください。 - GitHub Community でディスカッションに参加しましょう。
この投稿「Copilot CLI now supports BYOK and local models」は、The GitHub Blog で最初に公開されました。
原文を表示
GitHub Copilot CLI now lets you connect your own model provider or run fully local models instead of using GitHub-hosted model routing. This means you can use the models and providers you’re already paying for, operate in air-gapped environments, and maintain direct control over your LLM spend, all while keeping the same agentic terminal experience.
Connect any model provider
Configure Copilot CLI to use Azure OpenAI, Anthropic, or any OpenAI-compatible endpoint by setting a few environment variables before launching the CLI. This works with remote services like OpenAI and Azure OpenAI, as well as locally running models like Ollama, vLLM, and Foundry Local. See Using your own LLM models in GitHub Copilot CLI for setup instructions.
Offline mode for air-gapped environments
Set COPILOT_OFFLINE=true to prevent Copilot CLI from contacting GitHub’s servers. In offline mode, all telemetry is disabled and the CLI only communicates with your configured provider. Combined with a local model, this enables fully air-gapped development workflows. See Running in offline mode for details.
GitHub authentication is now optional
When using your own model provider, GitHub authentication is not required. You can start using Copilot CLI immediately with just your provider credentials. If you also sign in to GitHub, you get the best of both worlds: your preferred model for AI responses, plus access to features like /delegate, GitHub Code Search, and the GitHub MCP server. See Unauthenticated use for more information.
What you need to know
Your model must support tool calling and streaming. For best results, use a model with at least a 128k token context window.
Built-in sub-agents (explore, task, code-review) automatically inherit your provider configuration.
If your provider configuration is invalid, Copilot CLI shows actionable error messages—it never silently falls back to GitHub-hosted models.
Run copilot help providers for quick setup instructions directly in the terminal.
Join the discussion within GitHub Community.
The post Copilot CLI now supports BYOK and local models appeared first on The GitHub Blog.
他社はどう報じたか
同じ出来事を扱う別媒体の記事です。見出しと公開時刻を比較できます。
関連記事
News to Guide
ニュースの次に確認する
発表内容を、現在の料金や仕様と照らし合わせられる関連ガイドです。
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み