What's New Intermediate GitHub Copilot 5 min read ·

GitHub Copilot Now Lets You Pick Claude or GPT-5 for Agent Tasks

GitHub added model selection for Copilot agent tasks on github.com — choose Claude Sonnet 4.6, Opus 4.6, or GPT-5 Codex variants. Here's when to pick which.

On April 14, 2026, GitHub added model selection for Claude and Codex agents on github.com. Until now, when you kicked off an agent task in GitHub Copilot — like having the agent write code for an issue — GitHub picked the model for you. Now you choose. The options are Claude Sonnet 4.6, Claude Opus 4.6, GPT-5.2-Codex, GPT-5.3-Codex, and GPT-5.4.

This is a meaningful shift. It makes GitHub Copilot a model-agnostic platform rather than just a gateway to OpenAI's models. For teams with preferences about which AI handles their code, this matters.

How to Access Model Selection

plaintext
Selecting a model for agent tasks on github.com:
1. Open any GitHub issue or pull request
2. Look for the Copilot icon in the sidebar (or the 'Ask Copilot' button)
3. Click 'Start agent task' or equivalent
4. Before the agent begins, you'll see a model picker dropdown
5. Available options:
   - Claude Sonnet 4.6 (fast, strong on complex reasoning)
   - Claude Opus 4.6 (most capable Claude, slower)
   - GPT-5.2-Codex (OpenAI's specialized coding model, fast)
   - GPT-5.3-Codex (improved version of 5.2, strong on benchmarks)
   - GPT-5.4 (latest GPT-5 variant, broad capability)
6. Select your model, then describe the task in the prompt field
7. The agent runs asynchronously — you get a notification when done

Which Model to Pick for What

The honest answer is: try a few and see which feels right for your codebase. But based on what each model is optimized for, here are practical starting points.

plaintext
Model selection guide for Copilot agent tasks:

Claude Sonnet 4.6 — Best default for most tasks
- Multi-file refactors that need reasoning across the whole codebase
- Writing tests that handle edge cases correctly
- Bug fixes where understanding context matters more than raw speed
- Any task where you want the agent to explain its decisions

Claude Opus 4.6 — Use when quality matters most
- Architecture-level changes that will be hard to reverse
- Security-sensitive code paths
- Code review of a large PR before it merges to main
- Tasks where a wrong decision costs significant cleanup time

GPT-5.3-Codex / GPT-5.4 — Fast, high-quality output
- Generating boilerplate that follows existing patterns
- Well-scoped feature additions with clear specs
- Documentation generation
- Tasks where you want strong performance on SWE-Bench style problems
Pro Tip

Claude models tend to be more verbose in explaining what they did and why — useful when you're reviewing agent output in a PR diff. GPT-5 Codex variants tend to produce cleaner, more concise diffs with less explanation. Pick based on how you prefer to review agent work.

Asynchronous Agent Tasks on github.com

This feature is specifically for agent tasks on github.com — not VS Code or the CLI. When you start an agent task from a GitHub issue, the agent spins up, works in a sandboxed environment, and creates a draft PR with its changes. You review the PR like any other pull request. The agent doesn't have access to your local machine — it works from the code in the repository.

This is actually a meaningful workflow change for teams: you can assign issues to Copilot directly from the GitHub interface, with no developer touching the task until they review the resulting PR. Model selection makes that workflow more flexible — you can send complex architecture issues to Opus and fast boilerplate tasks to Codex.

What This Means for Teams

GitHub is positioning Copilot as a model-agnostic development platform. You're not locked into OpenAI's models anymore. For teams that have found Claude performs better on certain types of tasks — and many have — this is the option they've been asking for. It also means your Copilot Enterprise subscription now gives you access to Anthropic's frontier models without a separate API contract.

Key Takeaway

GitHub Copilot agent tasks on github.com now let you pick the model — Claude Sonnet 4.6, Opus 4.6, or GPT-5 Codex variants. Use Claude Sonnet for most reasoning-heavy tasks, Opus for high-stakes changes, and GPT-5 Codex for fast boilerplate and pattern-based generation.

Frequently Asked Questions

Does model selection also work in VS Code's Copilot, not just github.com?

VS Code's Copilot Chat already had model selection in the chat header for direct conversations. The April 14 update specifically added model selection for agent tasks triggered from github.com (issue and PR pages). The two surfaces have separate model pickers — check the settings in each environment.

Does using Claude through GitHub Copilot cost extra?

Model selection for Copilot agents is included in Copilot Business and Enterprise plans. There's no separate per-model billing for switching between Claude and GPT-5 Codex within Copilot. Individual plan availability may vary — check github.com/features/copilot for current plan details.

Can I set a default model so I don't have to pick every time?

GitHub hasn't announced a 'default model' preference setting as of the April 14 launch. You select the model each time you start an agent task. This may change in future updates — check the GitHub Changelog (github.blog/changelog) for additions to this feature.

Personalized for your role

Get Your AI Career Action Plan

Our AI Advisor builds you a personalized AI Readiness Score, skills gap analysis, and 30/60/90 day plan based on your specific role and experience.

Try the AI Advisor →
← Back to AI Coding Hub