Tech News
← Back to articles

How to use GPT-5 in VS Code with GitHub Copilot

read original related products more articles

Pakpoom Makpan/Getty Images

ZDNET's key takeaways

GitHub Copilot Pro now supports GPT-5 in VS Code.

A 30-day trial lets you test premium models for free.

Add your OpenAI key to bypass Copilot restriction.

GPT-5 is now available for use with Microsoft's GitHub Copilot in VS Code. In this article, I'll walk you through the steps of setting up the linkages between VS Code, Copilot, and GPT-5. This process will also work for most other supported large language models you want to use.

Also: Microsoft rolls out GPT-5 across its Copilot suite - here's where you'll find it

Step 1: Enable GitHub Copilot Pro

You'll need the Pro version of GitHub Copilot to use GPT-5 at this time. The new model might be available for Copilot's free tier someday, but not yet. There is, however, a 30-day free trial. I'll show you how to set that up here:

Screenshot by David Gewirtz/ZDNET

... continue reading