Claude 2 (Anthropic) and Grok 4 (xAI) are both frontier AI models. Claude 2 was published in July 2023 and Grok 4 in July 2025.
Grok 4 was trained on 5×10²⁶ FLOP, about 129.3x the compute of Claude 2 at 3.9×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 4 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.