Prune

AI models

OptGuideOnDeviceModel taking up 4 GB: is it safe to delete Chrome's Gemini Nano?

Last checked Applies to Google Chrome on macOS and Windows, with Chrome's built-in AI features 5 min read

Short answer

Yes, you can delete it. OptGuideOnDeviceModel holds Gemini Nano, the AI model Chrome downloads for its built-in AI features, and its weights.bin file is usually about 4 GB. If you only delete the folder, Chrome downloads it again. Turn off Settings › System › On-device AI in Chrome instead: Chrome stops downloading the model and removes the file itself.

Path on Mac
~/Library/Application Support/Google/Chrome/OptGuideOnDeviceModel
Path on Windows
%LOCALAPPDATA%\Google\Chrome\User Data\OptGuideOnDeviceModel
Typical size
About 4 GB, almost all of it in weights.bin
Safe to delete?
Yes. Chrome's AI features that need it stop working until it's back
Stays gone?
Only if On-device AI is off in Chrome's settings

What the folder is

Chrome ships a small language model, Gemini Nano, that runs on your own computer instead of on Google's servers. Chrome uses it for things like the "Help me write" box, scam detection and the built-in AI APIs that some websites call. The model is downloaded in the background, without a prompt, once Chrome decides your computer is powerful enough.

It lands in a folder called OptGuideOnDeviceModel inside Chrome's own data folder, not inside a profile. Nearly all of the space is one file, weights.bin, which is the model itself. On most machines that file is a little under 4 GB. The folder name doesn't mention AI or Gemini, which is why so many people find it in a disk map and wonder what it is.

Check whether you have it

du -sh ~/Library/Application\ Support/Google/Chrome/OptGuideOnDeviceModel
# PowerShell
Get-ChildItem "$env:LOCALAPPDATA\Google\Chrome\User Data\OptGuideOnDeviceModel" -Recurse | Measure-Object Length -Sum

No such folder means Chrome hasn't downloaded the model on this computer, and there's nothing to do. You can also open chrome://on-device-internals in Chrome to see the model's status and version.

Remove it so it stays gone

  1. Turn off On-device AI

    In Chrome, open chrome://settings/system and switch off On-device AI. Chrome stops downloading the model and deletes weights.bin on its own. This is the step that matters. Everything else is optional.

  2. Check the folder

    Run the size check above again after a minute. If the folder is still there, quit Chrome completely and move OptGuideOnDeviceModel to the Trash or Recycle Bin.

  3. Managed computers: use the policy

    If the setting is missing or greyed out, your Chrome is managed. Admins can block the download with the GenAILocalFoundationalModelSettings policy set to 1. On a Mac you set it yourself with:

    defaults write com.google.Chrome GenAILocalFoundationalModelSettings -int 1

    On Windows it's a DWORD with the same name and value under HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome. Restart Chrome after either one.

SafeYour bookmarks, passwords, history and extensions aren't in this folder. Deleting it only affects Chrome's on-device AI features.

CarefulDeleting the folder while On-device AI is still on frees the space for a day or two. Then Chrome downloads the same 4 GB again.

What stops working

Features that run Gemini Nano locally stop working or fall back to a cloud version: "Help me write", some scam warnings and any website that uses Chrome's built-in AI APIs. Normal browsing, Google search and the Gemini website are not affected. If you change your mind, switch On-device AI back on and Chrome downloads the model again.

Finding it with Prune

Prune finds the Gemini Nano model on Mac and Windows and shows its size next to your other AI files: Ollama and LM Studio models, Hugging Face caches, Claude and ChatGPT app caches. Prune leaves it unselected and tells you to turn off On-device AI first, because removing the folder alone doesn't last.

FAQ

What is weights.bin in Chrome?

It's Gemini Nano, the language model Chrome runs on your computer for its built-in AI features. It sits in the OptGuideOnDeviceModel folder and is usually about 4 GB.

Why did OptGuideOnDeviceModel come back after I deleted it?

Chrome downloads the model again whenever On-device AI is on. Turn that off in Chrome's System settings and Chrome removes the file and stops downloading it.

Is OptGuideOnDeviceModel a virus?

No. It's a normal part of Google Chrome. The name just doesn't say that it's an AI model.

Does deleting it remove my bookmarks or passwords?

No. Your profile data lives in a different folder. Only Chrome's on-device AI features are affected.

Do Microsoft Edge or other Chromium browsers do the same?

Some Chromium-based browsers ship their own on-device models in their own folders. This post covers Google Chrome only.