# 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

- Canonical URL: https://meetnewai.com/products/p~cHJvZHVjdF9hOGY3MTM1MzdhMjk4NzhhZTM0ZDBjYjI
- Official website: https://node-llama-cpp.withcat.ai
- Category: [Model Training & Inference Infrastructure](https://meetnewai.com/categories/model-infra)
- Pricing model: Free
- Screenshot captured: 2026-11-21
- Record updated: 2026-11-20

## Overview

node.js bindings for llama.cpp, and much more

## Use cases

- Chat with many popular models
- Embed documents
- Enforce a JSON schema
- Prompt with function calling
- Generate Structured Decisions
- Classify a Complete Chat

## Sources

- [Run AI models locally on your machine](https://node-llama-cpp.withcat.ai/) (home)
- [CLI](https://node-llama-cpp.withcat.ai/cli/) (download)

## Related alternatives

- [Ollama](https://meetnewai.com/products/ollama) — Set up a small R&D project which pit different LLMs against each other in a game of Capture the Flag. Each LLM has 30 seconds to prepare any defenses and 5 minutes to capture other flags while defending their own. All of the models run on top of Ollama ( https://ollama.com ) and can be run locally or in the cloud.
- [Groq®](https://meetnewai.com/products/groq) — One fully integrated platform for infrastructure, inference, and control.
- [BytePlus](https://meetnewai.com/products/p~Zjc2ODgyMjUtZWJjYy00YTE5LTk1ODgtNDRkZGMzMDJiZGFk) — Build better products, deliver richer experiences, and accelerate growth through our wide range of intelligent solutions.
- [Agent Router](https://meetnewai.com/products/p~cHJvZHVjdF9iNTkyNjk0ODliM2U4NzRjY2Y5M2I1Y2I) — 兼容主流大模型，一个接口全部接入
- [Together AI](https://meetnewai.com/products/together-ai) — Full-stack AI platform, powered by cutting-edge research.
- [Roboflow](https://meetnewai.com/products/p~cHJvZHVjdF9mZDU0NDM3OTY0YzA0ZmQxYWQzZDkzNzk) — 🖼️ Give your software the sense of sight.
