Location Mac · Mac // CLOUD

M6 Mac mini : 16, 24, 32 ou 64 Go ? Ollama, Claude Code et mémoire pour la programmation IA (2026)

2026.08.26 · ~14 min

Se tromper de RAM Mac mini n'est pas « un peu plus lent » — c'est soudé, non évolutif. Quatre paliers (16/24/32/64 Go) face à Ollama, Claude Code et agents parallèles, plus matrice et 7 étapes.

Mac mini sur un bureau — choix de mémoire pour station IA

Bottom line: For cloud-API coding (Claude Code / Cursor) without local 14B+ models → 24GB is the 2026 Mac mini sweet spot. Stable Ollama 14B Q4 with IDE headroom → 32GB. 32B quant or dual models → 64GB (M4 Pro / rumored M6 Pro tier). 16GB only for minimal cloud-only dev without heavy Docker.

As of August 26, 2026, Apple has not officially announced M6 Mac mini. Current M4 / M4 Pro Mac mini offer 16/24/32GB and 24/48/64GB unified memory. This guide applies confirmed Apple Silicon memory behavior and real Ollama / Claude Code footprints to the four RAM tiers—rumored M6 specs are not facts, but soldered RAM risk is. See Mac mini specs and MLX unified memory.

Who should read this? Developers budgeting before the M6 Mac mini window; teams on M4 16GB hitting swap with Ollama; owners planning Claude Code or OpenClaw nodes who need RAM vs model size vs concurrent IDE spelled out.

Why wrong Mac mini RAM hurts more than wrong CPU

Apple Silicon uses unified memory: CPU, GPU, and Neural Engine share one pool. Ollama weights, KV cache, Claude Code’s Electron stack, Docker, LSP, and browser tabs do not get separate VRAM—they compete for 16–64GB.

Unlike many PCs, Mac mini RAM is soldered at purchase. External SSD helps model files and build caches, not RAM. Rule of thumb:

Usable RAM ≈ total − macOS baseline (4–6GB) − IDE/browser (4–10GB) − containers/DB (2–8GB) − model weights & KV cache

Yellow Memory Pressure and growing swap mean the tier is too low—a workload class problem, not chip generation. Compare form factors in our 2026 AI coding Mac guide.

How to classify workloads (What)

TierTypical processesRAM sensitivityFloor
T1 Cloud API onlyIDE + Claude Code CLI + browser + GitElectron/LSP peaks, no big local model16GB tight, 24GB recommended
T2 Light localT1 + Ollama 7B Q4 / embeddings~4–6GB model + context24GB
T3 Daily inferenceT1 + Ollama 14B Q4 + Docker DB~8–12GB model + DB + tools32GB
T4 Lab / parallelDual models / 32B Q4 / finetune + simulatorsStacked weights, KV, Xcode sim48–64GB

Asymmetric takeaway: Claude Code compute lives in Anthropic’s cloud—local RAM buys toolchain headroom. Ollama is the opposite: model size is RAM problem #1.

Compare 16 / 24 / 32 / 64GB

RAMClaude Code + IDEOllamaAgents / CIVerdict
16GBSingle project; Chrome swaps7B Q4 only; fights IDENo Docker + build togetherT1 minimal; not for serious AI dev
24GBTwo projects + Claude Code stable7B comfy; 14B close browserLight OpenClaw nodeCloud-API sweet spot
32GBMulti-repo + MCP14B Q4 + IDE; 32B tiny quant onlyPostgres + Redis + agentDaily Ollama pick
64GBIDE rarely RAM-bound32B Q4 / dual 14BSimulators + local CILab & team nodes

Base M4 caps at 32GB; 64GB needs M4 Pro. If M6 repeats that split, 64GB buyers should target Pro or Mac Studio, not hope the base SKU grows. Laptops: M6 MacBook Pro wait-or-buy.

Ollama: estimating memory

Memory ≈ GGUF weights + KV cache (context) + runtime. Q4_K_M anchors (single session):

  • 7B: ~4.5–5.5GB weights; tight on 16GB with IDE.
  • 14B: ~8–10GB; prefer 32GB total with Claude Code open.
  • 32B: ~18–22GB; usually 48GB+, 64GB safer.
  • 70B: often >40GB even quantized—API, Mac Studio, or remote GPU.

Two models in parallel: add weights. Use ollama ps + Activity Monitor, not TFLOPS slides. Embedding + 14B chat is the classic 32GB combo.

Claude Code / Cursor: local RAM

  1. Terminal + Node/MCP: ~0.5–2GB
  2. IDE (Electron + LSP): ~2–6GB
  3. Browser docs/PRs: ~2–4GB
  4. Docker Desktop: ~2–8GB

Cloud inference does not make 16GB a long-term AI dev config. MCP chains blow past 12GB easily. Split subscription vs hardware: Claude Code monthly cost. Route repo writes to disposable Cloud Mac nodes; see pricing.

Decision matrix

If you are…RAMWhy
Side project, API-only, no Docker24GBIDE + browser peaks
Full-stack + local 14B RAG32GB14B + DB + IDE together
Claude Code + occasional 7B24GBSmall local model
Always-on Agent + local model32–64GBDaemons + tools + weights
32B / dual-model lab64GB ProBase 32GB insufficient
Uncertain 6-month loadRent Cloud Mac firstOne week same repo
Need mobilityMacBook ProSame RAM logic, different form

A — Cloud API dev: 24GB mini + external SSD; Claude Code + Cursor; skip full Docker locally.

B — Local RAG prototype: 32GB + 1TB SSD; Ollama 14B Q4 + pgvector + Claude Code review; accept when Pressure stays green, swap <2GB for 1h.

C — Team node: 64GB M4 Pro or Studio; OpenClaw + Ollama + shared cache; SSH/VNC ops.

Pitfalls

  1. “Claude Code is cloud, 16GB is fine” — ignores IDE/MCP peaks.
  2. “7B is 4GB so 16GB runs 14B” — ignores KV, macOS, LSP, Docker.
  3. “External SSD = RAM” — swap kills inference and builds.
  4. “M6 will need less RAM” — models grow too; tiers stay.
  5. “64GB future-proofs everything” — 70B+ still exceeds mini; rent spikes via help center.

7-step acceptance

  1. Inventory 72h of real processes.
  2. Measure Pressure and swap on current or Cloud Mac.
  3. Map to T1–T4 tier.
  4. Add 20% headroom for more MCP tools.
  5. Check Apple SKU caps (32GB base vs 64GB Pro).
  6. Compare rent vs buy on Mac mini rental.
  7. Re-test 7 days after delivery with same ollama run.

FAQ

When is M6 Mac mini coming?

No Apple confirmation as of Aug 26, 2026. Bandwidth may rise; new RAM tiers are unconfirmed. Decide on M4 tiers + measured load.

Can 16GB run Claude Code?

It launches; not recommended long-term for AI dev with Chrome, Docker, or multi-MCP.

Is 32GB worth the uplift from 24GB?

If you run Ollama 14B or local DB, 32GB is usually cheaper than replacing the machine. API-only disciplined tabs: 24GB OK.

Ollama vs MLX RAM?

Similar for same GGUF size; pick on ecosystem. Size tiers by weights + context.

One 64GB or several 24GB for a team?

Parallel CI/agents: many isolated nodes; one 64GB for centralized inference experiments.

M6 rumors vs what you can buy today

Supply-chain and press leaks suggest M6 Mac mini may ship with higher memory bandwidth and possibly a wider Pro tier—but Apple has not confirmed SKUs, price steps, or RAM ceilings as of August 26, 2026. Practical buyers should anchor on shipping M4 / M4 Pro configs while using the workload tiers above as a decision framework that survives chip renames.

If M6 base models still cap at 32GB unified memory, the same rule applies: 64GB buyers must budget for Pro or Studio class machines, not hope for a post-purchase RAM module. Waiting for M6 without a measured pain point only makes sense when your current Mac still meets deadlines and you are not paying cloud or rental overflow every month.

For teams comparing capital expense vs subscription, pair this RAM guide with Claude Code subscription math and Mac mini pricing: hardware RAM is a one-time gate; API spend scales with usage.

What to watch in Activity Monitor (acceptance signals)

  • Memory Pressure — green under your heaviest 60-minute script; yellow during builds is OK if it returns green idle.
  • Swap Used — occasional spikes during Xcode archive are normal; sustained >5GB during Ollama + IDE means tier too low.
  • Cached Files — high cache is fine on Apple Silicon; do not confuse it with free RAM.
  • Window > GPU History — if inference is GPU-bound, more RAM alone will not raise tokens/sec; it only prevents eviction.

Record screenshots during a realistic work session and attach them to your procurement doc—finance teams understand swap graphs better than “it feels slow.”

Conclusion

The split is not cheapest SKU—it is T1 cloud API vs T3 local 14B. 24GB for most Claude Code devs; 32GB for daily Ollama; 64GB for 32B and parallel labs. Before you buy, run one hour at full load and watch Memory Pressure—not keynote slides.

Ask: With Claude Code, 14B Ollama, and Docker open, does swap stay under 5GB? If not, pick 32GB+ or validate on a remote Mac first.

Pour aller plus loin

Tester la pression mémoire sur Cloud Mac

Avant de commander un M6 Mac mini, exécutez le même dépôt, modèle Ollama et session Claude Code sur un Mac distant proche de la config cible. Observez compression et swap.

Commander · Tarifs

Mac // CLOUD

Tester la pression mémoire sur Cloud Mac

M6 Mac mini · Ollama · Claude Code

Commander