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
| Platform | Recommended |
|---|---|
| Apple Silicon Mac | LM Studio (MLX backend) or mlx_lm directly |
| Linux/Windows + NVIDIA | LM Studio (llama.cpp CUDA) or llama.cpp directly |
| CPU only | llama.cpp (quantized models) |
| Avoid | Ollama — 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 extractionWhy 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.