web-llm and llm.js

These are competitors offering similar core functionality—both enable in-browser LLM inference—though mlc-ai/web-llm achieves significantly better performance through its optimized compilation approach while llm.js pursues a simpler, more accessible implementation strategy.

web-llm
86
Verified
llm.js
48
Emerging
Maintenance 20/25
Adoption 23/25
Maturity 25/25
Community 18/25
Maintenance 0/25
Adoption 12/25
Maturity 25/25
Community 11/25
Stars: 17,562
Forks: 1,221
Downloads: 188,037
Commits (30d): 9
Language: TypeScript
License: Apache-2.0
Stars: 228
Forks: 15
Downloads: 10
Commits (30d): 0
Language: JavaScript
License: Apache-2.0
No risk flags
Stale 6m No Dependents

About web-llm

mlc-ai/web-llm

High-performance In-browser LLM Inference Engine

WebLLM helps web developers integrate powerful AI language models directly into their web applications, running entirely within the user's browser. It takes model files and instructions, producing AI-generated text, chat responses, or structured JSON data. Web developers creating interactive, privacy-focused AI experiences for their users would benefit from this.

web-development in-browser-ai client-side-llm web-application-development interactive-ai

About llm.js

rahuldshetty/llm.js

Run Large-Language Models (LLMs) 🚀 directly in your browser!

Related comparisons

Scores updated daily from GitHub, PyPI, and npm data. How scores work