Steps to get Gemini models in VS Code chat
-
Obtain an API Key via Google AI Studio.
-
Launch VS Code and use
Cmd + Ctrl + Ito show the Chat window. -
Click on the model drop-down box and select manage models.

-
Select Gemini and paste your API Key into the box.
-
Once the API key is validated, you can pick models.

-
Press OK to save and the model is ready to use.