Laguna S 2.1 is a 118B total parameter Mixture-of-Experts model with 8B activated parameters per token, designed for agentic coding and long-horizon work.
gpt-oss-120b
openai·Instruct·released 4 Aug 2025
ollama run gpt-oss:120bgpt-oss-120b is an open-weight chat and text generation model from OpenAI, part of the GPT OSS family. It has 116.8B total parameters and uses a mixture-of-experts design with 5.8B active parameters. It accepts text input, produces text output, and supports a 131,072-token context. It is licensed under Apache 2.0, which permits commercial use. The other size listed in the family is gpt-oss-20b.
How much VRAM does gpt-oss-120b need?
At Q4_K_M gpt-oss-120b needs about 70 GB with an 8K context (70 GB at Q4, 230 GB at full precision). Pick your GPU to see what fits and how fast it runs.
Needs: ≈62 GB · Q4_K_M · 8K context — Pick a GPU to check the fit.
Advanced: context 8K · KV cache 16-bit
Smallest GPU for each quant and context (KV cache 16-bit)
| Quantisation | 4K | 8K | 16K | 32K | 64K | 128K |
|---|---|---|---|---|---|---|
| Q3_K_M | ||||||
| Q4_K_M | ||||||
| Q5_K_M | ||||||
| Q6_K | ||||||
| Q8_0 | ||||||
| FP16 |
≤16 GB card24–32 GB48–96 GBmore
| Quantisation | Total |
|---|---|
| Q2_KHeavy lossSmallest, noticeably worse quality | ≈62 GB |
| Q3_K_MNoticeable lossSmall, some quality loss | ≈62 GB |
| Q4_K_MrecommendedSmall lossRecommended default for local use | ≈62 GB |
| Q5_K_MNear-losslessNear-lossless for most tasks | ≈63 GB |
| Q6_KNear-losslessPractically lossless | ≈63 GB |
| Q8_0LosslessLossless in practice, twice the size of Q4 | ≈63 GB |
| FP16 / BF16LosslessFull precision, as released | ≈65 GB |
Estimates for 8K tokens of context: weights + KV cache + runtime overhead. All experts stay in memory, but only the active ones are read per token. Speed assumes memory-bound decoding at your GPU’s bandwidth. Pick a GPU above and the fit column checks every row against it. Weights marked “file” use the real GGUF download size; “est.” rows are computed from the parameter count.
How to pick a quant
Take the biggest quant that fits with room left for context. Q4_K_M is the usual sweet spot. Below Q4 quality drops fast, above Q6 you mostly pay memory for nothing. Big models (70B+, large MoE) tolerate low quants better than small ones.
- LosslessF16, Q8_0
- Near-losslessQ6_K, Q5_K_M
- Small lossQ5_K_S, Q4_K_M, IQ4_NL, IQ4_XS, Q4_K_S
- Noticeable lossQ4_0, Q3_K_L, Q3_K_M, IQ3_M
- Heavy lossIQ3_XXS, Q3_K_S, IQ2_M, Q2_K
Typical quality loss, not measured per model. Tiers come from KL divergence against FP16 on Llama 3 8B: llama.cpp perplexity README: LLaMA 3 8B scoreboard (KLD and ΔPPL vs FP16, Wikitext-2); llama.cpp quantize tool: ΔPPL per quant type @ Llama-3-8B
How much context fits?
At 8K context, Q4_K_M needs ≈62 GB(58 GB weights + 0.6 GB KV cache + 3.4 GB overhead). Pick a GPU above to see how much context fits.
Weights + overheadKV cache
Can the NVIDIA A100 80GB run gpt-oss-120b? →
Speed vs quality per quant
Smaller quants run faster and fit in less memory, but lose quality.
Fits in VRAMTight fitCPU offload✕ won't runQuality is typical KL divergence vs FP16, not measured for this model.
Real-world speed of gpt-oss-120b
Tokens per second measured by people running it at home. A GPU shows a median once 3 reports agree on the same setup. Reports far from our estimate wait for a review. Measure yours with llama-bench →
No medians yet. Be one of the first 3 to report a setup.
All reports
Run gpt-oss-120b locally
--quantQ4_K_Mdefault; pick your GPU to tailor itunsloth/gpt-oss-120b-GGUF
ollama run gpt-oss:120bThe library build picks its own default quantisation.
ollama run hf.co/unsloth/gpt-oss-120b-GGUF:Q4_K_M llama-server -hf unsloth/gpt-oss-120b-GGUF:Q4_K_MDownloads the GGUF on first run. Installed through llama.app? The same flags work with `llama serve`.
lms get unsloth/gpt-oss-120b-GGUF@Q4_K_MThen load it from the LM Studio app or with `lms load`.
pip install mlx-lm
mlx_lm.generate --model lmstudio-community/gpt-oss-120b-MLX-8bit --prompt "Hello"Use `mlx_lm.chat` with the same --model for an interactive chat.
mlx_lm.server --model lmstudio-community/gpt-oss-120b-MLX-8bit --port 8080API on http://localhost:8080/v1.
vllm serve openai/gpt-oss-120bservices:
vllm:
image: vllm/vllm-openai:latest
command: openai/gpt-oss-120b
ports:
- "8000:8000"
ipc: host
volumes:
- ~/.cache/huggingface:/root/.cache/huggingface
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]API on port 8000.
sglang serve openai/gpt-oss-120b --host 0.0.0.0 --port 30000services:
sglang:
image: lmsysorg/sglang:latest
command: sglang serve openai/gpt-oss-120b --host 0.0.0.0 --port 30000
ports:
- "30000:30000"
ipc: host
volumes:
- ~/.cache/huggingface:/root/.cache/huggingface
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]API on port 30000.
from transformers import pipeline
pipe = pipeline("text-generation", model="openai/gpt-oss-120b", dtype="auto", device_map="auto")
messages = [{"role": "user", "content": "Explain self-hosting in one paragraph."}]
out = pipe(messages, max_new_tokens=512)
print(out[0]["generated_text"][-1]["content"])Benchmarks
| Benchmark | Score | Source |
|---|---|---|
| MMLU-Pro | 80.8% | independent |
| GPQA Diamond | 80.8% | independent |
| Humanity's Last Exam | 11.3% | self-reported |
| SWE-bench Verified | 52.6% | self-reported |
| SWE-bench Pro | 16.2% | independent |
| LMArena Text | 1365 | independent |
| Aider Polyglot | 41.8% | independent |
| LiveBench | 46.09 | independent |
Self-reported scores come from the model card and are not independently verified. Rank is among all models with a score on that benchmark.
Quantised versions and downloads
| Repository | Format | Quant | Size |
|---|---|---|---|
| unsloth/gpt-oss-120b-unsloth-bnb-4bit | Safetensors | BNB-4BIT | — |
| tiny-random/gpt-oss-mxfp4 | Safetensors | MXFP4 | — |
| amd/gpt-oss-120b-w-mxfp4-a-fp8 | Safetensors | MXFP4 | — |
| unsloth/gpt-oss-120b-GGUF | GGUF | Q2_K | 63 GB |
| unsloth/gpt-oss-120b-GGUF | GGUF | Q3_K_S | 63 GB |
| unsloth/gpt-oss-120b-GGUF | GGUF | Q3_K_M | 63 GB |
| unsloth/gpt-oss-120b-GGUF | GGUF | Q4_0 | 63 GB |
| unsloth/gpt-oss-120b-GGUF | GGUF | Q4_1 | 63 GB |
| unsloth/gpt-oss-120b-GGUF | GGUF | Q2_K_L | 63 GB |
| unsloth/gpt-oss-120b-GGUF | GGUF | Q4_K_M | 63 GB |
About gpt-oss-120b
Welcome to the gpt-oss series, OpenAI’s open-weight models designed for powerful reasoning, agentic tasks, and versatile developer use cases. We’re releasing two flavors of these open models: - gpt-oss-120b — for production, general purpose, high reasoning use cases that fit into a single 80GB GPU (like NVIDIA H100 or AMD MI300X) (117B parameters with 5.1B active parameters) - gpt-oss-20b — for lower latency, and local or specialized use cases (21B parameters with 3.6B active parameters) Both models were trained on our harmony response format and should only be used with the harmony format as it will not work correctly otherwise.
Full model card on Hugging Face →Other GPT OSS models
Whole family →Alternatives to gpt-oss-120b
All alternatives →For more details on how to deploy and use the model - see the Quick Start Guide below!
Chirp Chirp! 🐦 Meet Ornith-1.5-122B: No Tradeoff Between Strong and Fast Stronger. Faster. Leaner. It delivers stronger benchmark results, finishes tasks faster, and produces shorter outputs, bringing better instruction following, stronger task decomposition, and deeper knowledge of real-world…
👋 Join our Discord community. 📖 Check out the GLM-4.5 technical blog , technical report , and Zhipu AI technical documentation . 📍 Use GLM-4.5 API services on Z.ai API Platform (Global) or Zhipu AI Open Platform (Mainland China) . 👉 One click to GLM-4.5 .
We're introducing Ling-3.0-flash, our next-generation native hybrid reasoning model. Operating with 124B total and 5.1B active parameters (~12.4% and ~8.1% of our previous 1T-class flagship Ring-2.6-1T), Ling-3.0-flash matches or outperforms its predecessor across key benchmarks.
Solar Open is Upstage's flagship 102B-parameter large language model, trained entirely from scratch and released under the Upstage Solar License (see LICENSE for details).
gpt-oss-120b FAQ
- How much VRAM does gpt-oss-120b need?
- About 70 GB at Q4_K_M with an 8K context. Q8_0 needs about 122 GB and full precision about 230 GB. Longer contexts need more memory for the KV cache.
- Can gpt-oss-120b run on the NVIDIA A100 80GB?
- Yes. It fits at FP16 / BF16 (about 65 GB), at an estimated 98 tokens/s. It fits comfortably on the Apple M4 Max 40-core (128 GB), RTX PRO 6000 Blackwell, Ryzen AI Max+ 395 (128 GB).
- Can I use gpt-oss-120b commercially?
- Yes. It is released under Apache 2.0. Permissive: use, modify and sell freely; keep the notice and licence text.
- What is the context length of gpt-oss-120b?
- 131,072 tokens (128K). The full window needs far more memory than an 8K context.
- How do I run gpt-oss-120b with Ollama or llama.cpp?
- With Ollama: ollama run gpt-oss:120b. With llama.cpp: llama-server -hf unsloth/gpt-oss-120b-GGUF:Q4_K_M, which starts an OpenAI-compatible server.
Rate this model
Data from Hugging Face, the model card and public leaderboards. Memory and speed figures are estimates; real numbers depend on the runtime, context length and drivers. Always check the licence yourself before commercial use.
0 comments