Skip to content
OSSsoftware

node-llama-cpp

Run AI models locally on your machine with node.js bindings for llama.cpp. Enforce a JSON schema on the model output on the generation level.

Open sourceSelf-hostableThriving · 87/1002.2k GitHub stars

node-llama-cpp is an open-source project in the AI category written in TypeScript, released under the MIT license. It has 2,211 GitHub stars and its last commit was today.

GitHub activity

Stars
2,211
Forks
233
Open issues
32
Last commit
today
Latest release
v3.22.3 · 19 days ago
Created
2023

#ai#bindings#catai#llama#llama-cpp#llm#nodejs#prebuilt-binaries#grammar#gguf#cuda#metal

node-llama-cpp at a glance

Open source
Yes
License
MIT
Language
TypeScript
Pricing
Free
Self-hosted
Yes
Categories
AITypeScript

node-llama-cpp vs similar projects

node-llama-cpp compared with similar open-source projects
ProjectStarsLicenseLanguageLast commitHealth
node-llama-cppRun AI models locally on your machine with node.js bindings for llama.cpp. Enforce a JSON schema on the model 2.2k GitHub starsMITTypeScripttodayThriving
OpenCodeOpen-source AI coding agent that works with any model provider from the terminal.229k GitHub starsMITTypeScripttodayThriving
n8nSecure, AI-native workflow automation.212k GitHub starsOtherTypeScripttodayThriving
OllamaOpen-source platform for running large language models locally on macOS, Windows and Linux.188k GitHub starsMITGotodayThriving
Open WebUISelf-hosted AI interface for local and cloud language models with RAG and tool support.159k GitHub starsOtherSveltetodayThriving
ComfyUIOpen-source node-based interface and backend for advanced AI image generation workflows.148k GitHub starsGPL-3.0PythontodayThriving
ImmichOpen-source self-hosted photo and video management platform with AI-powered search and recognition.120k GitHub starsAGPL-3.0TypeScripttodayThriving

node-llama-cpp FAQ

What is node-llama-cpp?

Run AI models locally on your machine with node.js bindings for llama.cpp. Enforce a JSON schema on the model output on the generation level.

Is node-llama-cpp open source?

Yes. node-llama-cpp's source code is public on GitHub (withcatai/node-llama-cpp) under the MIT license.

Is node-llama-cpp still maintained?

node-llama-cpp's last commit was on 2026-11-23 (today), latest release v3.22.3 on 2026-11-05. Health score: 87/100.

Is node-llama-cpp free?

node-llama-cpp is free to use and can be self-hosted; some projects also sell an optional hosted plan.

What are the best alternatives to node-llama-cpp?

Similar projects include OpenCode (★ 229k), n8n (★ 212k), Ollama (★ 188k), Open WebUI (★ 159k), ComfyUI (★ 148k).

Share:XLinkedIn

Maintain node-llama-cpp? Add the badge to your README

Shows your project's health score and links back to this page.

node-llama-cpp on OSS Software
[![node-llama-cpp on OSS Software](https://osssoftware.org/badge/node-llama-cpp.svg)](https://osssoftware.org/tools/node-llama-cpp/)