Gemini 3 in Gemini Code Assist

Gemini 3 Pro and Gemini 3 Flash have been released and are available to selectGemini Code Assist users in VS Code and IntelliJ. Gemini 3is supported inagent mode,chat, andcode generation.Agent mode and chat responses include a label when they are generated usingGemini 3.

If you are running into issues, see thetroubleshooting section forassistance.

Gemini 3 Availability

Gemini 3 is gradually being made available to Gemini Code Assistusers.

Note: Users with a Gemini Code Assist Standard or Enterprise licensecan only use Gemini 3 at this time if their administrator has enabled thePreview release channel.
License / SubscriptionGemini 3 Availability
Google AI UltraAvailable now to all users in VS Code and IntelliJ
Google AI ProAvailable now to all users in VS Code and IntelliJ
Gemini Code Assist EnterpriseAvailable now to all users in VS Code and IntelliJ whose administrator has configured thePreview release channel
Gemini Code Assist StandardAvailable now to all users in VS Code and IntelliJ whose administrator has configured thePreview release channel
Gemini Code Assist for individualsAvailable to select users from the waitlist in VS Code and IntelliJ. Coming soon for other users
Google Developer ProgramComing soon
Google AI Ultra for BusinessComing soon

Use Gemini 3 in VS Code

If Gemini 3 is available to you, it will automatically be used for chat and codegeneration. The model selector can be used in chat to select a different model.Additional steps are required to use Gemini 3 in agent mode.

Agent mode

To use Gemini 3 in agent mode in VS Code, you need to enable the Gemini CLIPreview Features setting. This will configure Gemini 3 to be used by both GeminiCLI and agent mode in VS Code. There are several ways to configure the GeminiCLI Preview Features setting.

Workspace settings file

This file applies only when running the VS Code agent mode or Gemini CLIfrom within the specific project directory or its subdirectories. Itoverrides user settings.

  1. If it doesn't exist already, create the following directory and file atthe root of your workspace:

    .gemini/settings.json
  2. Add the following contents to the file:

    {    "general": {        "previewFeatures": true    }}
  3. Save the file and reopen VS Code.

User settings file

These settings apply to all projects for the current user.

  1. If it doesn't exist already, create the following directory and file onyour file system:

    Linux/macOS:

    ~/.gemini/settings.json

    Windows:

    C:\Users\<YourUsername>\.gemini\settings.json

  2. Add the following contents to the file:

    {    "general": {        "previewFeatures": true    }}
  3. Save the file and reopen VS Code.

Gemini CLI

Using the Gemini CLI, you can choose enable Gemini 3 at the user orworkspace level by changing the Preview Feature setting to true. To applythe Preview Features setting for a specific workspace, ensure you run GeminiCLI from that workspaces directory.

  1. Close VS Code.

  2. Install the latest stableGemini CLIif you haven't already done so.

  3. Run Gemini CLI after installation using the following command:

    gemini
  4. In the Gemini CLI, open settings using the following command:

    /settings
  5. Navigate to thePreview Features setting and enable it at theworkspace or user level.

  6. Reopen VS Code.

Note: System level Gemini CLI settings are not used byGemini Code Assist in VS Code at this time.

Use Gemini 3 in IntelliJ

If Gemini 3 is available to you, it will automatically be used for agent mode,chat and code generation. The model selector can be used in chat to select adifferent model.

Troubleshooting

If you are running into issues using Gemini 3, there are several troubleshootingsteps that may help.

Account not eligible for Gemini 3 in VS Code agent mode

If you enable Preview Features in Gemini CLI settings but aren't eligible forGemini 3, you will see an error when trying to use agent mode in VS Code. Youcan resolve this by changing the Preview Feature setting to false for your atthe user or workspace level using theprior instructions.

Unable to toggle into agent mode

This is the result of the same issue asAccount not eligible for Gemini 3 in VSCode agent mode.

Gemini 3 works in Gemini CLI but not agent mode in VS Code

This can occur when the Gemini CLI Preview Features setting is enabled at thesystem level, which agent mode in VS Code does not use. If that is the case,try enabling the Preview Features setting at the user or workspace level usingtheprior instructions.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-17 UTC.