withcatai/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
- Stars
- 2.2k
- Forks
- 224
- Open issues
- 32
- Last push
- 2d ago
About node-llama-cpp
node-llama-cpp is a free, open-source AI inference tool by withcatai, written mainly in TypeScript. 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. It has 2.2k GitHub stars and 224 forks, and was last updated 2d ago. It's released under the MIT license, a standard open-source license. According to the project, it works on macOS.
- License
- MIT
- Language
- TypeScript
- Stars
- 2,192
- Last update
- 2d ago
- Runs on Mac
- Yes (as stated by the project)
- GPU
- Not stated
- Paid API key
- Not required
- Self-hostable
- Yes
Similar free tools
llama.cpp132k stars · LLM inference in C/C++
llama-cookbook19k stars · Welcome to the Llama Cookbook! This is your go to guide for Building with Llama: Getting started with Inference, Fine-Tuning, RAG. We also show you how to solve end to end problems using Llama model f
ai-infra-book6.9k stars · 《深入理解 AI Infra:量化分析与系统设计》(李博杰 著)开源书稿:从硬件约束和模型架构出发,量化推导 LLM 推理与训练系统设计。含全书正文、PDF、配套计算工具与实验
TensorRT-LLM15k stars · TensorRT LLM provides users with an easy-to-use Python API to define Large Language Models (LLMs) and supports state-of-the-art optimizations to perform inference efficiently on NVIDIA GPUs. TensorRT
OpenLLM13k stars · Run any open-source LLMs, such as DeepSeek and Llama, as OpenAI compatible API endpoint in the cloud.
vllm95k stars · A high-throughput and memory-efficient inference and serving engine for LLMs
node-llama-cpp FAQ
Is node-llama-cpp free?
Yes. node-llama-cpp is open source and free to use. It's released under the MIT license, a standard open-source license.
Does node-llama-cpp run on a Mac?
Yes. According to the project, node-llama-cpp works on macOS.
Does node-llama-cpp need a GPU?
The project doesn't state hardware needs. AI models generally run much faster with a GPU.
Is node-llama-cpp still maintained?
Yes. It was last updated 2d ago and has 32 open issues on GitHub.
What are alternatives to node-llama-cpp?
Similar free, open-source tools include llama.cpp, llama-cookbook, ai-infra-book, TensorRT-LLM.