Compare AI models

Specifications
Context window
1M—
API pricing
Input price
$0.40—
Output price
$1.60—
Cached input price
$0.10—
Cheapest input
$0.40Azure—
Cheapest output
$1.60Azure—
$160OpenAI list price—
Benchmarks
HumanEval
93.8%85.7%
MMLU
87.5%86.2%
MathVista
73.1%68.1%
MMMU
72.7%63.2%
Overview
CompanyOpenAISpaceXSI
Release dateApr 14 2025Aug 13 2024
AccessClosedClosed
Model detailsView modelView model

Frequently asked questions

GPT-4.1 mini leads Grok‑2 mini on 4 of the 4 benchmarks they both report (HumanEval, MMLU, MathVista, MMMU). Only GPT-4.1 mini has a verified first-party price for an available API: $0.40 per million input tokens and $1.60 per million output tokens. No currently available pay-as-you-go API rate is tracked for Grok‑2 mini. Grok‑2 mini shipped 244 days before GPT-4.1 mini, so benchmark comparisons should account for the intervening progress.

Published specifications for these two models are limited — see each model page for the latest details.

On HumanEval, GPT-4.1 mini leads at 93.8% vs Grok‑2 mini at 85.7%. On MMLU, GPT-4.1 mini leads at 87.5% vs Grok‑2 mini at 86.2%. On MathVista, GPT-4.1 mini leads at 73.1% vs Grok‑2 mini at 68.1%. On MMMU, GPT-4.1 mini leads at 72.7% vs Grok‑2 mini at 63.2%.