Comprehensive side-by-side LLM comparison
Both models show comparable benchmark performance. Grok 3 mini offers 15.4K more tokens in context window than GPT-OSS-20B. Grok 3 mini is $Infinity cheaper per million tokens. Both models have their strengths depending on your specific coding needs.
OpenAI
GPT-OSS-20B is an open-weight large language model with 20 billion parameters from OpenAI's open-source model initiative. It targets deployments requiring a smaller, efficient model that can run on consumer or mid-tier hardware while maintaining strong reasoning and coding capabilities relative to its size.
xAI
Grok 3 mini, released by xAI alongside Grok 3 in February 2025, is a compact reasoning model from the Grok 3 family featuring RL-enhanced Think mode for extended chain-of-thought processing. It features a 131K token context window and targets STEM tasks, mathematics, and coding applications where cost-efficient reasoning with configurable depth is required.
5 months newer

Grok 3 mini
xAI
2025-02-17

GPT-OSS-20B
OpenAI
2025-08-05
Cost per million tokens (USD)
GPT-OSS-20B
Grok 3 mini
Context window and performance specifications
Average performance across 1 common benchmarks
GPT-OSS-20B
Grok 3 mini
Performance comparison across key benchmark categories
GPT-OSS-20B
Grok 3 mini
Available providers and their performance metrics
GPT-OSS-20B
Hugging Face
Grok 3 mini
GPT-OSS-20B
Grok 3 mini
GPT-OSS-20B
Grok 3 mini
xAI