Test gpt-oss-120b Free on SambaNova Cloud
SambaNova Cloud hosts gpt-oss-120b on its no-card Free Tier at 20 RPM, 20 RPD and 200,000 TPD — giving you instant RDU-accelerated access to a 117B model for evaluation without owning a $5,000+ workstation. Use SambaNova Cloud with your free SAMBANOVA_API_KEY and the OpenAI SDK to evaluate a 117B-class Apache 2.0 model immediately.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.sambanova.ai/v1",
api_key=os.environ["SAMBANOVA_API_KEY"],
)
r = client.chat.completions.create(
model="gpt-oss-120b",
messages=[{"role": "user", "content": "Hello"}],
)
print(r.choices[0].message.content)curl https://api.sambanova.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $SAMBANOVA_API_KEY" \
-d '{"model":"gpt-oss-120b","messages":[{"role":"user","content":"Hello"}]}'# Pull native MXFP4 weights (~75.5 GB total at 8K context)
# Fits a 128 GB Mac Studio or single 80 GB H100/A100 GPU
ollama run gpt-oss:120bHow 5.1B Active Parameters Run Locally
OpenAI's gpt-oss-120b is a 116.8B-parameter Apache 2.0 Mixture-of-Experts model that activates only 5.1B parameters per forward pass. That architecture achieves frontier-grade coding, reasoning and tool calling with remarkably low compute per token and a tiny 0.070 MB/token KV cache — though all 116.8B weights still must reside in memory (~75.5 GB at Q4 / MXFP4).
On local hardware, gpt-oss-120b fits cleanly on a 128 GB Mac Studio (via ollama run gpt-oss:120b) or a single 80 GB H100/A100 GPU using native MXFP4 weights. If you have 64 GB RAM or less, use SambaNova's free API or step down to gpt-oss-20b.
gpt-oss-120b vs gpt-oss-20b
| Specification | gpt-oss-120b | gpt-oss-20b |
|---|---|---|
| Total / Active Params | 116.8B / 5.1B | 20.9B / 3.6B |
| Q4 / MXFP4 at 8K | 75.5 GB | 14.3 GB |
| KV Cache per Token | 0.070 MB | 0.047 MB |
| Verified Free API | SambaNova (20 RPD) | Groq (1,000 RPD) |
Memory Needed per Quantization
Calculated at 8K context from 36 layers, 8 KV heads and 64 head dimension (0.07 MB FP16 KV cache per token).
| Quantization | Weights | Total at 8K | Fits on |
|---|---|---|---|
| FP16 | 233.6 GB | 246.4 GB | Requires 192 GB+ unified or multi-GPU server |
| Q4_K_M | 70.8 GB | 75.5 GB | Mac Studio 128GB |
| Q5_K_M | 83.2 GB | 88.5 GB | Mac Studio 128GB |
| Q8_0 | 124.1 GB | 131.5 GB | Requires 192 GB+ unified or multi-GPU server |
Apache 2.0 Commercial License
Permissive Apache 2.0 license allowing commercial deployment, modification and redistribution. Read the full license text at huggingface.co/openai/….