llama.cpp guide: running gpt-oss with llama.cpp
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Developers can run OpenAI's gpt-oss models locally on a Mac with two commands, removing the need for cloud API access.
llama.cpp, a free tool for running AI models on your own computer, published an official guide for running OpenAI's gpt-oss models. Two commands install it on a Mac and start the smaller gpt-oss-20b model, which you can use through a chat web page on your own machine. The model file is 12GB and the author measured about 82 tokens per second on a 64GB M2 MacBook Pro.
This guide makes OpenAI's open-weight gpt-oss models genuinely easy to self-host: two commands on macOS via llama.cpp get gpt-oss-20b running locally with a chat interface on port 8080. It runs at roughly 82 tokens/second on a 64GB M2 MacBook Pro. Teams wanting on-premises AI without API costs or data leaving the building can follow it directly; NVIDIA and AMD notes are included but no Windows guidance is detailed.
The official ggml-org guide uses llama-server from llama.cpp, exposing an OpenAI-compatible localhost API plus a web UI. The macOS recipe is brew install llama.cpp then llama-server -hf ggml-org/gpt-oss-20b-GGUF --ctx-size 0 --jinja -ub 2048 -b 2048 -ngl 99 -fa, pulling a 12GB GGUF file from Hugging Face into ~/Library/Caches/llama.cpp/. Measured throughput was ~82 tokens/second on a 64GB M2 MacBook Pro; the guide also covers NVIDIA and AMD hardware.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code‑driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game‑changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross‑platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.