Gemini 2.5 Pro retired from GitHub Copilot: how to switch in VS Code

Published · Updated

Save

GitHub lists Gemini 2.5 Pro as retired from Copilot on July 31, 2026. Open Copilot Chat in VS Code and check which Gemini models your account can select. GitHub lists a current Gemini Flash model as the replacement path.

Verify availability

Look at GitHub's supported-models page and model retirement notices. Check the row for Visual Studio Code and your plan. If the exact Gemini model is unavailable, choose a currently supported model that serves the task or ask your organization administrator about policy.

Switch the chat model

Use the picker in the chat input and confirm the selected label before starting a fresh conversation. Chat model selection is distinct from inline completion configuration, so check the control for the feature you are using.

Test the choice on the same task

Use two harmless tasks in a public or synthetic repository. Compare whether each model follows your constraints and produces a useful diff. Avoid assuming that similarly named Gemini products share entitlements or settings.

References

GitHub Copilot model matrix

VS Code chat model picker

Discuss this answer