Grok-2 (xAI) and Llama 3.1-405B (Meta AI) are both frontier AI models. Grok-2 was published in August 2024 and Llama 3.1-405B in July 2024.
Llama 3.1-405B was trained on 3.8×10²⁵ FLOP, about 1.3x the compute of Grok-2 at 3×10²⁵ FLOP. Training compute is the closest available proxy for how much was invested in a model, though it says nothing on its own about how well that compute was spent.
Grok-2 wins the single benchmark both were scored on. Benchmark counts are a crude scoreboard — the evaluations differ wildly in what they measure and in how saturated they are — so the per-benchmark table below matters more than the tally.