← All Tools

Best Grok 4 Alternatives

Grok 4 by xAI is a flagship model priced at $3/15 per 1M tokens (in/out). It's on the expensive side — there are cheaper options with similar quality.

Grok 4

xAIFlagship

Input

$3/1M

Output

$15/1M

Context

128K

Max Output

16K

Why Switch from Grok 4?

Premium pricing for its benchmark tier
Additional charges for tool invocations ($2.50-$5/1K calls)
Smaller ecosystem than OpenAI/Anthropic

Top Alternatives

#1GPT-5.2 CodexOpenAIFlagship

13% cheaper, higher benchmark scores, 66K max output.

Input

$1.75/1M

42% cheaper

Output

$14/1M

7% cheaper

Context

200K

Max Output

66K

MMLU-Pro: 89%(+3.0%)HumanEval: 95.5%(+2.5%)GPQA: 76%(+4.0%)
#2Mistral Large 3MistralFlagship

Dramatically cheaper (61% less), higher benchmark scores.

Input

$2/1M

33% cheaper

Output

$5/1M

67% cheaper

Context

128K

Max Output

16K

MMLU-Pro: 83%(-3.0%)HumanEval: 91%(-2.0%)GPQA:
#3GPT-5OpenAIFlagship

38% cheaper, comparable performance, adds audio.

Input

$1.25/1M

58% cheaper

Output

$10/1M

33% cheaper

Context

128K

Max Output

16K

MMLU-Pro: 88.5%(+2.5%)HumanEval: 95%(+2.0%)GPQA: 73.5%(+1.5%)
#4Gemini 3.1 ProGoogleFlagship

22% cheaper, higher benchmark scores, 1M context (8x more).

Input

$2/1M

33% cheaper

Output

$12/1M

20% cheaper

Context

1M

Max Output

64K

MMLU-Pro: 91%(+5.0%)HumanEval: 95%(+2.0%)GPQA: 94.3%(+22.3%)
#5Gemini 3 ProGoogleFlagship

22% cheaper, higher benchmark scores, 1M context (8x more).

Input

$2/1M

33% cheaper

Output

$12/1M

20% cheaper

Context

1M

Max Output

66K

MMLU-Pro: 89.8%(+3.8%)HumanEval: 94%(+1.0%)GPQA: 77%(+5.0%)
#6Claude Opus 4.6AnthropicFlagship

Higher benchmark scores.

Input

$5/1M

67% more

Output

$25/1M

67% more

Context

200K

Max Output

32K

MMLU-Pro: 89.5%(+3.5%)HumanEval: 95%(+2.0%)GPQA: 75.5%(+3.5%)
#7GPT-5.3 CodexOpenAIFlagship

Higher benchmark scores, 66K max output.

Input

$2/1M

33% cheaper

Output

$16/1M

7% more

Context

200K

Max Output

66K

MMLU-Pro: 90%(+4.0%)HumanEval: 96.5%(+3.5%)GPQA: 78%(+6.0%)
#8Gemini 2.5 ProGoogleMid-Tier

38% cheaper, comparable performance, 1M context (8x more).

Input

$1.25/1M

58% cheaper

Output

$10/1M

33% cheaper

Context

1M

Max Output

66K

MMLU-Pro: 87.5%(+1.5%)HumanEval: 93.5%(+0.5%)GPQA: 76%(+4.0%)

Full Comparison Table

ModelInput $/1MOutput $/1MContextMMLU-ProHumanEvalScore
GPT-5.2 CodexOpenAI$1.7542% cheaper$14.007% cheaper200K89%+3.0%95.5%+2.5%95
Mistral Large 3Mistral$2.0033% cheaper$5.0067% cheaper128K83%-3.0%91%-2.0%95
GPT-5OpenAI$1.2558% cheaper$10.0033% cheaper128K88.5%+2.5%95%+2.0%91
Gemini 3.1 ProGoogle$2.0033% cheaper$12.0020% cheaper1M91%+5.0%95%+2.0%91
Gemini 3 ProGoogle$2.0033% cheaper$12.0020% cheaper1M89.8%+3.8%94%+1.0%91
Claude Opus 4.6Anthropic$5.0067% more$25.0067% more200K89.5%+3.5%95%+2.0%85
GPT-5.3 CodexOpenAI$2.0033% cheaper$16.007% more200K90%+4.0%96.5%+3.5%85
Gemini 2.5 ProGoogle$1.2558% cheaper$10.0033% cheaper1M87.5%+1.5%93.5%+0.5%76
o4-miniOpenAI$1.1063% cheaper$4.4071% cheaper200K85%-1.0%93.5%+0.5%70
o3OpenAI$0.4087% cheaper$1.6089% cheaper200K87%+1.0%94.5%+1.5%70
Gemini 3 FlashGoogle$0.5083% cheaper$3.0080% cheaper1M78%-8.0%90%-3.0%70
GLM-5Zhipu AI$1.0067% cheaper$3.2079% cheaper200K70.4%-15.6%91%-2.0%70
GLM-4.7Zhipu AI$0.6080% cheaper$2.2085% cheaper200K84.3%-1.7%65
Claude Sonnet 4.6Anthropic$3.00Same price$15.00Same price200K86%Same94%+1.0%63
Claude Sonnet 4.5Anthropic$3.00Same price$15.00Same price200K84.5%-1.5%93%Same63
Claude Haiku 4.5Anthropic$0.8073% cheaper$4.0073% cheaper200K69.4%-16.6%88.1%-4.9%58
Mistral Medium 3Mistral$0.4087% cheaper$2.0087% cheaper128K76%-10.0%87%-6.0%58
GPT-4oOpenAI$2.5017% cheaper$10.0033% cheaper128K80.5%-5.5%91%-2.0%57
Gemini 2.5 FlashGoogle$0.1595% cheaper$0.6096% cheaper1M76%-10.0%89.5%-3.5%53
DeepSeek R1DeepSeek$0.5582% cheaper$2.1985% cheaper128K84%-2.0%92%-1.0%53
Llama 4 MaverickMeta$0.3190% cheaper$0.8594% cheaper1M80.5%-5.5%90.2%-2.8%50
MiniMax M2.5MiniMax$0.3090% cheaper$1.2092% cheaper200K82%-4.0%90%-3.0%50
Llama 4 ScoutMeta$0.1894% cheaper$0.6396% cheaper10M74.2%-11.8%86%-7.0%43
DeepSeek V3DeepSeek$0.1495% cheaper$0.2898% cheaper164K78%-8.0%89%-4.0%43
GPT-4o MiniOpenAI$0.1595% cheaper$0.6096% cheaper128K68%-18.0%87.2%-5.8%40

Head-to-Head Comparisons

Alternatives for Other Models