Enable the required Chrome flags
Open a new Chrome tab and configure the two experimental features that allow Chrome to load and expose the local Gemini Nano model.
- Open chrome://flags/#optimization-guide-on-device-model and set it to Enabled. This enables Chrome's device-side optimization guide model, the core engine for loading and running local machine learning models.
- Open chrome://flags/#prompt-api-for-gemini-nano and set it to Enabled, or Enabled multilingual if you need multilingual input and output. This exposes Gemini Nano through JavaScript APIs such as LanguageModel.
- Click Relaunch in the lower-right corner of the flags page so both changes take effect.