Documented buildMac mini M4 (16GB) personal RAG assistant reachable from your phone
AnythingLLM + Ollama (llama3.1:8b) on a Mac mini M4, exposed through a Cloudflare Tunnel protected by Cloudflare Access, queried from Telegram via n8n.
SoloDocument search / chat with filesUnder $1kSensitivity: Standard
Hardware
| Item | Approx. price (as of 2026-11-30) | Buy |
|---|
| On sale −31% Apple Mac mini M4 Pro (12C CPU/16C GPU, 24GB, 512GB) - MCX44LL/A (Micro Center, related current offer) | $1,099.99 $1,599.99 | Check price at Micro Center → |
| On sale −25% Apple Mac mini M4 (10C CPU/10C GPU, 16GB, 256GB) - MU9D3LL/A (Micro Center, related current offer) | $599.99 $799.99 | Check price at Micro Center → |
| On sale −24% Apple Mac mini M5 Pro (15C CPU/16C GPU, 24GB, 512GB) - MHQN4LL/A (Micro Center, related current offer) | $1,299.99 $1,699.99 | Check price at Micro Center → |
| On sale −23% Apple Mac mini M4 Pro (12C CPU/16C GPU, 48GB, 512GB) - Z1JV00027 (Micro Center, related current offer) | $1,699.99 $2,199.99 | Check price at Micro Center → |
| On sale −22% Apple Mac mini M6 (16GB, 256GB) - MHQK4LL/A (Micro Center, related current offer) | $699.99 $899.99 | Check price at Micro Center → |
| On sale −18% Apple Mac mini M6 (12C CPU/12C GPU, 16GB, 512GB) - MHQL4LL/A (Micro Center, related current offer) | $899.99 $1,099.99 | Check price at Micro Center → |
| On sale −15% Apple Mac mini M6 (12C CPU/12C GPU, 24GB, 512GB) - MHQM4LL/A (Micro Center, related current offer) | $1,099.99 $1,299.99 | Check price at Micro Center → |
| On sale −14% Apple Mac mini M6 (16GB, 512GB) (Amazon, related current offer) | $949.00 $1,099.00 | Check price at Amazon → |
| On sale −13% Apple Mac mini M6 (16GB, 256GB) (Amazon, related current offer) | $779.00 $899.00 | Check price at Amazon → |
| On sale −11% Apple Mac mini M6 (24GB, 512GB) (Amazon, related current offer) | $1,150.00 $1,299.00 | Check price at Amazon → |
| Apple Mac mini (M4, 16GB RAM, 256GB) | Not stated in source | Check price → |
Shop at Micro Center → Shop at Newegg → Shop at Velocity Micro →
Heads up: "Check price" links may be affiliate links. We may earn a commission at no extra cost to you.
Source prices are as stated by the source. Retailer offers: prices checked 2026-11-29, may change. Some links may be affiliate links; we may earn a commission at no extra cost to you. This never changes what we list.
Software stack
- Ollama
- AnythingLLM
- LanceDB
- Cloudflare Tunnel + Access
- n8n (hosted on Hostinger)
- Telegram
Good at
- Responses in 3-8 seconds
- 'Costs nothing beyond electricity' (per author)
- Usable from a phone
Weak at
- Queries pass through Telegram, a hosted n8n and Cloudflare - not fully offline
Rough total cost
Hardware price not stated; author reports no running cost beyond electricity (n8n hosting aside).
Getting started
- Install Ollama and pull llama3.1:8b.
- Install AnythingLLM, point it at Ollama, create a workspace and drag in files.
- cloudflared tunnel create rag-tunnel; route your domain to localhost:3001.
- Add a Cloudflare Access service-token policy so only your automation can call it.
- Connect n8n + Telegram bot to the AnythingLLM API.
Source & credit
Building a personal RAG assistant you can actually use — Ovidiu Eftimie (Substack)
Summarized from the source; quotes are the source author's words. Check the original before buying.