-
Notifications
You must be signed in to change notification settings - Fork 132
run an llm locally without a gpu
You can run an LLM locally without a GPU when three things line up: the model is small, it
is quantized to a few bits per weight, and the task needs little or no generated text. jevos
is all three: a 1B model with 8-bit (INT8) weights, run on the CPU by jev, one native binary,
answering yes/no questions with one probability and no generated tokens. On a laptop with an
Intel Core Ultra 7 255H it answers a short request in 26 ms and a 191-token one in 112 ms. A few
commands take you from the release downloads to the first answer.
The third condition is the one most guides leave out. A CPU can run a small chat model, but every word of the reply is another step through the model, so long answers are where CPU inference feels slow. A task that needs only a probability skips that part entirely.
This page is why those three conditions matter, a short explanation of quantization, the quickstart step by step, and what this approach cannot do.
Small. A model's cost per token grows with its size. A 1B model does a fraction of the arithmetic of the large models behind chat products, and its weights fit in the memory of an ordinary laptop.
Quantized. The weights are stored in 8 bits or fewer instead of 16, which shrinks the file and the amount of memory the CPU has to read for every token. On a CPU, reading memory is often the bottleneck, so a smaller file is also a faster one. More on this on what makes a local LLM fast on a CPU.
No generation. An LLM processes your prompt in one pass, then produces an answer one token at a time. The first part runs many tokens in parallel; the second repeats a full step for every word. A model that returns a probability needs only the first part. The distinction is explained on prefill vs decode: where LLM latency comes from.
llama.cpp supports integer quantization at 1.5, 2, 3, 4, 5, 6 and 8 bits, and ships prebuilt
binaries for many platforms, which is why it is a common way to run models on a CPU. jev itself
runs jevos-v2 with 8-bit (INT8) weights through OpenVINO, Intel's open-source inference runtime.
The release also ships the same model as GGUF files for llama.cpp and similar tools:
jevos-v2-q4_k_m.gguf (619 MB), a 4-bit build, and jevos-v2-q8_0.gguf (943 MB), an 8-bit one.
On 215 parity cases, jev's answers are within 0.056 of the q8_0 GGUF's.
What the letters in those names mean is on
GGUF quantization types explained.
1. Get jev and the model. Download jev-linux-x64.tar.gz (or jev-windows-x64.zip, or
jev-macos-arm64.tar.gz) and jevos-v2-openvino-int8.zip from the
release page.
2. Unpack them.
tar -xzf jev-linux-x64.tar.gz
cd jev
unzip ../jevos-v2-openvino-int8.zip # creates model/The jev folder holds the binary, OpenVINO's libraries and the licenses; the model goes in
jev/model. There is nothing to install and nothing to compile: no Python, no GPU. On Windows,
run unzip jev-windows-x64.zip instead, and .\jev.exe serve in PowerShell for the next step.
3. Start the server on the CPU.
./jev servejev runs on the CPU only (x86-64 with AVX2, or Apple silicon). --threads defaults to all
logical CPUs; set it lower if other heavy programs are running. The server listens on
127.0.0.1:8017.
4. Ask a question.
curl http://127.0.0.1:8017/v1/systemone -H 'Content-Type: application/json' -d '{
"model": "jev-latest",
"state": "I was charged twice for the same order.",
"questions": {"billing": {"type": "noul", "instructions": "Is this a billing problem?"}}}'The README's answer to this request is "noul": 0.94 with "input_tokens": 27 and
"output_tokens": 0: a probability of yes, and nothing generated. The request format, several
questions per call and the Python version are on
ask a local LLM a yes/no question and get P(yes).
Our figures come from one laptop: an Intel Core Ultra 7 255H, 16 threads, no GPU. There, a short request takes 26 ms and a 191-token one 112 ms when the text is read from scratch, and several questions on the same text cost less than separate requests, because the text is read once: three questions took about 66 ms, against 49 ms for one.
On a different CPU the numbers will be different, and we have not measured others. Warm the
server up with a few requests before timing, use inputs of realistic length, and read the
Server-Timing header on each response for the model's own share.
Being straight about the limit: this is not a way to run a chatbot on a CPU.
- No text generation. jevos answers yes/no, multiple-choice and (early) score questions, as probabilities. It does not write, summarise or chat. For that you need a generative model, and on a CPU its speed will depend on how long the answers are; llama.cpp itself runs such models.
-
Scores are early.
scorequestions are answered as one yes/no question per level, right 54% of the time on 2,350 held-out score questions and within one level 82%, weak on points to add up. Multiple choice is answered, aschoicequestions. - English only.
- Reading, not computing. On 999 questions written after training, it was right 0.954 of the time on facts stated in the text and 0.584 on questions that need arithmetic. Compute in code and ask the model to read.
When a GPU starts to pay off, for large batches, long documents or bigger models, is covered on CPU or GPU for a small LLM.
Can I run an LLM without a GPU? Yes, if the model is small and quantized. jev runs jevos on the CPU only, with 8-bit weights; there is no GPU path.
How much RAM does a local LLM need? It depends on the model and its quantization: roughly one byte per weight at 8 bits, half that at 4 bits, plus memory for the context. jevos is a 1B model, and jev runs it with 8-bit weights.
Do I need to compile llama.cpp? Not for jev. jev is a prebuilt binary and does not use
llama.cpp's runtime, only its tokenizer, compiled in. To run the GGUF files with llama.cpp
directly, its official prebuilt binaries cover many platforms.
Why is my local chat model slow on a CPU? Usually the generated answer: every output token is another full step through the model. A task that needs a probability instead of a paragraph avoids it.
Which quantization should I pick? jev itself runs 8-bit (INT8) weights, so there is nothing
to pick. For the GGUF files in llama.cpp or another tool, q4_k_m is the smaller file (619 MB
against 943 MB for q8_0).
See also: running llama.cpp CPU only, small language models explained and an LLM on a laptop.
- Commands, options, the example request and answer, and file sizes: the jev README.
- Latency and the 215 parity cases: our measurements on an Intel Core Ultra 7 255H laptop. Accuracy
by kind of question: our 999-question set,
jevos-q4_k_m. - llama.cpp's quantization support and prebuilt binaries: the llama.cpp README, fetched 2026-09-29.
From the notes of jev, a model that runs on a laptop CPU because its job is one number, not a paragraph.
- Ask a local LLM a yes/no question and get P(yes)
- Zero-shot text classification with yes/no questions
- LLM policy decisions: put the rule in the question
- LLM as a judge on a CPU
- Why a small LLM says yes when the answer is no
- Small LLMs and arithmetic in yes/no questions
- Our held-out benchmark said 0.855, new questions said 0.757
- jevos vs Jev vs Laya for yes/no decisions
- An open-source alternative to Jev for yes/no decisions
- jevos vs the OpenAI API for yes/no classification
- jevos vs Ollama for yes/no decisions
- jevos vs bart-large-mnli for zero-shot classification
- A yes/no LLM vs a fine-tuned BERT classifier
- jevos vs SetFit: zero-shot vs few-shot classification
- jevos vs Llama Guard for content safety checks
- jev serve vs llama.cpp server for classification
- jevos vs LM Studio: a decision server, not a chat app
- Local vs hosted LLM decisions: latency, cost, privacy
- A yes/no LLM vs a business rules engine
- LLM decisions vs keyword rules and regex
- The fastest AI model for yes/no decisions
- What makes a local LLM fast on a CPU
- Why one forward pass beats generating an answer
- Prefill vs decode: where LLM latency comes from
- Why LLM latency grows with the length of the text
- Why a hosted LLM API cannot answer in 50 ms
- Many questions about one text: why the extra ones are cheap
- CPU or GPU for a small LLM
- Latency budgets: where a 200 ms model fits
- Measuring LLM latency: median, p90 and warm-up
- Q4_K_M vs Q8_0: speed and size for a small model
- Throughput vs latency for a decision server
- What P(yes) means, and what it does not
- LLM calibration explained with yes/no answers
- Expected calibration error (ECE), explained
- Temperature scaling for LLM probabilities
- Platt scaling for a yes/no model
- Reading a reliability diagram
- How to choose a threshold for P(yes)
- Thresholds when a wrong yes costs more than a wrong no
- Human in the loop AI with a review band
- Precision and recall at a P(yes) threshold
- Base rates: why a 0.9 yes can still be wrong often
- Combining yes/no answers with AND, OR and NOT
- Logits, log-odds and P(yes)
- LLM confidence scores: probabilities vs self-reports
- How to write yes/no questions an LLM answers well
- Negation in yes/no questions for an LLM
- One condition per question: splitting compound questions
- Ask whether the text says it at all
- Scores as yes/no thresholds: is it at least high?
- Sending JSON as the text: designing the state
- Why wording changes an LLM's answer, and how to test it
- Mainly about: questions for messages with several topics
- Yes/no questions about tone and emotion
- Asking about intent: what does the writer want?
- Yes/no questions about long documents
- Using an English-only LLM with other languages
- Content moderation with a local LLM
- A Discord moderation bot with a local LLM
- Spam detection with yes/no questions
- Review moderation with a local LLM
- Email triage with a local LLM
- Support ticket routing with yes/no questions
- Urgency detection in customer messages
- Sentiment analysis with yes/no questions
- Intent detection with a local LLM
- Lead qualification with yes/no questions
- Fraud case triage with a local LLM
- Phishing email screening with a local LLM
- Log and alert triage with a local LLM
- Checking text for personal data with yes/no questions
- Prompt injection screening with a small model
- Document classification with a local LLM
- Product categorization with yes/no questions
- Contract clause detection with a local LLM
- Refund request triage with a local LLM
- Detecting cancellation intent in customer messages
- RAG evaluation with yes/no questions
- RAG faithfulness check with a local LLM
- Hallucination detection with a local LLM
- LLM regression tests in CI with yes/no checks
- Rubric design for an LLM judge
- Pairwise comparison with a yes/no judge
- LLM judge bias and how to control it
- Evaluation metrics for yes/no classifiers
- Building a yes/no test set for your own data
- Accuracy by kind of question: why one number hides failures
- Generating test questions with answers computed by code
- Benchmark contamination and truly held-out tests
- An LLM router with yes/no questions
- A model cascade: small model first, large model on doubt
- Semantic routing vs yes/no questions
- Gating AI agent tool calls with yes/no checks
- AI agent guardrails with yes/no questions
- Stop conditions for AI agents
- Logging LLM decisions for audit
- Reducing LLM cost with local yes/no decisions
- Replacing chat LLM calls with yes/no questions
- Structured output vs a probability
- A Python client for local LLM decisions
- Calling a local LLM decision server from JavaScript
- Local LLM yes/no decisions in n8n
- A Slack bot that uses local LLM decisions
- Home Assistant automations with local LLM decisions
- A LangChain tool for local yes/no decisions
- Batch decisions from files with jev decide
- Running LLM yes/no checks in GitHub Actions
- Securing a local LLM server with an API key
- curl examples for a local LLM decision API
- Self-hosted AI for decisions
- A private LLM for text classification
- On-premise LLM for business decisions
- GDPR and automated decision-making with an LLM
- Offline AI for decisions: no network needed
- Edge AI decisions on a CPU
- Run an LLM locally without a GPU
- Small language models explained
- When a small model is enough, and when it is not
- An LLM on a laptop: what it can do in real time
- What is GGUF, for someone deploying a classifier
- GGUF quantization types explained: Q4_K_M, Q8_0 and others
- GGUF vs safetensors
- llama.cpp vs Ollama for a classification service
- llama-cpp-python vs calling llama.cpp through ctypes
- llama.cpp on Windows without compiling
- Running llama.cpp CPU only
- Using llama.cpp prebuilt binaries instead of building