- Mac Mini M6 with 16GB is enough for Claude Code since the model runs in the cloud. For local models, RAM and storage decide everything. Here's how to choose the right config before you buy.
Yes, a Mac Mini with an M6 chip and 16GB of memory will be enough for Claude Code, because the model itself runs on Anthropic's servers and your computer only runs the tool, the files, and the commands. With local models the situation is reversed: memory determines which model can even fit, and 16GB limits you to small models with a short context window. In both cases, 256GB of storage will run out faster than you might expect.
The question came up in a Facebook AI group about the base configuration: M6 with 12 CPU cores, 12 GPU cores, 16GB unified memory, and 256GB storage. It looks like one question, but it's actually two very different questions, and each leads to a different answer.
In short
| The question | The short answer |
|---|---|
| Enough for Claude Code? | Yes. The official requirement is 4GB of memory or more, plus an internet connection. |
| Enough for local models? | Only for small models, around 7 to 9 billion parameters, with a limited context window. |
| What is the main limitation? | Unified memory. The model and its context must fit alongside the operating system. |
| What about storage? | 256GB fills up quickly once you download a few models at 15GB to 20GB each. |
| What should I buy for local models? | At least 32GB, and for serious work an M5 Pro with 48GB or 64GB. |
What Claude Code actually needs from your machine
Claude Code is an agent that runs in the terminal, and its reasoning happens in the cloud. When you ask it to write code, the request is sent to Anthropic's models, and your computer receives instructions back: read a file, edit it, run a command.
According to the official Claude Code documentation (checked on 2026-10-18), the system requirements are:
- Operating system: macOS 13.0 or later.
- Hardware: 4GB of memory or more, x64 or ARM64 processor.
- Network: An internet connection is mandatory.
- Account: A Pro, Max, Team, Enterprise, or Console account subscription. The free plan does not include Claude Code.
A Mac Mini M6 with 16GB clears those requirements with room to spare. On pricing, according to the Claude pricing page (checked on 2026-10-18), a Pro subscription costs $20 per month billed monthly, or $17 per month billed annually, and Claude Code is included in all paid plans.
So where does the memory actually go? Not to Claude Code itself, but to everything running alongside it: the browser with dozens of tabs open, the project's dev server, the code editor, and sometimes Docker or a simulator as well. Someone working on a typical web app will be comfortable with 16GB. Someone running several services in parallel will start feeling the ceiling.
Storage is likewise driven by projects, not by the tool itself: dependency folders, build artifacts, backups, and caches add up quickly. If you're already working on a Mac and feeling the squeeze, there's a guide to freeing up dozens of GB on a Mac with Claude Code. And if you haven't installed it yet, the installation itself takes about five minutes.
Why a local model is an entirely different story
A local model runs entirely on your machine, so it has to fit entirely in memory. On a Mac with an Apple chip, the CPU and GPU share the same unified memory. That's a significant advantage, because the GPU can use most of the machine's memory. But it also means the model is competing for those same 16GB with the operating system, the browser, and everything else.
There's another memory consumer that most people overlook: the context window, meaning the amount of text the model holds in its head while it works. A coding agent needs to read entire files, so it needs a long context window. According to the Ollama documentation on context length (checked on 2026-10-18):
- Increasing the context window increases the amount of memory the model requires.
- For agentic tasks and coding tools, a context of at least 64,000 tokens is recommended.
- When less than 24GiB of GPU memory is available, the default is only 4,000 tokens.
In other words, on a machine with 16GB, Ollama's default context is 16 times smaller than Ollama's own recommendation for coding tools. You can increase it manually, but every additional token in the context comes from the same memory the model is already using.
How much space each model takes
The table below shows the download size of popular coding models in the quantized version that is downloaded by default. This is the minimum footprint the model occupies in memory, before the context window. The data comes from the Ollama model library: qwen2.5-coder, qwen3.5, gpt-oss, and qwen3-coder (checked on 2026-10-18).
| Model | Size | Max context | On M6 with 16GB |
|---|---|---|---|
| qwen2.5-coder 7B | 4.7GB | 32K | Fits comfortably |
| qwen3.5 9B | 6.6GB | 256K | Fits, with room for a moderate context |
| qwen2.5-coder 14B | 9.0GB | 32K | Fits, but tight with applications open |
| gpt-oss 20B | 14GB | 128K | On the edge, almost no room for context |
| qwen3.5 27B | 17GB | 256K | Does not fit |
| qwen3-coder 30B | 19GB | 256K | Does not fit |
Note the gpt-oss row. According to the OpenAI model card on Hugging Face (checked on 2026-10-18), the model "runs within 16GB of memory." That's true, but 16GB is all the memory in the base Mac Mini. After the operating system, the browser, and a 64,000-token context window, there isn't enough room left. If the term Hugging Face is unfamiliar, it's the repository where most open models come from, and there's a complete guide to it in Hebrew.
And storage? Every model you download is saved to disk. Three models from the bottom half of the table take up roughly 50GB combined, and that's before the operating system, your projects, and development tools. With 256GB, anyone who wants to experiment with several models will start managing disk space within the first week.
Comparing the 2026 Mac Mini configurations
Apple launched the Mac Mini with the M6 and the M5 Pro, and the meaningful difference for local models is in memory capacity and memory bandwidth. The data comes from the Apple specifications page and from Apple's launch announcement (checked on 2026-10-18). Prices are US starting prices before tax.
| Configuration | Unified memory | Memory bandwidth | Base storage | US starting price |
|---|---|---|---|---|
| M6, 12 CPU cores and 12 GPU cores | 16GB | 153GB/s | 256GB | $899 |
| M6 with memory upgrade | 24GB or 32GB | 170GB/s | 512GB or more | Not published in the announcement |
| M5 Pro, up to 18 CPU cores and 20 GPU cores | 24GB, 48GB, or 64GB | 307GB/s | 512GB | $1,699 |
Memory bandwidth matters because with local models it largely determines how fast text is generated: every word the model writes requires reading its weights from memory. The M5 Pro offers nearly twice the bandwidth of the base M6, so it doesn't just accommodate larger models, it runs them faster too.
One thing you must know before ordering: on Apple computers, memory is chosen at the time of purchase and cannot be added later. If there's a reasonable chance you'll want local models in the coming year, that decision is made now.
The combination: Claude Code against a local model via Ollama
You can run Claude Code against a model running on your own machine, instead of against Anthropic's models. Ollama, a free tool for running local models, offers an interface compatible with Anthropic's API, and according to the official Ollama guide for Claude Code (checked on 2026-10-18) the setup looks like this:
- Install Claude Code and Ollama.
- Download a model that supports tool use, for example qwen3.5.
- The quick way: run
ollama launch claudein the terminal. - The manual way: set the environment variables
ANTHROPIC_AUTH_TOKEN=ollama,ANTHROPIC_API_KEY="", andANTHROPIC_BASE_URL=http://localhost:11434, then runclaude --model qwen3.5. - Increase the context length to at least 64,000 tokens, as Ollama recommends for large projects.
A word of honest framing: on a Mac Mini with 16GB, this is an excellent way to understand how local models work and to run simple tasks without code leaving your machine. It is not a way to get what you get from Anthropic's models. The gap between a 9-billion-parameter model and the advanced cloud models is felt precisely in the tasks that make you buy a coding agent in the first place: understanding an entire project, planning a change across multiple files, and fixing complex bugs. If you're weighing another tool instead of Claude Code, there's a comparison of the main alternatives.
How to decide: four questions before you buy
- What will you actually be doing 90% of the time? If the answer is Claude Code or another cloud-backed coding tool, the base configuration is enough and the money saved goes toward a subscription.
- Do you have a real reason for a local model? Good reasons: data that cannot leave your machine, working without internet access, or learning how the field works. "To save on a subscription" is generally not a good reason, because a small model will give you less back.
- How many projects and models will you keep on disk? Someone working on one project with no local models will manage fine with 256GB. Everyone else should consider at least 512GB.
- What model size do you need? Coding models in the 20 to 30 billion parameter range weigh, according to the table, 14GB to 19GB. Running them with a reasonable context window requires at least 32GB, and for continuous work with models that size, an M5 Pro with 48GB or 64GB.
The bottom line
The question asked in the group was "will this be enough?", and the honest answer is that it depends on what comes after the word "or." For Claude Code, a base M6 Mac Mini will be enough and will work well, because all the heavy lifting happens in the cloud. For local models, the same machine is a starting point for learning, not a development environment: 16GB limits both model size and context length, and 256GB limits how many models you can keep around.
If most of your work will be with Claude Code, buy the base configuration or the 512GB version and invest the difference in a subscription. If local models are a genuine part of the plan, skip straight to at least 32GB, because that's the one thing you can't upgrade later.
And for anyone who wants to learn to work with Claude Code from installation through to a running production system, there's a Claude Code 2026 course: from installation to a working system for 9.90 ILS.
Sources
- Claude Code: System Requirements and Setup (checked 2026-10-18)
- Claude: Pricing Page (checked 2026-10-18)
- Apple: Mac Mini (M6 or M5 Pro) Technical Specifications (checked 2026-10-18)
- Apple: New Mac Mini and Mac Studio Available Today (checked 2026-10-18)
- Ollama: Context Length and Memory Usage (checked 2026-10-18)
- Ollama: Claude Code Integration (checked 2026-10-18)
- Ollama: Anthropic API Compatibility (checked 2026-10-18)
- Ollama: qwen2.5-coder Sizes (checked 2026-10-18)
- Ollama: qwen3.5 Sizes (checked 2026-10-18)
- Ollama: gpt-oss Sizes (checked 2026-10-18)
- Ollama: qwen3-coder Sizes (checked 2026-10-18)
- OpenAI: gpt-oss-20b Model Card on Hugging Face (checked 2026-10-18)
