Comprehensive side-by-side LLM comparison
Grok 4 leads with 7.4% higher average benchmark score. Grok 4 offers 146.4K more tokens in context window than GPT-OSS-20B. Grok 4 is $Infinity cheaper per million tokens. Grok 4 supports multimodal inputs. Overall, Grok 4 is the stronger choice for coding tasks.
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 4, released by xAI on July 10, 2025, is a large language model featuring first-principles reasoning and comprehensive multimodal support. It features a 260K token context window and demonstrated strong performance on advanced reasoning and coding benchmarks. Grok 4 targets complex multi-step reasoning tasks, scientific analysis, and agentic workflows via the xAI API.
26 days newer

Grok 4
xAI
2025-07-10

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