The Prompt API
gslin
59 points
45 comments
April 27, 2026
Related Discussions
Found 5 related stories in 92.9ms across 8,303 title embeddings via pgvector HNSW
- Prompt to App helloww · 35 pts · April 11, 2026 · 69% similar
- Turn your best AI prompts into one-click tools in Chrome xnx · 144 pts · April 14, 2026 · 68% similar
- Just Send the Prompt medalblue · 35 pts · March 04, 2026 · 65% similar
- Mozilla's opposition to Chrome's Prompt API jaffathecake · 607 pts · April 30, 2026 · 64% similar
- Chrome looks set to ship an LLM Prompt API to the web. We oppose this API Vinnl · 23 pts · April 30, 2026 · 58% similar
Discussion Highlights (10 comments)
fg137
"sorry, to use our website, you must have at least 22 GB of free disk space."
skybrian
Still in origin trial? Looks like they're adding a temperature parameter: https://chromestatus.com/feature/6325545693478912
avaer
It works, I've shipped this as a "local inference"/poor person's ollama for low-end llm tasks like search. The main win is that it's free and privacy preserving, and (mostly) transparent to users in that they don't have to do anything, which is great for giving non-technical users local inference without making them do scary native things. But keep in mind the actual experience for users is not great; the model download is orders of magnitude greater than downloading the browser itself, and something that needs to happen before you get your first token back. That's unfixable until operating systems start reliably shipping their own prebaked models that an API like this could plug into.
jameslk
Seems like a good way for a rogue JS script to offload token generation to a bunch of unsuspecting visitors It would actually be pretty interesting to see if its possible to decentralize the compute to generate something useful from a larger prompt broken down and sent to a bunch of browsers using a subagent pattern or something like RLM, each working on a smaller part of the prompt
nl
The model this uses is useless for anything beyond 2 round chat at the most. If you want to do anything interesting you need transformers.js and a decent mode. Qwen 0.9B is where things start working usefully
gorgoiler
Imagine a Vendor API that adds a way to link from the page straight into a device purchase workflow. As a trial of the API in Chrome you can order a new Google Pixel 9b directly from any page with the word Android in it! Or a LocalNet API that integrates with trusted hardware devices on your local network. As a trial (Chrome beta programme — strictly limited but here’s 3x signup links to share with your friends) you can adjust your Google Next Mini underfloor heating directly from Chrome! Or a DirectCast API that lets you stream <video> elements to a device of your choice even over a VPN. As a Chrome trial, you can use your Google Cloud account to stream directly from YouTube Premium to any linked Google Chromecast devices you own!
haberman
This API seems perfect for an idea I've had for a while: a de-snarkifier for social media. Social media can be intellectually stimulating and educational, but it's also easy to get sucked into ideological sniping and flamewars, even if you didn't go looking for it. The emotional and intellectual energy spent flaming strangers on the Internet is a complete waste of human capital. With an API like this, I assume you could have a browser extension that could de-snarkify content before showing it to you. You could ask the LLM to preserve all factual content from the post, but to de-claw any aggressive or snarky language. If you really wanted to have fun, you could ask it to turn anything written in an aggressive tone into something that sounds absurd or incompetent, so that the more aggressive the post, the more it would make the author look silly. This could have a double benefit. For the reader, it insulates them from the personal attacks of random strangers on the Internet. Don't get me wrong, there is a time and a place for real, charged arguments about important issues that affect us all. But there is little to be gained from having those fights with strangers; on the contrary, I think it poisons the body politic when strangers are screaming at each other. For the writer, it takes away any incentive to be snarky or rude. If other people filter their content this way, there's no point in trying to be mean to them, and no "race to the bottom" for who can be more nasty.
danny_codes
Domain names are a nice candidate for a Georgian tax
afshinmeh
https://github.com/mozilla/standards-positions/issues/1067
rock_artist
I think it's a step into a future of proper Model API. But it's just a small step. It reminds me of Apple's Foundation Models [1] While many AI integrations are focused on text communication / chat style. A lot of software benefits from non-text interfaces. I believe at some point OSes and browsers should provide an API to manage models so you'll have access to on-device/remote ones with a simplified interface for the app. Making something standardized that is cross-platform would be fantastic. It also needs to be on mobile devices, so the players that can easily make it happen are mostly Apple and Google. (Meta will follow or vice-versa I guess) Key-point: it shouldn't be exclusive to promoted models. (1) https://developer.apple.com/documentation/foundationmodels So the app would be able to query and get the right model(s).