Clarification on Summarizer API's Input Size Limitations

98 views
Skip to first unread message

GXY Gomi

unread,
Jun 12, 2025, 11:15:32 AM6/12/25
to Chrome Built-in AI Early Preview Program Discussions

I hope this email finds you well.

I’m reaching out to seek clarification regarding the Summarizer API’s input size limitations. During my testing, I observed that the API successfully processes inputs of up to 20,000 characters in some cases, but occasionally rejects inputs of the same length with a "text too large" error.

Could you kindly confirm:

  1. The maximum supported input size (in characters or tokens) for the Summarizer API?

  2. Whether this limit is consistent or influenced by other factors (e.g., text complexity, system load)?

This information would help me optimize integration and handle edge cases appropriately. Thank you for your support!

Thomas Steiner

unread,
Jun 12, 2025, 12:07:06 PM6/12/25
to GXY Gomi, Chrome Built-in AI Early Preview Program Discussions
Hi GXY,

Please see this section of the explainer: https://github.com/webmachinelearning/writing-assistance-apis/blob/main/README.md#too-large-inputs. Hope this clarifies the doubts you have. 

Cheers,
Tom

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

Google Germany GmbH, ABC-Str. 19, 20354 Hamburg, Germany
Geschäftsführer: Paul Manicle, Liana Sebastian
Registergericht und -nummer: Hamburg, HRB 86891

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

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

--
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/8f6c281a-afbf-4287-b47f-b7aa07c2fa21n%40chromium.org.
Reply all
Reply to author
Forward
0 new messages