We earn commissions when you shop through the links below.Learn more

← All setups

Documented build

Mac 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

ItemApprox. 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.99Check 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.99Check 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.99Check 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.99Check price at Micro Center →
On sale −22% Apple Mac mini M6 (16GB, 256GB) - MHQK4LL/A (Micro Center, related current offer)$699.99 $899.99Check 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.99Check 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.99Check price at Micro Center →
On sale −14% Apple Mac mini M6 (16GB, 512GB) (Amazon, related current offer)$949.00 $1,099.00Check price at Amazon →
On sale −13% Apple Mac mini M6 (16GB, 256GB) (Amazon, related current offer)$779.00 $899.00Check price at Amazon →
On sale −11% Apple Mac mini M6 (24GB, 512GB) (Amazon, related current offer)$1,150.00 $1,299.00Check price at Amazon →
Apple Mac mini (M4, 16GB RAM, 256GB)Not stated in sourceCheck 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

Models used

  • llama3.1:8b

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

  1. Install Ollama and pull llama3.1:8b.
  2. Install AnythingLLM, point it at Ollama, create a workspace and drag in files.
  3. cloudflared tunnel create rag-tunnel; route your domain to localhost:3001.
  4. Add a Cloudflare Access service-token policy so only your automation can call it.
  5. 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.

Get new tested setups monthly

One email a month with new real-world builds. No spam.