#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.

Stars
2.2k
License
MIT
Last commit
Nov 2026
Last release
Nov 2026
Language
TypeScript
Stars, last 30 weeks+199
28 Apr 2026: 2,013 stars5 May 2026: 2,024 stars12 May 2026: 2,039 stars19 May 2026: 2,047 stars26 May 2026: 2,056 stars2 Jun 2026: 2,065 stars9 Jun 2026: 2,077 stars16 Jun 2026: 2,085 stars23 Jun 2026: 2,094 stars30 Jun 2026: 2,106 stars7 Jul 2026: 2,115 stars14 Jul 2026: 2,122 stars21 Jul 2026: 2,125 stars28 Jul 2026: 2,131 stars4 Aug 2026: 2,135 stars11 Aug 2026: 2,140 stars18 Aug 2026: 2,145 stars25 Aug 2026: 2,152 stars1 Sept 2026: 2,161 stars8 Sept 2026: 2,165 stars15 Sept 2026: 2,171 stars22 Sept 2026: 2,179 stars29 Sept 2026: 2,180 stars6 Oct 2026: 2,181 stars13 Oct 2026: 2,185 stars20 Oct 2026: 2,190 stars27 Oct 2026: 2,194 stars3 Nov 2026: 2,197 stars10 Nov 2026: 2,202 stars17 Nov 2026: 2,206 stars24 Nov 2026: 2,212 stars

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
Also in Agent frameworks and SDKs
RankProjectScore
#127anyjevTyped decisions with real probabilities from any open LLM's logits1.7k starsApache-2.063 out of 100
#128unreal-agentGo library for async, crash-recoverable LLM agents, with a TUI and runner2.2k starsMIT62 out of 100
#130ollamasharp.NET client library for the Ollama API with streaming and tool support1.4k starsMIT62 out of 100
#131langchain-rustRust port of LangChain with chains, agents, vector stores and loaders1.4k starsMIT62 out of 100
#132leancopilotLean 4 package for LLM tactic suggestion, proof search and premise selection1.4k starsMIT62 out of 100