Hello,
Following our 6-week Call for Feedback on blink-dev
<https://groups.google.com/a/chromium.org/g/blink-dev/c/k80to1ZlrbY> (Oct 2
– Nov 17), Early Preview Program consultation, and developer feedback form,
we are moving forward with deprecating and removing the experimental Writer
and Rewriter APIs from Chromium/Blink in favor of the foundational Prompt
API (window.LanguageModel). These APIs ran an Origin Trial earlier, did not
see sufficient demand to ship, and returned to DevTrial. Our call for
feedback closed with zero objections.
*Rationale*
The Writer and Rewriter APIs were originally explored as task-specific
abstractions. In practice, they operated as thin system-prompt wrappers
over the foundational on-device LLM to gauge demand before we invested in
fine-tunings or expert models. Because on-device models (such as Gemini
Nano V3 and Gemma 4) have become substantially more capable, developers
achieve high-quality and more flexible writing and rewriting results
directly via natural language prompting whereas the specialized wrapper
APIs didn't hit the mark for many.
Maintaining distinct thin-wrapper APIs adds specification, testing, and
maintenance overhead without commensurate developer benefit. Without
sufficient demand to justify specialized models or fine-tuning, simplifying
the portfolio lets us focus engineering on APIs with distinct value (such
as the Summarizer and Translator APIs) and promising new primitives (such
as Embeddings, Tool Calling, or Decisions capabilities).
*Developer Compatibility & Polyfill*
To support developers with existing experimental code:
1. Exact prompt templates and parameter mappings are published:
- Writer prompt builder
<https://github.com/GoogleChromeLabs/web-ai-demos/blob/main/writer-rewriter-polyfills/writer-prompt-builder.js>
- Rewriter prompt builder
<https://github.com/GoogleChromeLabs/web-ai-demos/blob/main/writer-rewriter-polyfills/rewriter-prompt-builder.js>
2. A lightweight, open-source Writer & Rewriter polyfill
<https://github.com/GoogleChromeLabs/web-ai-demos/tree/main/writer-rewriter-polyfills#readme>
is available on GitHub, mapping window.Writer and window.Rewriter calls
directly to window.LanguageModel.
*Timeline*
We plan to proceed with removal starting in *Chrome M161* (Stable January
2027) at the earliest.
Best,
--
You received this message because you are subscribed to the Google Groups
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADWWn7X8jXFx16hGDvLPHV%3DagOqa%3DhKCnzqhyC0jFsdQujrb2A%40mail.gmail.com.