Comprehensive side-by-side LLM comparison
Grok-3 Mini leads with 53.6% higher average benchmark score. Llama 3.1 8B Instruct offers 126.1K more tokens in context window than Grok-3 Mini. Llama 3.1 8B Instruct is $0.74 cheaper per million tokens. Grok-3 Mini supports multimodal inputs. Llama 3.1 8B Instruct is available on 9 providers. Overall, Grok-3 Mini is the stronger choice for coding tasks.
xAI
Grok 3 Mini was developed as an efficient version of Grok 3, designed to bring next-generation capabilities to resource-conscious deployments. Built to provide strong performance with practical efficiency, it extends Grok 3's innovations to broader application scenarios.
Meta
Llama 3.1 8B was developed as an efficient open-source model, designed to bring capable instruction-following to applications with limited computational resources. Built with 8 billion parameters, it provides a lightweight option for developers seeking reliable performance without the overhead of larger models.
6 months newer

Llama 3.1 8B Instruct
Meta
2024-07-23

Grok-3 Mini
xAI
2025-02-17
Cost per million tokens (USD)

Grok-3 Mini

Llama 3.1 8B Instruct
Context window and performance specifications
Average performance across 1 common benchmarks

Grok-3 Mini

Llama 3.1 8B Instruct
Llama 3.1 8B Instruct
2023-12-31
Grok-3 Mini
2024-11-17
Available providers and their performance metrics

Grok-3 Mini
xAI

Llama 3.1 8B Instruct

Grok-3 Mini

Llama 3.1 8B Instruct

Grok-3 Mini

Llama 3.1 8B Instruct
Bedrock
Cerebras
DeepInfra
Fireworks
Groq
Hyperbolic
Lambda
Sambanova
Together