Local LLM Setup

ZoidMatter requires an embedding model (always on) and an LLM (extraction + synthesis). Both are served via an OpenAI-compatible API.

Recommendation by hardware

PlatformRecommended
Apple Silicon MacLM Studio (MLX backend) or mlx_lm directly
Linux/Windows + NVIDIALM Studio (llama.cpp CUDA) or llama.cpp directly
CPU onlyllama.cpp (quantized models)
AvoidOllama — silent context truncation, Metal underperformance, no GGUF flexibility

Default models

Configured in .env:

EMBEDDING_MODEL=nomic-embed-text-v1.5   # 768-dim, required
LLM_MODEL=Qwen2.5-7B-Instruct           # best JSON adherence for extraction

Why not Ollama?

Ollama silently truncates context, has weak Metal support on Apple Silicon, and hides GGUF configuration. ZoidMatter sends large extraction payloads — silent truncation is a silent quality regression. The full guide with model sizing and context-window requirements lives in docs/local-llm-setup.md.