Run AI on your own PC.

nllm is a local LLM runner. It works like Ollama, and apps written for Ollama connect to it as they are. Pick the edition that computes with llama.cpp, the one with our own engine, or the NPU edition.

The editions of nllm

Same commands, same model folder, same API. Only the part that does the computing differs.

nllm (llama.cpp edition)

nllm … / screen: nllm gui (nllm G1). It computes with llama.cpp, so models with newer architectures such as Qwen3.5 run too. llama.cpp is fetched from its official releases on first use.

nllm nog (original edition)

nllm nog … / screen: nllm nog gui (nllm G1 nog). The inference engine is our own and needs only Node.js. Distributed inference, thinking limits and other original features live here.

nfn (NPU edition)

nfn … / screen: nfn gui (nfn G1). Runs through OpenVINO and targets NPUs. Choose npu, gpu, cpu or auto with --device. Pull models with nfn pull.

NLLM All+

nllm all … / screen: nllm all gui (NLLM ALL G+). One server uses all three. qwen3:0.6b goes to llama.cpp, qwen3:0.6b@nog to the original engine, @npu to the NPU side.

What nllm does

Used like Ollama

nllm run, list, show, pull, create, ps, stop. Modelfiles and models you already pulled with Ollama work as they are.

Ollama-compatible API

/api/chat, /api/generate, /api/embed, /api/tags, plus OpenAI-style /v1/chat/completions and /v1/embeddings. Same port, 11434.

Get models from anywhere

The Ollama registry, Hugging Face (hf.co/…), a URL, or a .gguf on your disk. nllm search looks through tens of thousands of Hugging Face GGUFs, and nllm run pulls a missing model for you.

Thinking, tool calls, embeddings

Shows the thinking of models like Qwen3 apart from the answer. Handles tool-calling chats, embeddings and streaming.

Agent and GUI

An agent that reads and writes files and runs commands (nllm agent), and a browser screen (nllm gui). Writes and commands ask for your permission every time.

Runs chat templates as written

Executes the Jinja chat_template inside the model, so you never rewrite per-model formats.

nllm’s extra features (20)

Things the usual Ollama workflow leaves to you, built in from the start. In the output guards, everything except <code>--expect</code> belongs to nllm nog.

Check & tidy

  • nllm doctorDiagnose whether nllm runs on this PC (Node, memory, disk, port, SIMD)
  • nllm fit <model>Before downloading: will it run, how much memory, rough speed. Reads only the header from Hugging Face
  • nllm du / gcSee disk usage and clean up unused files (look-only by default)
  • nllm verifyRe-check model contents against sha256 to find corruption
  • nllm tokensToken count of a text and how much of the context it fills

Get & carry

  • nllm pullRegistry, Hugging Face, URL, or a local file. Resume, verify, disk check
  • nllm export / importWrite models to a USB-portable bundle and bring them back (sha256-verified)
  • nllm aliasA short name with fallbacks (fast = a small model, else the next one)

Chat & documents

  • --session / /save /loadName and keep a conversation, continue later, export to Markdown
  • -a fileAttach files, folders or wildcards to a question
  • nllm ask --docsAnswer from your own documents with sources (search that handles Japanese too)
  • nllm compareAsk two models the same question and line up answers and speed
  • nllm batchProcess a jobs.jsonl in bulk, resuming where it stopped

Output guards

  • --think-budgetCap how long the model thinks, then make it answer (nog)
  • loop guardAutomatically stops runaway repetition (nog)
  • --expectJSON, JSON schema, regex, choices or line count: retry until the format holds
  • --overflowWhen the prompt is too long: drop the oldest, drop the middle, or refuse (nog)

Running a server

  • --require-key / nllm keysRequire API keys and rate-limit each key per minute
  • nllm statsUsage summary by model, key and day (contents are never recorded)
  • nllm autostartStart automatically at logon (Windows)

Get started

Works with Node.js 20 or newer. Pull a model, then talk to it. The first time nllm runs, it fetches llama.cpp (about 26 MB, free, from its official releases).

Pull a model

nllm pull qwen3:0.6b
nllm pull hf.co/Qwen/Qwen3-0.6B-GGUF:Q8_0
nllm pull C:/models/my-model.gguf

Talk to it

nllm run qwen3:0.6b
nllm run qwen3:0.6b "Capital of France?"
nllm run qwen3:0.6b -a notes.txt "Give me three key points"

Connect your app

nllm serve
curl http://127.0.0.1:11434/api/chat -d '{"model":"qwen3:0.6b","messages":[{"role":"user","content":"Hello"}]}'

Ask your documents

nllm ask qwen3:0.6b --docs ./docs "Within how many days can I return an item?"

Add-ons and the agent

With nllm installed, one command adds more.

Nllm Space Agent

nllm dl "nllm space agent". An agent that connects to nllm to read and write files, search and run commands (CLI and GUI). It stays inside your working folder, and writes and commands ask for your permission every time.

NLLM DevStore

Extension packages for nllm, installed with nllm nds <package>. Search names and what they do at nllm-store.ikeikejun75.workers.dev. nds search, info, list, update, remove. Every file is checked against its sha256, and nothing runs at install time. You see the author and the permissions asked for, and confirm before installing.

Supported models

GGUF models.

nllm (llama.cpp edition)

Anything llama.cpp can read: Llama, Qwen (including Qwen3.5), Gemma and more

nllm nog (original edition)

Llama family (Llama 2/3, Mistral, SmolLM), Qwen2, Qwen2.5, Qwen3, Gemma 3

Quantizations

F16, Q8_0, Q6_K, Q5 and Q4 (including K-quants)

nllm library lists models likely to work; nllm fit tells you whether one fits your PC. With nllm nog, a single machine runs models up to about 3–4B.

For a sense of nllm nog speed: on a Core i5-12400 (CPU only), about 90 tokens/s for Gemma 3 270M and about 50 tokens/s for Qwen3 0.6B (Q8_0). nllm runs at llama.cpp speed.