← all repositories

withcatai/node-llama-cpp

Node.js bindings enabling local LLM inference via llama.cpp with Metal, CUDA, and Vulkan GPU support.

2.1k stars TypeScript Inference · ServingLanguage Models
node-llama-cpp
Not currently ranked — collecting fresh signals.
star history

This library wraps llama.cpp to provide a complete Node.js interface for running large language models locally. It supports GPU acceleration across multiple backends, pre-built binaries for easy installation, and enforces structured output formats like JSON schemas during generation. The library includes embedding generation, function calling capabilities, and a CLI for chatting with models without writing code.

Frequently asked

What is withcatai/node-llama-cpp?
Node.js bindings enabling local LLM inference via llama.cpp with Metal, CUDA, and Vulkan GPU support.
Is node-llama-cpp open source?
Yes — withcatai/node-llama-cpp is open source, released under the MIT license.
What language is node-llama-cpp written in?
withcatai/node-llama-cpp is primarily written in TypeScript.
How popular is node-llama-cpp?
withcatai/node-llama-cpp has 2.1k stars on GitHub.
Where can I find node-llama-cpp?
withcatai/node-llama-cpp is on GitHub at https://github.com/withcatai/node-llama-cpp.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.