Model comparison
Grok Code Fast 1 vs Phi-4
Head-to-head evidence from 11 shared benchmark results across 5 categories. Overall scores shown here use the public BenchAlign v5 ranking lane.
Public leaderboard positions: Grok Code Fast 1 #189 (Supported); Phi-4 #202 (Supported). Intervals and evidence labels describe ranking uncertainty, not a guarantee for a specific workload.
Evidence parity. Grok Code Fast 1 and Phi-4 share 11 comparable benchmark results. 0 of 8 categories are comparable. 1 result is unique to Grok Code Fast 1; 0 to Phi-4.
Updated July 24, 2026- Shared results
- 11
- Grok Code Fast 1 only
- 1
- Phi-4 only
- 0
- Comparable categories
- 0 / 8
Benchmark data for Grok Code Fast 1 and Phi-4 is coming soon on BenchLM.
Confidence note. This is a partial-evidence comparison with 11 shared benchmark results across 5 evidence categories; 0 of 8 categories currently have scoreable aggregates for both models. Treat the verdict as directional until coverage is more balanced.
Why this result
BenchLM has partial data for these models, but not enough overlapping benchmark coverage to produce a fair score-level comparison yet.
Grok Code Fast 1 is priced at $0.20 input / $1.50 output per 1M tokens, versus $0.00 input / $0.00 output per 1M tokens for Phi-4. Grok Code Fast 1 has the larger context window at 256K, compared with 16K for Phi-4.
Category breakdown
Exact category averages are shown below. Not measured means BenchLM does not have enough sourced public coverage for that model and category.
| Category | Grok Code Fast 1 | Δ | Phi-4 |
|---|---|---|---|
| Coding | Grok Code Fast 170.8 | MarginNo overlap | Phi-4Not measured |
Operational comparison
Runtime and commercial metrics are compared only when both models have a complete sourced value.
| Metric | Grok Code Fast 1 | Phi-4 | Comparison |
|---|---|---|---|
| Input / output priceUSD per 1M tokens | Grok Code Fast 1$0.2 input / $1.5 output | Phi-4$0 input / $0 output | Phi-4 has the lower combined listed price. |
| Generation speedtokens per second | Grok Code Fast 1172 tok/s | Phi-435 tok/s | Grok Code Fast 1 has the higher measured throughput. |
| First-answer latencyseconds to first token | Grok Code Fast 12.81 s | Phi-42.02 s | Phi-4 reaches the first token sooner. |
| Context windowmaximum listed tokens | Grok Code Fast 1256K | Phi-416K | Grok Code Fast 1 lists the larger context window. |
Benchmark Deep Dive
Agentic1 benchmarks
| Benchmark | Grok Code Fast 1 | Phi-4 | Result |
|---|---|---|---|
| τ²-bench resultsSource | 75.7% | 0% | Grok Code Fast 1 leads |
Coding2 benchmarks
Reasoning2 benchmarks
Knowledge6 benchmarks
| Benchmark | Grok Code Fast 1 | Phi-4 | Result |
|---|---|---|---|
| Artificial Analysis Intelligence IndexSource | 21.6% | 4.9% | Grok Code Fast 1 leads |
| AA-GPQA DiamondSource | 72.7% | 57.5% | Grok Code Fast 1 leads |
| AA-HLESource | 7.5% | 4.1% | Grok Code Fast 1 leads |
| AA-Omniscience IndexSource | -36.0% | -56.7% | Grok Code Fast 1 leads |
| AA-Omniscience AccuracySource | 23.8% | 13.2% | Grok Code Fast 1 leads |
| AA-Omniscience Hallucination RateSource | 78.5% | 80.5% | Grok Code Fast 1 leads |
Inst. Following1 benchmarks
| Benchmark | Grok Code Fast 1 | Phi-4 | Result |
|---|---|---|---|
| AA-IFBenchSource | 41.4% | 23.5% | Grok Code Fast 1 leads |
Frequently Asked Questions (3)
Can I compare Grok Code Fast 1 and Phi-4 on BenchLM yet?
Not fully yet. BenchLM is tracking both models, but the sourced benchmark breakdown for this comparison is still coming soon.
Why does this comparison show “coming soon”?
BenchLM only shows category winners and benchmark-level calls when we have sourced results that can be compared fairly. For these models, the public benchmark coverage is not complete enough yet.
What data is available for Grok Code Fast 1 and Phi-4 today?
Grok Code Fast 1: $0.20 input / $1.50 output per 1M tokens Phi-4: $0.00 input / $0.00 output per 1M tokens Both model pages still include creator, context window, reasoning mode, and other metadata while benchmark coverage fills in.