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.
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
- Website
- node-llama-cpp.withcat.ai
- Source code
- withcatai/node-llama-cpp
- Open source
- Yes
- License
- MIT
- Language
- TypeScript
- Pricing
- Free
- Self-hosted
- Yes
- Categories
- AITypeScript
node-llama-cpp vs similar projects
| Project | Stars | License | Language | Last commit | Health |
|---|---|---|---|---|---|
| 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 stars | MIT | TypeScript | today | Thriving |
| OpenCodeOpen-source AI coding agent that works with any model provider from the terminal. | 229k GitHub stars | MIT | TypeScript | today | Thriving |
| n8nSecure, AI-native workflow automation. | 212k GitHub stars | Other | TypeScript | today | Thriving |
| OllamaOpen-source platform for running large language models locally on macOS, Windows and Linux. | 188k GitHub stars | MIT | Go | today | Thriving |
| Open WebUISelf-hosted AI interface for local and cloud language models with RAG and tool support. | 159k GitHub stars | Other | Svelte | today | Thriving |
| ComfyUIOpen-source node-based interface and backend for advanced AI image generation workflows. | 148k GitHub stars | GPL-3.0 | Python | today | Thriving |
| ImmichOpen-source self-hosted photo and video management platform with AI-powered search and recognition. | 120k GitHub stars | AGPL-3.0 | TypeScript | today | Thriving |
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).
Maintain node-llama-cpp? Add the badge to your README
Shows your project's health score and links back to this page.
[](https://osssoftware.org/tools/node-llama-cpp/)