qmetrics.net

wllama

Browser WebAssembly binding for llama.cpp inference

wllama runs llama.cpp inside the browser via WebAssembly, loading GGUF models with optional WebGPU offload and an OpenAI-style API for chat and tooling.

Overview

wllama is a WebAssembly binding for llama.cpp that enables large language model inference directly in the browser without a server round trip for the model weights. It targets web apps that need local or client-side LLM chat, embeddings, or multimodal input while keeping inference inside a worker so the page UI stays responsive.

The library exposes an OpenAI-compatible typed API, supports tool calling, and can load GGUF files larger than four gigabytes by splitting across memory limits and worker instances. WebGPU acceleration offloads layers when VRAM allows, with remaining layers on CPU. Features described include speculative decoding, LoRA adapters, multimodal image audio and video input, speech transcription and text-to-speech flows, and caching of models in OPFS for faster reloads.

Consumers import the npm package, optionally build WASM binaries locally with Docker, and load models from URLs or Hugging Face. Multi-thread and single-thread builds switch based on browser capabilities. Realtime audio sessions follow event shapes similar to OpenAI’s realtime API for supported omni models.

A demo space on Hugging Face illustrates conversational use: users type prompts in the browser and receive model replies through the embedded stack.

Key features

  • llama.cpp via WebAssembly
  • OpenAI-compatible client API
  • WebGPU plus CPU layer split
  • Large GGUF and split file support
  • OPFS model caching
  • Worker-based non-blocking inference
  • Multimodal and speech capabilities
  • Speculative decoding and LoRA

Use cases

  • In-browser chat with local models
  • Privacy-sensitive client-side LLM UIs
  • Web demos without inference servers
  • Embeddings in frontend applications
  • Realtime transcription in the browser

Tags

Similar software

Ollama

Run open AI models locally or in the cloud

Ollama runs open language models such as Gemma, Qwen, DeepSeek and gpt-oss on macOS, Windows and Linux, locally or in the cloud. It offers a CLI, a REST API, and Python and JavaScript libraries.

★ 188.3k⟳ 2 days agoMIT
Open Source Alternative to:OpenAI API

llama.cpp

LLM inference engine in C/C++ for local and cloud hardware

llama.cpp runs large language models and multimodal models locally or in the cloud with minimal setup. It includes a CLI, an OpenAI-compatible server with a built-in chat app, and a C library API.

★ 136.5k⟳ todayMIT
Open Source Alternative to:OpenAI API

Whisper

General-purpose speech recognition and translation model

Whisper is a speech recognition model trained on diverse audio. It supports multilingual transcription, speech-to-English translation, and language identification via Python or the command line.

★ 113.6k⟳ 2 months agoMIT

GPT4All

Desktop app for running LLMs privately on local hardware

GPT4All is a desktop chat application that runs large language models locally on everyday computers, with no API calls or GPU required. It also offers a Python client and an OpenAI-compatible API server.

★ 77.3k⟳ 1 year agoMIT
Machine Learning InfrastructureNo commits in 18+ monthsDesktop/CLI app
Open Source Alternative to:LM StudioMicrosoft Copilot

Real-Time Voice Cloning

Real-time multispeaker text-to-speech voice cloning toolbox

Real-Time Voice Cloning implements a three-stage deep learning pipeline that builds a voice embedding from seconds of audio and synthesizes speech from arbitrary text in real time.

★ 60.3k⟳ 8 months agoMIT

LocalAI

Self-hosted OpenAI-compatible server for running open AI models locally

LocalAI runs open models for chat, images, speech, video and music on your own hardware, with OpenAI- and Anthropic-compatible APIs. It works on CPU or GPU and adds team chats, files, agents and add-ons.

★ 50.6k⟳ todayMIT
Open Source Alternative to:Anthropic APIChatGPT+2