← Back
GitHub
GitHub Copilot now lets developers choose AI models in pull request comments
GitHub CopilotGitHub · featureapiintegration · github.blog ↗

Model Selection for Copilot in Pull Requests

When you mention @copilot in pull request comments, GitHub now displays a model picker in the bottom-left of the comment box. This allows you to select which AI model powers the Copilot coding agent for that specific request, rather than relying on a default model choice.

How It Works

The Copilot coding agent operates in its own development environment powered by GitHub Actions, where it can:

  • Make code changes directly to your pull request
  • Build your project
  • Run tests and validate changes

With model selection, you gain fine-grained control over which AI model handles each request, enabling you to choose the best model for your specific task—whether prioritizing speed, cost, or advanced reasoning capabilities.

Current Limitations

This feature is currently available only on github.com and works exclusively in pull request comments. Model selection is not yet supported in pull request review comments. GitHub plans to expand this functionality to GitHub Mobile and other comment types in the future.

Available Models

You can select from Copilot coding agent's supported models, giving developers flexibility in choosing the right AI for different coding tasks.