mlc-ai

    mlc-ai/web-llm

    High-performance In-browser LLM Inference Engine

    ai
    deep-learning
    llm
    graphics
    chatgpt
    language-model
    tvm
    webgpu
    webml
    TypeScript
    Apache-2.0
    19.3K stars
    1.4K forks
    19.3K GitHub watchers
    Updated Oct 28, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    2 releases in the last 90 days, the latest 16 days ago, with 55 contributors on GitHub.

    Gained 34% more stars in the last 90 days than in the 90 days before.

    Use Cases & Benefits

    • Provides a high-performance in-browser large language model inference engine accelerated by WebGPU without server dependency.
    • Enables full OpenAI API compatibility for local, privacy-preserving LLM usage with streaming, JSON-mode, and function-calling support.
    • Use for building privacy-focused AI chatbots that run entirely in the browser with GPU acceleration and no backend.
    • Use for integrating custom or open-source LLMs into web applications with modular, plug-and-play TypeScript interfaces.
    • Use for developing browser extensions or offline-capable web apps leveraging service workers for persistent LLM inference.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    High-Performance In-Browser LLM Inference Engine.

    WebLLM is a high-performance in-browser LLM inference engine that brings language model inference directly onto web browsers with hardware acceleration. Everything runs inside the browser with no server support and is accelerated with WebGPU.

    WebLLM is fully compatible with OpenAI API. That is, you can use the same OpenAI API on any open source models locally, with functionalities including streaming, JSON-mode, function-calling (WIP), etc.

    We can bring a lot of fun opportunities to build AI assistants for everyone and enable privacy while enjoying GPU acceleration.

    You can use WebLLM as a base npm package and build your own web application on top of it by following the examples below. This project is a companion project of MLC LLM, which enables universal deployment of LLM across hardware environments.

    Excerpt from the mlc-ai/web-llm README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Sep 3: +173Sep 4: +33Sep 5: +15Sep 6: +11Sep 7: +8Sep 8: +15Sep 9: +12Sep 10: +6Sep 11: +43Sep 12: +13Sep 13: +5

    +799 stars over 81 days across 17 snapshot days; best day +173 on Sep 3.

    Forks

    1.4K+60

    Open issues

    153+1

    Compared with peers in AI

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    mlc-ai/web-llm compared with AI repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    thedotmack/claude-mem113.6K+8.8K35today
    D4Vinci/Scrapling98.1K+6.9K651 day ago
    Leonxlnx/taste-skill110.7K+5.2K551 day ago
    calesthio/OpenMontage77.2K+4.2K40—
    heygen-com/hyperframes79.6K+4.1K45today
    mlc-ai/web-llm19.3K—5916 days ago
    Category median98.1K+5.2K45—

    Discover Repositories

    Search across tracked repositories by name or description