§ LLMS.FREEMODELSVERIFIED 2026

gpt-oss-20b Requirements: VRAM, Ollama and Free API

OpenAI's gpt-oss-20b is a 20.9B Apache 2.0 mixture-of-experts model with 3.6B active parameters for chat, coding and tools. At Q4_K_M with an 8K context it needs about 14.3 GB, fitting an RTX 4060 Ti 16GB or Mac mini 24GB locally, and is verified free on Groq (30 requests per minute, 1,000 per day).

Free on Groq · 1,000 RPD20.9B Total / 3.6B ActiveApache 2.0128K context

Sparse MoE Quick Spec

Free Cloud API · Groq
30 RPM · 1,000 / day
Groq Token Budget
8K TPM · No card
Local Q4 / MXFP4 (8K)
about 14.3 GB
Active Params / Token
3.6B (fast generation)

Specs verified 28 Nov 2026 from huggingface.co/openai/….

§ 01 · GROQ FREE TIER30 RPM · 1,000 RPD · 8,000 TPMNO CARD REQUIRED

Call gpt-oss-20b Free on Groq

Groq hosts openai/gpt-oss-20b on its permanent no-card free tier at 30 RPM, 1,000 RPD and 8,000 TPM — making it one of the highest-allowance free coding and agent APIs available today. Point the standard OpenAI SDK at Groq's endpoint using model ID openai/gpt-oss-20b and your free GROQ_API_KEY.

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.groq.com/openai/v1",
    api_key=os.environ["GROQ_API_KEY"],
)
r = client.chat.completions.create(
    model="openai/gpt-oss-20b",
    messages=[{"role": "user", "content": "Hello"}],
)
print(r.choices[0].message.content)
§ 02 · SPARSE MOE ARCHITECTURE20.9B IN VRAM · 3.6B COMPUTE0.047 MB/TOKEN KV

Why 20.9B Total and 3.6B Active Matters

OpenAI's gpt-oss-20b is a 20.9B-parameter Mixture-of-Experts (MoE) model under Apache 2.0 that activates only 3.6B parameters per token. That sparse MoE design delivers fast token generation comparable to a 3B–4B dense model while retaining the reasoning, coding and tool-calling capability of a 20B checkpoint — and its compact 24-layer, 64 head_dim KV cache uses just 0.047 MB per token.

Many developers assume a 3.6B-active Mixture-of-Experts model only needs 4 GB of VRAM. That is a common trap: the router can select any expert on any token, so all 20.9B parameters must stay loaded in GPU VRAM or unified memory. The payoff is speed — each forward pass computes only 3.6B parameters, giving you 20B-class reasoning at small-model latency, while its 24-layer, 64 head_dim KV cache adds just 0.047 MB per token.

Run Native MXFP4 Weights in Ollama and LM Studio

Ollama supports OpenAI's native MXFP4 weights directly via ollama run gpt-oss:20b (~14.3 GB at 8K context), fitting cleanly on a 16 GB RTX 4060 Ti / RTX 4080 or 24 GB Mac mini. You can also load gpt-oss-20b GGUF builds in LM Studio and llama.cpp.

Memory Needed per Quantization

gpt-oss-20b estimated memory by quantization at 8K context
QuantizationWeightsTotal at 8KFits on
FP1641.8 GB44.9 GBMac Studio 128GB, Mac Studio 64GB
Q4_K_M12.7 GB14.3 GBMac mini 24GB, Mac Studio 128GB, Mac Studio 64GB, RTX 4060 Ti 16GB, RTX 4090, RTX 5090
Q5_K_M14.9 GB16.6 GBMac mini 24GB, Mac Studio 128GB, Mac Studio 64GB, RTX 4090, RTX 5090
Q8_022.2 GB24.3 GBMac Studio 128GB, Mac Studio 64GB, RTX 5090
§ 03 · LICENSEPERMISSIVE APACHE 2.0COMMERCIAL READY

Apache 2.0 Commercial Freedom

Permissive Apache 2.0 license allowing commercial deployment, fine-tuning and redistribution without user-count caps. Read the official license at huggingface.co/openai/….

§ FAQCOMMON QUESTIONSANSWERS

gpt-oss-20b Questions

Is gpt-oss-20b Free?

Yes. openai/gpt-oss-20b is open-weight under Apache 2.0 (free for commercial and local use) and is verified free to call via Groq's API (30 RPM, 1,000 RPD, no card required).

How Much VRAM Does gpt-oss-20b Need?

All 20.9B MoE weights must sit in memory even though only 3.6B parameters activate per token, requiring about 14.3 GB at Q4 / MXFP4 with an 8K context (16 GB GPU or 24 GB Mac recommended). Long contexts add only ~0.05 GB per 1,000 tokens.

How Do I Run gpt-oss-20b in Ollama?

Update Ollama to a recent release supporting MXFP4 and run ollama run gpt-oss:20b. It serves locally at http://localhost:11434/v1 with full OpenAI tool-calling support.

Why Does a 3.6B-Active Model Still Need 16 GB of VRAM?

In a Mixture-of-Experts model, different tokens route to different experts, so all 20.9B parameters must reside in memory. Only 3.6B parameters execute per token, which makes generation fast once loaded.

Free Groq API