Run your first local LLM on a Mac Studio M3 Ultra with 512 GB
Start with one question and a 523 MB model. You’ll install Ollama on your remote rental Mac, ask Qwen for a greeting, and see the reply in Terminal.
Setup instructions checked · 日本語版
Get your first reply with Ollama
1. Open the rental Mac’s desktop
The Mac comes with a clean installation of macOS. Follow the screen sharing guide to open its desktop. Use the browser and Terminal inside that window for all the steps below. That puts the model on the rental Mac and runs it there.
2. Install Ollama
In the rental Mac’s browser, open the Ollama download page for macOS and choose “Download manually”. Open the disk image, drag Ollama into Applications, then open the app. If it asks to create a link for the Terminal command, allow it.
3. Ask Qwen for a greeting
Open Terminal on the rental Mac, paste this command and press Return. The first run downloads qwen3:0.6b and loads it into memory.
ollama run qwen3:0.6b "Say hello in one sentence."When you see a greeting followed by the shell prompt, you’ve run the model. Change the text inside the quotes to ask another question. To see the saved model’s name and size, run ollama ls.
Ollama’s macOS instructions · Qwen3 download details · Ollama CLI reference
Try DeepSeek and read the 512 GB benchmark
A small DeepSeek model to try in Ollama
The deepseek-r1:1.5b tag downloads DeepSeek-R1-Distill-Qwen-1.5B, a 1.1 GB model in Q4_K_M format. Run it in the same Terminal window and see whether it answers 41.
ollama run deepseek-r1:1.5b "What is 17 plus 24?"We haven’t measured the speed of this small Ollama model. DeepSeek model details and Ollama command
The full-size model we measured on the M3 Ultra
In our July 19–20, 2026 benchmark we ran the 4-bit MLX version of DeepSeek R1-0528, revision 5b83525. The published 4-bit model files totaled 351.7 GiB, and MLX reported peak memory use of 380.7 GB during the run.
In a single run, the Mac processed a 2,777-token prompt at 206.9 tok/s and generated the next 300 tokens at 20.3 tok/s. Both rates are in tokens per second. We used an 80-core GPU and 512 GB of unified memory with macOS 26.5.1, MLX 0.32.0 and mlx-lm 0.31.3. Temperature was 0 and the random seed was 42.
Full benchmark results and test conditions · Exact model files used in the test
Use a chat window or a Python environment
Chat in LM Studio
Install LM Studio for Mac on the rental Mac and open it. In Discover, search for mlx-community/Qwen2.5-0.5B-Instruct-4bit and download it. Open Chat, select the downloaded model in the model picker, and wait for it to load. Enter “Say hello in one sentence.” The reply appears in the conversation. LM Studio’s illustrated instructions
Run the same model with MLX LM
This example uses Python 3.13 for Apple silicon. In Terminal, run python3.13 --version. If the command is missing, install a 3.13 release from the Python macOS downloads. If you use that installer, open the Python 3.13 folder in Applications and double-click Install Certificates.command to finish setup. Python’s macOS setup instructions
Run these lines in order to create a virtual environment, install MLX LM, and ask the model for a greeting.
python3.13 -m venv ~/local-llm-venv
source ~/local-llm-venv/bin/activate
python -m pip install mlx-lm
mlx_lm.generate --model mlx-community/Qwen2.5-0.5B-Instruct-4bit --prompt "Say hello in one sentence."The first run fetches the model from Hugging Face. Once the greeting appears, type deactivate to leave the virtual environment.
Troubleshooting
Why does Terminal say “command not found: ollama”?
On the rental Mac, open Ollama from Applications and allow it to create the command-line link when prompted. Open a fresh Terminal window on that Mac and run ollama --version.
Why did the download run out of space on a 512 GB Mac?
The 512 GB is memory shared by the CPU and GPU. Downloads go to the SSD. Run df -h ~ in Terminal and look under Avail for the drive containing your home folder. Compare that free space with the download size on the model’s page.
To compare your own workloads, record the model, quantization and input length for each run. The M5 Ultra evaluation guide includes a worksheet you can use.