WebLLM
Some data may be outdated — see provenance labels.
High-performance In-browser LLM Inference Engine observed · 2026-09-22
Health v2 · maintenance only
90/100
- Activity 95
- Release rhythm 82
- Longevity 91
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 42
- age_days: 1286
- days_rel: 43
- days_push: 35
- n_releases_24m: 4
Adoption not part of the score
19160 stars · 1384 forks observed · 2026-09-22
What it is AI-extracted, prompt v1, taxonomy v1, 2026-10-19, confidence 0.97
WebLLM is a high‑performance in‑browser LLM inference engine written in TypeScript. It runs large language models directly in the browser using WebGPU acceleration and offers OpenAI‑compatible APIs.
Use cases
- Run a language model locally in a web browser without any server.
- Build an AI chat interface that works offline and preserves user privacy.
- Integrate OpenAI‑compatible LLM calls into a web app using only client‑side resources.
- Create interactive demos or tutorials that showcase LLM capabilities directly in the browser.
When to choose
- You need client‑side inference to avoid backend costs or latency.
- Privacy is a priority and you want the model to run entirely on the user's device.
- Your target audience uses modern browsers with WebGPU support.
- You want a simple npm package to embed LLM functionality into a web application.
When to avoid
- Your models are too large to fit in browser memory or exceed WebGPU limits.
- You require high‑throughput, multi‑user serving that benefits from server‑side scaling.
- You need advanced GPU features not yet exposed through WebGPU.
- Your deployment environment does not support modern browsers (e.g., legacy IE).
Facets
library · maturity active
machine-learning deep-learning llm-inference large-language-models artificial-intelligence privacy browser wasm webgpu openai-api-compatibility client-side-llm typescript in-browser-inference nodejs
3 sources
- readme: https://github.com/mlc-ai/web-llm · fetched 2026-09-22 · f0cc4fc99799
- homepage: https://webllm.mlc.ai · fetched 2026-10-05 · 5f2308874c28
- site_page: https://webllm.mlc.ai/docs · fetched 2026-10-05 · f8b33ecd2452
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mlc-ai/web-llm | main | 90 |
| mlc-ai/web-llm-chat | frontend | 52 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem