Comprehensive side-by-side LLM comparison
GPT-4o mini leads with 8.6% higher average benchmark score. Grok-4 offers 119.6K more tokens in context window than GPT-4o mini. GPT-4o mini is $17.25 cheaper per million tokens. Overall, GPT-4o mini is the stronger choice for coding tasks.
OpenAI
GPT-4o mini is a multimodal language model developed by OpenAI. It achieves strong performance with an average score of 63.5% across 9 benchmarks. It excels particularly in HumanEval (87.2%), MGSM (87.0%), MMLU (82.0%). It supports a 144K token context window for handling large documents. The model is available through 1 API provider. As a multimodal model, it can process and understand text, images, and other input formats seamlessly. Released in 2024, it represents OpenAI's latest advancement in AI technology.
xAI
Grok-4 is a multimodal language model developed by xAI. It achieves strong performance with an average score of 63.1% across 7 benchmarks. It excels particularly in AIME 2025 (91.7%), HMMT25 (90.0%), GPQA (87.5%). It supports a 264K token context window for handling large documents. The model is available through 2 API providers. As a multimodal model, it can process and understand text, images, and other input formats seamlessly. Released in 2025, it represents xAI's latest advancement in AI technology.
11 months newer
GPT-4o mini
OpenAI
2024-07-18
Grok-4
xAI
2025-07-09
Cost per million tokens (USD)
GPT-4o mini
Grok-4
Context window and performance specifications
Average performance across 15 common benchmarks
GPT-4o mini
Grok-4
GPT-4o mini
2023-10-01
Grok-4
2024-12-31
Available providers and their performance metrics
GPT-4o mini
Azure
Grok-4
GPT-4o mini
Grok-4
GPT-4o mini
Grok-4
xAI
ZeroEval