#114 · Primary category: Inference & Local Deploy
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
Project last updated:08/11/26
GitHub Stars
2.2K
Forks
215
Contributors
14
License
MIT
Why we included this project
This project is a Node.js binding for llama.cpp, letting you run GGUF models locally inside your own process rather than calling a hosted API. It ships pre-built binaries for common platforms and compiles from source when needed, so setup mostly means installing the package and loading a model. The part that stands out is output control: you can force the model to follow a JSON schema or a grammar at generation time, hand it functions to call, and use it for embeddings, which makes raw output usable as program input without fragile parsing. GPU acceleration works through Metal, CUDA, or Vulkan with automatic detection, so there is no backend config to fiddle with. If you are shipping local or on-premise LLM features in a JavaScript app, this is a solid integration point.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
ollama
Get up and running with Kimi-K2.6, GLM-5.2, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
llama.cpp
LLM inference in C/C++
vllm
A high-throughput and memory-efficient inference and serving engine for LLMs
gpt4all
GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.
LocalAI
LocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.