Elestia Open Source Ratings
6.8

WebLLM

Reasonable, with limits. 4th of 7 machine learning in JavaScript.

WebLLM is an in-browser LLM inference engine built on WebGPU with an OpenAI-compatible API. For chat-style LLMs in the browser it is among the fastest options, but it runs only where WebGPU works, it has fewer models than Transformers.js, and its releases paused for several months before they picked up again in late 2026.

Best for: Teams building chat or agent features that must run a local LLM in the browser on WebGPU-capable desktops.

WebsiteGitHubnpm

Scores

Overall6.8

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

It is a good specialist for browser LLM chat on WebGPU, with a familiar API and strong decode speed. Transformers.js grows faster, runs on more devices thanks to its WebAssembly fallback and has far more models, so it is the safer default for most people. The 2026 gap in maintenance adds risk. Pick WebLLM when LLM throughput on desktop WebGPU matters most.

GPT-6.2 Sol: 7.6, likely 6.5 to 8.6

WebLLM is a strong pick for browser-first language-model features because it combines a familiar API, worker support, and active model maintenance. Transformers.js is the stronger general choice across browser and Node.js tasks, while node-llama-cpp is a better fit for native Node.js LLM inference. The recommendation depends most on whether the target devices can load the chosen model and run it reliably.

Needed by many3.4

How many developers need a tool for this job?

Claude Opus 5.5: 3.5, likely 2.5 to 5.0

It does one job: LLM chat in the browser. That is narrower than its category, which also covers vision, embeddings, OCR and Node. Interest in on-device AI is growing, but few web apps actually ship a local LLM.

GPT-6.2 Sol: 3.3, likely 2.1 to 4.5

About 2% of respondents to the 2025 State of JavaScript use-case question selected machine learning. WebLLM serves a narrower need within that group: running language models locally in WebGPU browsers. The survey measures JavaScript use cases broadly, so it gives only a rough indication of demand for browser inference.

Helps a lot7.3

How well does it do the job for those who need it?

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

Decode speed is strong, and the OpenAI-compatible API, structured output, web worker and service worker support and types are well done. Users lose a lot to the WebGPU-only design, the limited model catalog, large downloads and memory problems that a 2026 paper describes. Transformers.js covers more devices and models.

GPT-6.2 Sol: 8.1, likely 7.0 to 9.1

The typed OpenAI-style API and documented worker examples make streaming chat and structured output straightforward to integrate. Version 0.2.89 adds model choices and fixes a long-prompt error. Independent tests of 0.2.86 found competitive decoding on some discrete GPUs and frequent failures on the tested integrated GPU. Performance and reliability on the latest release still depend on the model, browser, and device.

Holds up over time6.3

Will it still be a good choice in two years?

Claude Opus 5.5: 5.5, likely 4.0 to 7.0

There were 8 releases and 70 commits in the last year, and four releases between September and November 2026 add new models and runtime upgrades. Releases still stopped from April to September 2026, users publicly called the project abandoned, and its funding has been unclear since NVIDIA bought OctoAI. The work rests on a small team at MLC/TVM.

  • github.com/mlc-ai/web-llm/releases: Releases v0.2.85 to v0.2.89 came out from September to November, after a gap from April to September.
  • github commitsLastYear: 70 commits, against 172 for Transformers.js.
  • hn.svelte.dev/item/49536411: Commenters said in September 2026 that it looked abandoned.
  • github contributors: 63 contributors.

GPT-6.2 Sol: 7.1, likely 5.9 to 8.3

Seventy commits and eight GitHub releases in a year show active maintenance, including recent model updates and runtime fixes. One account published every listed GitHub release from the past year, and a reported Android regression remains open after a maintainer response. Ongoing funding and the number of people able to publish npm releases are unclear.

  • github commitsLastYear, releasesLastYear, latestRelease: 70 commits, eight releases, and a November 2026 release.
  • github.com/mlc-ai/web-llm/releases: One account published the recent GitHub releases, which include model and runtime fixes.
  • github.com/mlc-ai/web-llm/issues/836: A maintainer investigated the reported Android regression. The issue remains open.
  • peers Transformers.js commitsLastYear: Transformers.js logged 172 commits over the same period.
Used widely4.4

How many use it, and is that growing?

Claude Opus 5.5: 4.5, likely 3.5 to 5.5

Downloads rose 7.5x in a year, to 794k per 4 weeks. That beats the 4.1 median but trails the 29x and 35x of Transformers.js and node-llama-cpp. ecosyste.ms finds only 10 dependent repositories, which suggests a few apps or tools behind many installs. The 19k stars show strong interest, but actual projects probably number in the low tens of thousands at most.

  • npm downloadsLast4Weeks: 794,414, up from 105,435 a year before.
  • dependents: 10 repos and 2 packages.
  • github stars: 19,393 stars.
  • peers: Transformers.js has 19.4M downloads per 4 weeks, up 29x.

GPT-6.2 Sol: 4.2, likely 2.7 to 5.8

Four-week npm downloads grew 7.5× year over year, ahead of the 4.1× catalog baseline. Transformers.js and node-llama-cpp grew faster, at about 29× and 35×. WebLLM has 19,393 stars and Bluesky attention close to Transformers.js. The dependent index found 10 repositories and two packages, while CDN imports bypass npm, so the number of projects choosing it remains hard to estimate.

  • npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: 794,414 versus 105,435 downloads, or 7.5× against a 4.1× baseline.
  • peers Transformers.js and node-llama-cpp, github stars, bluesky posts: Both peers grew faster. WebLLM drew 15 Bluesky posts versus 14 for Transformers.js.
  • dependents repos, packages: The partial index found 10 repositories and two npm packages.
  • webllm.mlc.ai/docs/user/get_started.html: Documents direct CDN imports.
Vouched for6.0

Who stands behind it being good?

Claude Opus 5.5: 5.5, likely 4.0 to 7.0

Google's web.dev recommends it for client-side LLMs, Intel's developer guide covers it, and it has a peer-reviewed paper and independent benchmarks. There is little sign of well-known companies running it in production, and the HN Show posts are mostly demos.

GPT-6.2 Sol: 6.4, likely 5.1 to 7.7

Mobilab ships WebLLM for on-device document synthesis, and LocalMode offers it as a supported backend. Kuzu demonstrated browser-based graph retrieval with it, and an independent comparison found competitive decoding on some hardware. Large production deployments and project-specific satisfaction data remain scarce.

Safe7.1

How safe is it to depend on?

Claude Opus 5.5: 7.0, likely 5.5 to 8.0

It has no known advisories, only 6 dependencies and an Apache-2.0 licence. A recent release added integrity checks for model artifacts. There is no OpenSSF Scorecard, and the library downloads large model binaries and WebGPU kernels from remote hosts at runtime, which adds supply-chain surface.

  • advisories total: 0 advisories.
  • npm dependencies: 6 dependencies.
  • scorecard: No Scorecard data.
  • github.com/mlc-ai/web-llm/releases: v0.2.83 added integrity verification for model artifacts.

GPT-6.2 Sol: 7.1, likely 5.7 to 8.5

WebLLM uses Apache-2.0, lists six direct npm dependencies, and has zero advisories in the supplied OSV data. It can verify hashes for selected downloaded artifacts, including model WebAssembly, and publishes checksums for some model libraries. The runtime dependency is a development build, and a recent GitHub release commit has a verified signature. The missing OpenSSF Scorecard and unverified npm publishing controls widen the range.

Good

  • Its OpenAI-style chat completions API supports streaming, JSON mode and grammar-constrained output, so code written for a server LLM moves over with few changes.
  • Write-ups by people outside the project find it faster than Transformers.js for decoding large language models on WebGPU.
  • Recent releases add current models such as Gemma 4, SmolLM3 and LFM2.5, plus vision and audio input.
  • It is small to depend on: 6 dependencies, an Apache-2.0 licence and no known advisories.

Bad

  • It needs WebGPU and has no WebAssembly fallback, so it fails on many Linux, Firefox and older mobile setups.
  • It only runs models compiled with MLC: about 400, against tens of thousands for Transformers.js.
  • Users download 0.5-1 GB of weights on first load, and memory use in the browser is high.
  • Releases went quiet for about five months in 2026, and Hacker News users called it abandoned before activity came back.

The numbers

npm downloads, 4 weeks
794k ×7.5 in a year
GitHub stars
19k
Commits, 12 months
70
npm version
0.2.89 Nov 2026
Versions, 12 months
10
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
None
Licence
Apache-2.0

Read on 21 November 2026 from GitHub (mlc-ai/web-llm), npm (@mlc-ai/web-llm), OSV and the OpenSSF Scorecard.

Machine learning in JavaScript

  1. 8.4Transformers.js
  2. 7.8MediaPipe Tasks
  3. 7.1node-llama-cpp
  4. 6.8WebLLM
  5. 6.6Tesseract.js
  6. 4.5TensorFlow.js
  7. 2.7brain.js
Compare all 7 on six scores