Model Comparison

Grok 4.5 vs Phi 4Which is better in 2026?

Grok 4.5 significantly outperforms across most benchmarks. Phi 4 is 34.3x cheaper per token.

Verdict: Grok 4.5 vs Phi 4 — which is better?

Grok 4.5 (by xAI) and Phi 4 (by Microsoft) are two of the AI models people compare most. Here is how they stack up on benchmarks, price and capabilities, and which one to pick in 2026.

Grok 4.5 outperforms in 1 benchmarks (GPQA), while Phi 4 is better at 0 benchmarks. Grok 4.5 significantly outperforms across most benchmarks.

On price, Phi 4 is roughly 34.3x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

Grok 4.5 also accepts a larger context window (500,000 input tokens), making it the stronger choice for long documents and large codebases.

Choose Grok 4.5 if…

  • you want the strongest raw capability — it leads on 1 of 1 shared benchmarks
  • you process long inputs — it offers a 500,000 token context window
  • you want the most recent training data — it shipped Jul 2026

Choose Phi 4 if…

  • cost matters — it's about 34.3x cheaper per token
  • you need open weights you can self-host or fine-tune

Performance Benchmarks

Comparative analysis across standard metrics

1 benchmarks

Grok 4.5 outperforms in 1 benchmarks (GPQA), while Phi 4 is better at 0 benchmarks.

Grok 4.5 significantly outperforms across most benchmarks.

Sat Jul 18 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

Phi 4 costs less

For input processing, Grok 4.5 ($2.00/1M tokens) is 28.6x more expensive than Phi 4 ($0.07/1M tokens).

For output processing, Grok 4.5 ($6.00/1M tokens) is 42.9x more expensive than Phi 4 ($0.14/1M tokens).

In conclusion, Grok 4.5 is more expensive than Phi 4.*

* Using a 3:1 ratio of input to output tokens

Lowest available price from all providers
Sat Jul 18 2026 • llm-stats.com
xAI
Grok 4.5
Input tokens$2.00
Output tokens$6.00
Best providerxAI
Microsoft
Phi 4
Input tokens$0.07
Output tokens$0.14
Best providerDeepinfra
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

Grok 4.5 accepts 500,000 input tokens compared to Phi 4's 16,000 tokens. Only Phi 4 specifies output context (16,000 tokens).

xAI
Grok 4.5
Input500,000 tokens
Output- tokens
Microsoft
Phi 4
Input16,000 tokens
Output16,000 tokens
Sat Jul 18 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

Grok 4.5 supports multimodal inputs, whereas Phi 4 does not.

Grok 4.5 can handle both text and other forms of data like images, making it suitable for multimodal applications.

Grok 4.5

Text
Images
Audio
Video

Phi 4

Text
Images
Audio
Video

License

Usage and distribution terms

Grok 4.5 is licensed under a proprietary license, while Phi 4 uses MIT.

License differences may affect how you can use these models in commercial or open-source projects.

Grok 4.5

Proprietary

Closed source

Phi 4

MIT

Open weights

Release Timeline

When each model was launched

Grok 4.5 was released on 2026-07-16, while Phi 4 was released on 2024-12-12.

Grok 4.5 is 19 months newer than Phi 4.

Grok 4.5

Jul 16, 2026

2 days ago

1.6yr newer
Phi 4

Dec 12, 2024

1.6 years ago

Knowledge Cutoff

When training data ends

Grok 4.5 has a knowledge cutoff of 2026-02-01, while Phi 4 has a cutoff of 2024-06-01.

Grok 4.5 has more recent training data (up to 2026-02-01), making it potentially better informed about events through that date compared to Phi 4 (2024-06-01).

Grok 4.5

Feb 2026

1.7 yr newer
Phi 4

Jun 2024

Provider Availability

Grok 4.5 is available from xAI. Phi 4 is available from DeepInfra.

Grok 4.5

xai logo
xAI
Input Price:Input: $2.00/1MOutput Price:Output: $6.00/1M

Phi 4

deepinfra logo
Deepinfra
Input Price:Input: $0.07/1MOutput Price:Output: $0.14/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Larger context window (500,000 tokens)
Supports multimodal inputs
Higher GPQA score (93.0% vs 56.1%)
Less expensive input tokens
Less expensive output tokens
Has open weights

Detailed Comparison

Interactive Arena

Judge for yourself.

Run your own prompts against Grok 4.5 and Phi 4 side-by-side, then vote on the output you prefer.

Grok 4.5
✓ Preferred
Phi 4
Open in Playground
AI Model Comparison Table
Feature
xAI
Grok 4.5
Microsoft
Phi 4

FAQ

Common questions about Grok 4.5 vs Phi 4.

Which is better, Grok 4.5 or Phi 4?

Grok 4.5 significantly outperforms across most benchmarks. Grok 4.5 is made by xAI and Phi 4 is made by Microsoft. The best choice depends on your use case — compare their benchmark scores, pricing, and capabilities above.

How does Grok 4.5 compare to Phi 4 in benchmarks?

Grok 4.5 scores GPQA: 93.0%, Terminal-Bench 2.1: 83.3%, Artificial Analysis Coding Agent Index v1.1: 76.0%, SWE-Bench Pro: 64.7%, AA-Omniscience Index: 63.0%. Phi 4 scores MMLU: 84.8%, HumanEval+: 82.8%, HumanEval: 82.6%, MGSM: 80.6%, MATH: 80.4%.

Is Grok 4.5 cheaper than Phi 4?

Phi 4 is 28.6x cheaper for input tokens. Grok 4.5 costs $2.00/M input and $6.00/M output via xai. Phi 4 costs $0.07/M input and $0.14/M output via deepinfra.

What are the context window sizes for Grok 4.5 and Phi 4?

Grok 4.5 supports 500K tokens and Phi 4 supports 16K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between Grok 4.5 and Phi 4?

Key differences include context window (500K vs 16K), input pricing ($2.00 vs $0.07/M), multimodal support (yes vs no), licensing (Proprietary vs MIT). See the full comparison above for benchmark-by-benchmark results.

Who makes Grok 4.5 and Phi 4?

Grok 4.5 is developed by xAI and Phi 4 is developed by Microsoft.