Grok 3 Mini vs Grok Code

Performance benchmarks + pricing comparison — updated April 2026

Grok 3 Mini

xAI

Cost-effective xAI model for high-volume tasks. Good balance of capability and affordability.

Input$0.300/M
Output$0.500/M
Context128K tokens
Best ForHigh-volume tasks, simple coding, cost-sensitive projects
Benchmark50/100

Grok Code

xAI

xAI's coding-specialized model. Optimized for code generation, debugging, and software engineering tasks.

Input$1.50/M
Output$7.50/M
Context128K tokens
Best ForCode generation, debugging, software development workflows

Cost Comparison by Scenario

Estimated cost per project with 30% cache hit rate. Actual costs may vary based on usage patterns.

ScenarioGrok 3 MiniGrok CodeSavings
Small Script (1K lines) $0.03 $0.28 Grok 3 Mini saves $0.25 (91%)
Medium Feature (10K lines) $0.21 $2.02 Grok 3 Mini saves $1.82 (90%)
Large Project (50K lines) $1.02 $10.13 Grok 3 Mini saves $9.10 (90%)
Code Review (5K lines) $0.07 $0.45 Grok 3 Mini saves $0.38 (86%)

Verdict

Grok 3 Mini wins on both price and performance — $0.300/M input with a benchmark score of N/A/100.

For most developers, this is the clear choice between these two models.

Compare with Other Models