#129129th of 242 in Agent frameworks and SDKs
node-llama-cpp
Node.js bindings for llama.cpp to run GGUF models locally from TypeScript
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts node-llama-cpp on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.node-llama-cpp is on your watch list. Its new releases and problems show there.
- Stars
- 2.2k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- TypeScript
2,013 on 28 Apr 20262,212 on 24 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
node-llama-cpp is an npm package that wraps llama.cpp so Node.js apps can load GGUF models and run chat sessions in-process. It supports Metal, CUDA and Vulkan, JSON-schema constrained output, function calling, embedding and reranking. It also ships a CLI, run with `npx -y node-llama-cpp chat`, for chatting with a model without writing code.
Who it is for: Node.js and TypeScript developers embedding local LLMs in their apps
Strengths
- Pre-built binaries for macOS, Linux and Windows; source fallback needs cmake, not node-gyp or Python
- Metal, CUDA and Vulkan backends, with hardware detected automatically
- Can force output to valid JSON or a given JSON schema
- Full TypeScript types, plus function calling, embedding and reranking APIs
Weaknesses
- Library for embedding in Node.js apps; the README describes no built-in HTTP server
- Models are loaded from local file paths; the README example uses a GGUF file
- Tied to llama.cpp, so limited to the models and formats it supports
What it needs
- GPU optional
- Needs Node.js, cmake (only when building from source)
- Models: GGUF
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in Agent frameworks and SDKs
See all 242| Rank | Project | Score |
|---|---|---|
| #127 | anyjevTyped decisions with real probabilities from any open LLM's logits | 63 out of 100 |
| #128 | unreal-agentGo library for async, crash-recoverable LLM agents, with a TUI and runner | 62 out of 100 |
| #130 | ollamasharp.NET client library for the Ollama API with streaming and tool support | 62 out of 100 |
| #131 | langchain-rustRust port of LangChain with chains, agents, vector stores and loaders | 62 out of 100 |
| #132 | leancopilotLean 4 package for LLM tactic suggestion, proof search and premise selection | 62 out of 100 |