GPT OSS 120B on MacBook Pro: Memory Needs, Speed and Ollama Setup
Running OpenAI's 117B open-weight model on a laptop sounds absurd, yet some MacBook Pro configurations pull it off. This article covers how much unified memory you need, what speed to expect, and the exact Ollama commands and settings that make it usable.
A 117 billion parameter language model, running on a laptop, with no internet connection and no API bill. That sounds like a stunt, but GPT OSS 120B on MacBook Pro hardware is a real thing, and for the right configuration it is surprisingly pleasant to use. The catch is memory. Get that wrong and you will watch your Mac crawl, swap and stutter. Get it right and you get a private, capable reasoning model that sits in your bag.
This article walks through what the model actually demands, which MacBook Pro configurations can hold it, how fast it generates text, and the exact Ollama commands and settings to run it. I will also point out the mistakes that make people think the model is slow when the real problem is a memory setting.
💡 Short answer: you want a MacBook Pro with 128 GB of unified memory. 96 GB can work with tuning. 64 GB and below should use the smaller sibling, GPT OSS 20B.
What GPT OSS 120B Actually Is
OpenAI released the gpt-oss family as open-weight models under the Apache 2.0 license. The larger one, GPT OSS 120B, has roughly 117 billion total parameters. It is a mixture-of-experts design, which matters a lot for laptops.
Mixture of experts in plain terms
Instead of firing every parameter for every token, the model routes each token through a small group of specialist sub-networks. Only about 5.1 billion parameters are active per token. The whole 117 billion still has to live in memory, because any expert might be needed on the next token, but the amount of data read per token is small.
That split explains the whole laptop story:
Memory capacity decides whether the model loads at all.
Memory bandwidth decides how fast tokens come out.
Active parameter count keeps the bandwidth demand low enough for a portable machine.
The 4-bit format that makes it possible
The released weights use a native MXFP4 quantization for the expert layers, roughly 4 bits per weight. That is why the model download in Ollama sits around 65 GB instead of the 230 GB or so it would need at 16-bit precision. You do not choose a quantization level here the way you would with a typical community model. The official build is already compact.
Reasoning levels
The model supports three reasoning effort levels: low, medium and high. Higher effort produces longer internal reasoning before the answer, which costs more tokens and more time. This setting will matter later when we talk about speed.
The Real Memory Needs
Here is where most online advice goes wrong. People see "65 GB" and assume a 64 GB machine is close. It is not.
Why 65 GB is not 65 GB
Apple Silicon uses unified memory: the CPU and GPU share one pool. That is a huge advantage for large models, because there is no separate, tiny video memory to fit into. But the whole pool is not available to the GPU.
By default macOS limits how much memory the GPU can wire down. On larger machines that limit is roughly three quarters of total RAM. Your operating system, browser, editor and the model's context cache all compete for the rest.
On top of the weights you also need:
KV cache, which grows with every token of context.
Compute buffers used during prompt processing.
macOS itself, usually 6 to 10 GB under normal use.
MacBook Pro memory tiers compared
Unified memory
Default GPU budget (approx.)
Can it run 120B?
Verdict
32 GB
~21 GB
No
Use GPT OSS 20B
48 GB
~36 GB
No
Use GPT OSS 20B
64 GB
~48 GB
No, weights alone exceed it
Use GPT OSS 20B
96 GB
~72 GB
Barely, with small context
Possible with tuning
128 GB
~96 GB
Yes
The comfortable choice
The percentages are approximations, and the exact figure shifts a little depending on the macOS version. The pattern is what matters: a 65 GB model needs a GPU budget comfortably above 65 GB, and then extra room for context.
Raising the GPU memory limit
On a 96 GB machine you can raise the wired memory limit manually. This command lifts the cap to about 88 GB, leaving the rest for the system:
sudo sysctl iogpu.wired_limit_mb=90112
The setting resets on reboot, which is a good safety net. Do not push it so high that macOS starves, or you will get freezes instead of speed. On a 128 GB machine most people never need to touch it.
💡 Tip: close Chrome tabs, Docker and any video editor before loading the model. Every gigabyte you free is a gigabyte of context you can use.
What context length costs you
The model supports a context window of up to 131,072 tokens, but you pay for it in memory. Short chats barely move the needle. A 100,000 token document pushed into the window can add many gigabytes of KV cache. For a 128 GB Mac, a context of 16K to 32K tokens is a sensible everyday setting. On 96 GB, stay near 8K unless you have tuned the memory limit.
How Fast Is It on a MacBook?
I want to be careful here, because speed numbers vary wildly depending on who measured them and how. Some online calculators produce estimates in the single digits for tokens per second, but those are formula outputs, not stopwatch results. Measured community reports on high-bandwidth Max-class chips tend to land much higher, commonly in the tens of tokens per second for generation.
Bandwidth is the real speed limit
Token generation on a big model is mostly memory-bound. Each new token requires reading the active expert weights from memory. With about 5.1 billion active parameters at roughly 4 bits, that is on the order of 2.5 to 3 GB read per token. A chip with several hundred GB/s of bandwidth has a very high theoretical ceiling, and real software reaches only a fraction of it.
This is also why a dense 70B model often feels slower on the same Mac than this 117B model. Dense models read all their weights for every token. The mixture-of-experts layout reads a sliver.
What to expect in practice
Treat these as rough planning ranges, not promises:
Phase
What it feels like
What affects it
Model load
20 to 90 seconds the first time
Disk speed, file cache
Prompt processing
Fast for short prompts, slower for long documents
GPU cores, context length
Token generation
Comfortable reading speed or better on 128 GB Max chips
Memory bandwidth, runtime
Long sessions
Gradual slowdown possible
Thermal limits, memory pressure
If your measured speed is only a few tokens per second, suspect memory pressure before you blame the chip. The model may be partly paging out or running partly on the CPU.
Reasoning effort changes perceived speed
The model "thinks" before it answers. On high effort, you might wait through several hundred reasoning tokens before the first word of the actual reply. The raw tokens per second stays the same, but the answer arrives later. For quick questions, low effort feels dramatically snappier.
Ollama Setup, Step by Step
Ollama is not the only runtime, but it is the simplest, and it handles the memory plumbing for you. A quick note: I am mentioning Ollama by name only, since it is a separate product, and you will find its installer on its own website.
Before you install
Run through this short checklist:
At least 100 GB of free disk space (the download is about 65 GB, and you want headroom).
A recent macOS release and the latest Ollama build.
A MacBook Pro with 96 GB or 128 GB of unified memory.
The laptop plugged in and set to high power mode if your model offers it.
Pull and run the model
Open Terminal and run:
ollama pull gpt-oss:120b
ollama run gpt-oss:120b
The first command downloads the weights. The second starts an interactive chat. The first launch is slow because the weights are being read into memory. After that, responses start much faster.
To pick the reasoning level, add a flag:
ollama run gpt-oss:120b --think=low
Use low for chat and quick edits, medium as a default, and high for hard math or code debugging.
Verify it is on the GPU
This is the single most useful check. While the model is loaded, run:
ollama ps
You want to see the processor listed as 100% GPU. If you see a split such as 70% GPU and 30% CPU, the model did not fully fit in the GPU budget. Reduce context, close apps, or raise the wired memory limit.
Set a sane context length
Ollama defaults to a modest context. You can raise it with an environment variable before starting the server:
OLLAMA_CONTEXT_LENGTH=16384 ollama serve
Start at 16K, check ollama ps again, and raise it only if memory stays healthy.
Use it from your own apps
Ollama exposes a local API on port 11434. Anything that can call a local HTTP endpoint, including editors, note apps and your own scripts, can talk to the model. Your prompts never leave the laptop, which is the main reason many people go through this trouble in the first place.
Tuning for Speed and Stability
Once the model runs, a few habits separate a smooth experience from a frustrating one.
Keep the laptop cool
Sustained generation loads the GPU for minutes at a time. MacBook Pro cooling is good, but a closed lid case, a lap, or a soft blanket will cause throttling. Use a hard surface, or better, a laptop stand that lets air reach the underside. Fans spinning up is normal. Speed dropping by a third after ten minutes is a sign of heat.
Plug in and pick the right power mode
On battery, macOS may limit performance to protect runtime. For long generations, connect the charger. A 120B session on battery will also drain a large battery startlingly fast, so treat it as a plugged-in workload.
Reduce what you load
Every app you leave open steals memory from the model. Before a long session:
Quit browsers with many tabs.
Quit virtual machines and containers.
Close creative apps that cache large files.
Check Activity Monitor for memory pressure. It should stay green.
Try a different runtime
Ollama is convenient, but other Apple Silicon runtimes such as llama.cpp builds and MLX-based tools sometimes squeeze out more speed, especially on prompt processing. If you reach the limits of Ollama, a second runtime is worth testing, and the same 4-bit weights format is widely supported.
Keep prompts efficient
Large pasted documents cost memory and time. Summarize in stages, or split a long file into sections. The model handles instructions better when the prompt is focused, and your Mac will thank you.
MacBook Pro or Mac Studio?
A fair question is whether a laptop is even the right machine for this.
When the laptop wins
You travel and want a private model with no connection.
You handle sensitive documents that cannot go to a cloud service.
You want one machine for everything.
When a desktop is smarter
A Mac Studio with large unified memory and higher bandwidth can run the model faster, hold bigger context, and stay cool under sustained load, since its cooling design has far more headroom. If the model will serve several people or run all day, a desktop is the more sensible host, and you can reach it from a laptop over the local network.
The cost question
Buying a 128 GB MacBook Pro only to run one model is expensive. If your use is occasional, a hosted option is cheaper. That brings us to the next section.
Skip the Hardware Entirely
Not everyone has 128 GB of memory, and not everyone needs offline access. If you only want to try the model, you can run it in the browser.
How to use GPT OSS 120B on PicassoIA
GPT OSS 120B on PicassoIA runs on remote hardware, so your laptop stays cool and your memory stays free. The steps are short:
Open the GPT OSS 120B model page.
Type your prompt in the input box. Be specific about the format you want, such as a table, a bullet list or code.
Adjust the response settings if the page offers them, such as maximum length or creativity (temperature). Lower temperature gives steadier answers for code and facts.
Run the model and read the result. If the answer is off, edit your prompt and run again rather than starting over.
Copy the output into your editor, document or project.
💡 Tip: use the hosted version to test whether the model suits your task before spending money on memory. If it does, then decide whether local privacy justifies the hardware.
Smaller and larger alternatives
PicassoIA hosts several text models, so you can compare results side by side:
The weights are about 65 GB. A 64 GB machine cannot hold them, regardless of settings. Choose 96 GB at the very least, and 128 GB if you want peace of mind.
Setting context to the maximum
A 131K context sounds attractive, but the KV cache will eat memory you do not have. Increase context in steps, and confirm with ollama ps each time.
Ignoring the CPU split
If ollama ps shows part of the model running on the CPU, speed will fall off a cliff. Fix the memory budget before judging the model.
Judging speed on battery
Unplugged tests are misleading. Always test plugged in, on a hard surface, with memory pressure in the green.
Using high reasoning for everything
High effort is useful for difficult problems and wasteful for casual chat. Switch levels to match the task.
Is It Worth It?
For a 128 GB MacBook Pro owner, absolutely. You get a strong open-weight reasoning model that works offline, keeps data private, and costs nothing per token after the download. For a 96 GB owner, it is a fun experiment with tuning required. For anyone with 64 GB or less, the 20B sibling gives a far better experience than forcing the large one.
Try It Yourself on Picasso IA
You do not have to buy new hardware to start experimenting. Open GPT OSS 120B on PicassoIA, paste in a real task from your work, and see how it reasons. Then compare it with GPT OSS 20B on the same prompt to find the right size for your needs.
Picasso IA also covers image generation, video, speech and music, so you can turn the text the model writes into visuals and audio in the same place. Browse everything at picassoia.com/en/all-models, pick a model, and start creating.