# WebLLM runs LLMs directly in your browser with WebGPU acceleration

Original title: WebLLM: high-performance in-browser LLM inference engine

> Hacker News story 49536411 · language: en · submitted 2026-09-02
> Web version: https://zeli.app/story/49536411
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 142 · by [saikatsg](<https://news.ycombinator.com/user?id=saikatsg>) · 💬 24
[original](<https://github.com/mlc-ai/web-llm>) · [HN discussion](<https://news.ycombinator.com/item?id=49536411>)

## Summary

WebLLM is a high-performance inference engine that brings large language models to web browsers via WebGPU, eliminating server-side processing. It offers full OpenAI API compatibility for streaming, JSON-mode, and function calling, and supports models like Llama 3, Phi 3, Gemma, Mistral, and Qwen. Developers can integrate it via npm or CDN, and use workers or service workers to keep the UI responsive.

## Key quote

> Everything runs inside the browser with no server support and is accelerated with WebGPU.

## HN discussion (24 comments)

### [TekMol](<https://news.ycombinator.com/item?id=49537547>)

> This seems to be the demo:
>
> https://chat.webllm.ai/
>
> I am getting:
>
> WebGPUNotAvailableError: WebGPU is not supported in
>
> your current environment, but it is necessary to
>
> run the WebLLM engine.
>
> On both, FireFox and Chromium on Linux.

### [MarioMan](<https://news.ycombinator.com/item?id=49541147>)

> I really enjoy this engine. I’ve used it for personal projects, but it hasn’t been updated since Gemma 2. I suggest using Transformers.js instead these days.

### [init0](<https://news.ycombinator.com/item?id=49540469>)

> You might like webml-kit https://npm.im/webml-kit

---

## Cite

- Page: https://zeli.app/story/49536411
- Date: 2026-09-02
- Source: github.com (https://github.com/mlc-ai/web-llm)
- Hacker News: https://news.ycombinator.com/item?id=49536411

## Other languages

- zh: https://zeli.app/zh/story/49536411 · markdown: https://zeli.app/zh/story/49536411.md
- ja: https://zeli.app/ja/story/49536411 · markdown: https://zeli.app/ja/story/49536411.md
- ko: https://zeli.app/ko/story/49536411 · markdown: https://zeli.app/ko/story/49536411.md
- de: https://zeli.app/de/story/49536411 · markdown: https://zeli.app/de/story/49536411.md
- es: https://zeli.app/es/story/49536411 · markdown: https://zeli.app/es/story/49536411.md
- ru: https://zeli.app/ru/story/49536411 · markdown: https://zeli.app/ru/story/49536411.md
