The Techno-WitchWe read the fine print so you don't have to.

Consult the almanac

Turning the pages…

Arrow keys to move, Enter to open, Esc to close. Every answer links to a dated page.



Local AI · The Hearth

gpt-oss: 20b vs 120b Requirements, Setup and Cost

gpt-oss is OpenAI's free Apache 2.0 open-weight model. The 20b runs within 16 GB of memory; the 120b wants 60 to 80 GB, depending on the OpenAI page.

Some links on this site may earn us a commission. It never changes a price, a verdict or what we tell you to skip. How we make money.

In this story (8 sections)
  1. What gpt-oss is
  2. gpt-oss system requirements
  3. Reasoning levels, tools and the harmony format
  4. How to run gpt-oss in Ollama, LM Studio or llama.cpp
  5. Why run gpt-oss locally
  6. Local vs cloud cost for gpt-oss
  7. gpt-oss-20b or 120b: our picks
  8. What to do next

gpt-oss is OpenAI's open-weight model family, free to download under Apache 2.0, in two sizes: gpt-oss-20b, which OpenAI says runs within 16 GB of memory, and gpt-oss-120b, which needs a single 80 GB GPU per its model card (OpenAI's cookbook guides say 60 GB or more). The 20b is the one a 16 GB graphics card or Mac can host.

Facts, prices and plans below are as of November 30, 2026, in US dollars.

What gpt-oss is

OpenAI released gpt-oss on August 5, 2025. Both models are mixture-of-experts designs. gpt-oss-120b has 117B total parameters and activates 5.1B per token. gpt-oss-20b has 21B total and 3.6B active.

Both are text in, text out. OpenAI trained them on a "mostly English, text-only dataset," so don't expect image input. Context runs up to 128k tokens natively, and Ollama lists 128K for both sizes.

On quality, all we have is OpenAI's word: it says gpt-oss-120b "achieves near-parity" with one of its own small reasoning models on core reasoning benchmarks. That's a vendor claim, not a ranking. For how open models stack up as a group, see our open-weight models guide.

gpt-oss system requirements

Download size is not memory. At runtime the model also needs room for its context cache and buffers.

Model GPU memory (VRAM) or unified memory System RAM Download size OS License and commercial use
gpt-oss-20b 16 GB ("within 16GB of memory", model card) 12 GB minimum (LM Studio); not stated by OpenAI 14 GB (Ollama), 12.00 GB (LM Studio), about 13.8 GB (Hugging Face, one format) not stated Apache 2.0, commercial use allowed
gpt-oss-120b single 80 GB GPU (model card); 60 GB or more (OpenAI cookbook) not stated 65 GB (Ollama), 65.00 GB (LM Studio) not stated Apache 2.0, commercial use allowed

OpenAI's two figures for the 120b don't match, and we won't pick a winner. The model card names a single 80 GB GPU, such as an NVIDIA H100 or AMD MI300X. The cookbook guides say 60 GB or more, on multiple GPUs, a workstation or unified memory.

The llama.cpp project's own table (its figures, not OpenAI's) lists 14.9 GB total for the 20B at 8,192 tokens of context, rising to 17.9 GB at 131,072. For the 120B it lists 64.0 GB at 8,192 and 68.5 GB at 131,072. Translation: long chats cost extra memory. Our VRAM guide explains why.

Reasoning levels, tools and the harmony format

gpt-oss has three reasoning effort settings: low, medium and high. Higher effort trades speed for better answers. Set it in the system prompt with a line like "Reasoning: high", per the Hugging Face card, and Ollama exposes the same low, medium and high choice. The full chain of thought is visible, which helps when you want to see where it went sideways.

On tools, OpenAI lists web search, Python code execution, few-shot function calling and Structured Outputs. Ollama describes "native capabilities for function calling, web browsing."

One hex for tinkerers: the card says the model "should only be used with the harmony format as it will not work correctly otherwise." Ollama and LM Studio handle that for you.

How to run gpt-oss in Ollama, LM Studio or llama.cpp

OpenAI names all three as partners, so each is an official route. Our Ollama vs LM Studio and llama.cpp vs Ollama comparisons go deeper.

  • Ollama: ollama run gpt-oss:20b or ollama pull gpt-oss:120b. The Ollama library page says MXFP4 support lets the smaller model run "on systems with as little as 16GB memory." It names no minimum version; get the latest.
  • LM Studio: lms get openai/gpt-oss-20b or lms get openai/gpt-oss-120b. The LM Studio model page says the smaller model needs "at least 12 GB of RAM," while OpenAI's LM Studio guide says 16 GB of VRAM.
  • llama.cpp: llama-server -hf ggml-org/gpt-oss-20b-GGUF --ctx-size 0 --jinja -ub 2048 -b 2048, swapping in gpt-oss-120b-GGUF for the big one. The project's guide adds flags per hardware, such as --n-cpu-moe for GPUs with less VRAM.

On a Mac, unified memory counts toward that 16 GB figure, per OpenAI's Ollama guide. See running an LLM on a Mac for the setup.

Why run gpt-oss locally

  • Privacy: prompts and files stay on your machine.
  • Offline use: once downloaded, it works without a connection.
  • No per-use fees or caps: Ollama's pricing page lists local runs on its $0 plan, so there's no per-message meter on your own hardware.
  • Control: you pick the reasoning level, the context length and the version.
  • License: Apache 2.0, so you can build it into commercial work.

The honest downsides:

  • Hardware is the gate. The 120b needs 60 to 80 GB of memory, far past the 32 GB on NVIDIA's RTX 5090.
  • Speed depends on your machine. No official page we read gives a speed figure, so we won't promise one.
  • Text only, mostly English. No images in.
  • No vendor support. If it breaks, the help desk is a forum thread.

More on privacy: local AI vs cloud AI.

Local vs cloud cost for gpt-oss

OpenAI doesn't host gpt-oss in its API, so there's no official per-token price to beat. The fair comparison is what you'd pay instead: a ChatGPT plan or OpenAI's API prices for its own models.

Assumptions:

  • GPU: GeForce RTX 5070 Ti, 16 GB, launch price (MSRP) $749 one-time, 300 W total graphics power, per NVIDIA's announcement. Street prices vary.
  • Electricity: 18.17 cents per kWh, the EIA US residential average for September 2026.
  • We count the card's rated power only, so a whole PC draws more.
  • 30 days a month.

Light user, 2 hours a day: 300 ÷ 1000 × 60 hours = 18 kWh. 18 × $0.1817 = about $3.27 a month in electricity. Against ChatGPT Plus at $20 a month, you save about $16.73 a month. $749 ÷ $16.73 = about 45 months to pay back the card. Against ChatGPT Go at $8 a month, the saving is about $4.73 a month and payback takes about 158 months. Both assume the 20b replaces the plan for you, which is a big if.

Heavy API user, 8 hours a day: 300 ÷ 1000 × 240 hours = 72 kWh. 72 × $0.1817 = about $13.08 a month. Say you push 20 million input and 5 million output tokens a month. On OpenAI's API pricing page, several models list $2.00 input and $10.00 output per million tokens. That's $40 + $50 = $90 a month. Local saves about $76.92 a month, so payback is about 10 months, but only if gpt-oss-20b is good enough for your tasks. It isn't the same model as the ones priced, so that's a big if. At the lowest-priced model in the table we read ($0.10 input, $0.50 output per million), the same usage costs $2 + $2.50 = $4.50 a month. That's less than the electricity, so local never pays back. How API billing works is in our OpenAI API pricing guide; per-model rates are on OpenAI's pricing page.

Already own a 16 GB card? Your cost is the electricity line and nothing else.

Rent instead: RunPod lists an RTX 4090 (24 GB) at $0.89 an hour on Secure Cloud. 60 hours × $0.89 = $53.40 a month, more than ChatGPT Plus.

The 120b: NVIDIA's 128 GB DGX Spark had a $4,699 Founders Edition MSRP (one-time), per an NVIDIA staff forum post from February 25, 2026; later reports cite higher prices, so check NVIDIA's marketplace. Ollama Cloud carries a gpt-oss:120b-cloud tag, and Ollama Cloud Pro costs $20 a month. Pro includes $60 of monthly usage credits for cloud models; heavier use costs more (see Ollama Cloud). At $4,699 and the $20 plan price, $4,699 ÷ $20 = about 235 months to break even, before electricity. For most people, renting the big model is the saner move. Our Ollama Cloud guide covers the plans, and is local AI cheaper? runs more scenarios.

gpt-oss-20b or 120b: our picks

  • One 16 GB GPU or a 32 GB Mac: gpt-oss-20b. A 16 GB Mac matches OpenAI's floor exactly while also running macOS, so we'd go bigger.
  • A 128 GB Mac Studio or DGX Spark: gpt-oss-120b fits under every figure above. Apple's configurator lists memory upgrade prices.
  • Anything less: try a smaller model from our best local LLM picks, or the 120b on Ollama Cloud.

What to do next

  • Just curious: install Ollama and run ollama run gpt-oss:20b. It costs nothing to see if your machine copes.
  • Paying $20 a month for chat: keep the plan unless privacy matters to you. The card takes about 45 months to pay back.
  • Burning API tokens for a living: price your usage against the $2.00 / $10.00 tier above. Near $90 a month, a 16 GB card pays off in about 10 months, if gpt-oss-20b handles your work.
  • Shopping for hardware: start with our GPU for AI tiers.

Receipts

Official pages behind this story, read Nov 30, 2026
  1. openai.com
    What sizes does gpt-oss come in, and what are the parameter counts? · When was gpt-oss released?
  2. huggingface.co
    What is the license, and is commercial use allowed? · What memory does gpt-oss-120b need, as OpenAI states it?
  3. huggingface.co
    What memory does gpt-oss-20b need, as OpenAI states it?
  4. github.com
    What memory does the llama.cpp project report for gpt-oss? · How do you run gpt-oss with llama.cpp?
  5. ollama.com
    How do you run gpt-oss in Ollama, and what download sizes does Ollama list? · What does Ollama say about reasoning effort?
  6. lmstudio.ai
    How do you run gpt-oss in LM Studio, and what does LM Studio say about memory?
4 more receipts
  1. huggingface.co
    What are the Hugging Face file sizes for gpt-oss?
  2. huggingface.co
    Are there gpt-oss variants beyond the two base models?
  3. huggingface.co
    How popular is gpt-oss on Hugging Face?
  4. developers.openai.com
    Does any official page give a system RAM requirement?

Only pages the company publishes itself are listed. How we check: our method. Spotted a wrong number? Corrections.

Filed under

Local AI: The Hearth“gpt oss”

Front page