Where to point users (not developers) to enable Gemini Nano

55 views
Skip to first unread message

Ken Kahn

unread,
Jul 18, 2025, 5:55:16 AMJul 18
to chrome-ai-dev-...@chromium.org
Now that the completion API is in the standard Chrome release there should be a web page that describes how to enable it. Something like this:

How to Enable

  1. Go to chrome://flags in your address bar.
  2. Enable the Prompt API for Gemini Nano flag (#prompt-api-for-gemini-nano).
  3. Enable the Optimization Guide On-Device Model flag (#optimization-guide-on-device-model).
  4. Relaunch your browser. The model will download in the background.

System Requirements

  • OS: Windows 10/11, macOS 13+, or Linux
  • GPU: More than 4 GB of VRAM
  • Storage: At least 22 GB of free space for your Chrome profile
Ordinary users shouldn't be sent to a developer's page.

-ken kahn

Thomas Steiner

unread,
Jul 18, 2025, 5:58:57 AMJul 18
to Ken Kahn, chrome-ai-dev-...@chromium.org
Hi Ken,

For regular users, the model setup will just happen automatically. There are no manual steps they need to take. This applies to all APIs that are shipped (like, for example, the Summarizer API or the Translator API), or that are in origin trial (like, for example, the Prompt API or the Writer/Rewriter APIs). The manual setup is only required for early-stage APIs that are still behind a flag (like, for example, the Proofreader API).

Cheers,
Tom

--
You received this message because you are subscribed to the Google Groups "Chrome Built-in AI Early Preview Program Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chrome-ai-dev-previe...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/chrome-ai-dev-preview-discuss/CAFybx9%3D%2B%2BqHzY1xmw2G1Sw6D2%3DF6nOZmTANEtL%2Bx%2BbDcGfNfCw%40mail.gmail.com.


--
Thomas Steiner, PhD—Developer Relations Engineer (blog.tomayac.comtoot.cafe/@tomayac)

Google Spain, S.L.U.
Torre Picasso, Pl. Pablo Ruiz Picasso, 1, Tetuán, 28020 Madrid, Spain

CIF: B63272603
Inscrita en el Registro Mercantil de Madrid, sección 8, Hoja M­-435397 Tomo 24227 Folio 25

----- BEGIN PGP SIGNATURE -----
Version: GnuPG v2.4.8 (GNU/Linux)

iFy0uwAntT0bE3xtRa5AfeCheCkthAtTh3reSabiGbl0ck
0fjumBl3DCharaCTersAttH3b0ttom.xKcd.cOm/1181.
----- END PGP SIGNATURE -----

Ken Kahn

unread,
Jul 18, 2025, 6:14:55 AMJul 18
to Thomas Steiner, chrome-ai-dev-...@chromium.org
Thanks, that's great. So the first time 

LanguageModel.availability()

or
LanguageModel.create()

is executed will Chrome download Gemini Nano? And does LanguageModel.availability check if there is a GPU and enough storage?

-ken kahn

Thomas Steiner

unread,
Jul 18, 2025, 7:12:37 AMJul 18
to Ken Kahn, Thomas Steiner, chrome-ai-dev-...@chromium.org
On Fri, Jul 18, 2025 at 12:14 PM Ken Kahn <toon...@gmail.com> wrote:
Thanks, that's great. So the first time 

LanguageModel.availability()

or
LanguageModel.create()

is executed will Chrome download Gemini Nano?


That's correct, it will happen automatically in the background, and the page gets progress updates via the `downloadprogress` event.
 
And does LanguageModel.availability check if there is a GPU and enough storage?

Likewise correct, the `availability()` method runs all of the required compatibility checks.

Ken Kahn

unread,
Jul 18, 2025, 7:18:28 AMJul 18
to Thomas Steiner, chrome-ai-dev-...@chromium.org
Maybe this depends upon the country of origin. I'm in the UK. I just downloaded Chrome Dev to have a fresh version of Chrome. And there was no  LanguageModel until I enabled the two flags. Then everything went smoothly.

Version 140.0.7299.0 (Official Build) dev (64-bit)

-ken kahn 

 


Thomas Steiner

unread,
Jul 18, 2025, 7:23:45 AMJul 18
to Ken Kahn, Thomas Steiner, chrome-ai-dev-...@chromium.org
On Fri, Jul 18, 2025 at 1:18 PM Ken Kahn <toon...@gmail.com> wrote:
Maybe this depends upon the country of origin. I'm in the UK. I just downloaded Chrome Dev to have a fresh version of Chrome. And there was no  LanguageModel until I enabled the two flags. Then everything went smoothly.

That's what I said: LanguageModel is in origin trial, so you need to be on a page that participates in the origin trial or participate in the origin trial with an origin of your control. Else, for just local testing, you can always set the flag. 

Ken Kahn

unread,
Jul 18, 2025, 12:37:16 PMJul 18
to Thomas Steiner, chrome-ai-dev-...@chromium.org
Hi

Thanks for all your help. I managed to create a customizable Connections puzzle generator using Gemini Nano. 

I did try to get a Gemini Canvas project to use Gemini Nano but kept encountering permission obstacles that Gemini claimed I couldn't work around so I hosted it on Github Pages. I don't know if that can be fixed.

Best,

-ken kahn


Thomas Steiner

unread,
Jul 20, 2025, 5:24:27 PMJul 20
to Ken Kahn, Thomas Steiner, Chrome Built-in AI Early Preview Program Discussions
That's amazing, thanks for sharing this project! I assume the problem you're running into is related to iframe hosting on Canvas, they likely aren't setting the correct `allow` attribute value yet for the Permission Policy. I'm on mobile now and can't easily check my theory, but if you can, please send feedback to the Canvas tool team. 

Thanks,
Tom

Thomas Steiner, PhD—Developer Relations Engineer (blog.tomayac.comtoot.cafe/@tomayac)

Google Spain, S.L.U.
Torre Picasso, Pl. Pablo Ruiz Picasso, 1, Tetuán, 28020 Madrid, Spain

CIF: B63272603
Inscrita en el Registro Mercantil de Madrid, sección 8, Hoja M­-435397 Tomo 24227 Folio 25

----- BEGIN PGP SIGNATURE -----
Version: GnuPG v2.4.8 (GNU/Linux)

iFy0uwAntT0bE3xtRa5AfeCheCkthAtTh3reSabiGbl0ck
0fjumBl3DCharaCTersAttH3b0ttom.xKcd.cOm/1181.
----- END PGP SIGNATURE -----
Reply all
Reply to author
Forward
0 new messages