Chrome Built-in AI APIs Unavailable On Browser

379 views
Skip to first unread message

C K.K

unread,
Oct 12, 2025, 5:40:51 AM10/12/25
to Chrome Built-in AI Early Preview Program Discussions
Hi fellow Chrome developers and the Chrome team,

Glad to be hear building with you all. I am in the Chrome built-in AI Hackathon, and I am trying to access the Chrome built-AI APIs but it's almost impossible.

I followed the guide on the same here: https://developer.chrome.com/docs/ai/get-started?authuser=1 , reloaded my Chrome browser and even updated to the latest version but it still doesn't load the AI APIs.

When I build and load my extension unpacked to the browser, I get this error: Chrome APIs not available, when I click the service worker url(leads to Chrome DevTools). Please see attached screenshot.


ChromeAIAPIIssue.png

Thomas Steiner

unread,
Oct 13, 2025, 3:58:42 AM10/13/25
to C K.K, Chrome Built-in AI Early Preview Program Discussions
Hi CKK,

Unfortunately the screenshot isn't helpful in debugging the problem. Be sure to follow the instructions for the Prompt API closely. 

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/3967ebec-e758-4430-8d67-35a5e31362b1n%40chromium.org.


--
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 -----

C K.K

unread,
Oct 13, 2025, 5:04:11 AM10/13/25
to Chrome Built-in AI Early Preview Program Discussions, Thomas Steiner, Chrome Built-in AI Early Preview Program Discussions, C K.K
Hi Thomas,

Feel free to call me "Celestino". Thanks for your response. Let me get a little more detailed.

Issue Title:  Optimization Guide On Device Model component missing in Chrome Dev (v143) even after all AI API flags enabled

Issue Description:

I’m testing the new Chrome built-in AI APIs (Gemini Nano / ai.languageModel) in a Chrome Extension project for the Chrome Built-in AI APIs Hackathon.

After enabling all related AI flags, the “Optimization Guide On Device Model” component does not appear under chrome://components. As a result, ai.languageModel remains undefined.

This prevents use of Gemini Nano on-device inference.

NoOptimizationOnDeviceModel.png


My Environment: 
- Chrome Version
Google Chrome 143.0.7461.3 (Official Build) dev (64-bit)
- OS
Windows 10 Version 22H2 (Build 19045.6396)
- Hardware
x64 CPU,
- Network
Stable broadband
- Region
Nairobi, Kenya(East Africa)
- Profile Type
Default (not managed, not guest), from my account: kcelestin...@gmail.com
- Extensions Used
Testing a Manifest V3 extension with background + devtools scripts

Chrome AI APIs Enabled
Text Safety Classifier
Prompt API for Gemini Nano
Prompt API for Gemini Nano with Multimodal Input
Summarization API for Gemini Nano
Writer API for Gemini Nano
 Rewriter API for Gemini Nano
Proofreader API for Gemini Nano

Reproduction Steps
  1. Install Chrome Dev build 143.0.7461.3 (64-bit) on Windows 10.

  2. Visit chrome://flags and enable:

    • Prompt API for Gemini Nano

    • Optimization Guide On Device Model

    • Enable on-device model

    • AI API for Chrome

  3. Relaunch Chrome.

  4. Visit chrome://components.

  5. Observe: No “Optimization Guide On Device Model” component appears.

All this time, I am using the DevTools on the Service Worker URL for the Chrome Extension I am testing on. I also registered my gmail account to Origin Trials. Request your assistanceAIOriginTrials.png

My extension does communicate back that the Prompt API is not available, which again validates that the Gemini Nano was not installed :( .

Looking forward to your assistance in resolving the issue.

With Best Regards,
Celestino

C K.K

unread,
Oct 13, 2025, 5:20:54 AM10/13/25
to Chrome Built-in AI Early Preview Program Discussions, C K.K, Thomas Steiner, Chrome Built-in AI Early Preview Program Discussions
Hi Tom,

An update, I have rechecked the links you said and things are going well so far, hold on don't respond to this issue

C K.K

unread,
Oct 13, 2025, 5:49:23 AM10/13/25
to Chrome Built-in AI Early Preview Program Discussions, Thomas Steiner, Chrome Built-in AI Early Preview Program Discussions
Hi Tom :) ,

All is resolved, all Chrome built-in AI APIs have been successfully installed following the link you shared. We can close this. Thanks so much. Have a productive, blessed day & rest of the week.

With Best Regards,
Celestino

Channel earning Project imo

unread,
Oct 13, 2025, 5:50:59 AM10/13/25
to C K.K, Chrome Built-in AI Early Preview Program Discussions, Chrome Built-in AI Early Preview Program Discussions

Thomas Steiner

unread,
Oct 13, 2025, 5:52:15 AM10/13/25
to C K.K, Chrome Built-in AI Early Preview Program Discussions, Chrome Built-in AI Early Preview Program Discussions
Glad to hear it worked! Happy hacking now!

Channel earning Project imo

unread,
Oct 13, 2025, 5:53:51 AM10/13/25
to Thomas Steiner, C K.K, Chrome Built-in AI Early Preview Program Discussions
Reply all
Reply to author
Forward
0 new messages