Model Comparison

GLM-4.7-Flash vs Grok 4 FastWhich is better in 2026?

Grok 4 Fast significantly outperforms across most benchmarks. GLM-4.7-Flash is 1.8x cheaper per token.

Verdict: GLM-4.7-Flash vs Grok 4 Fast — which is better?

GLM-4.7-Flash (by Zhipu AI) and Grok 4 Fast (by xAI) 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.

GLM-4.7-Flash outperforms in 0 benchmarks, while Grok 4 Fast is better at 4 benchmarks (AIME 2025, BrowseComp, GPQA, Humanity's Last Exam). Grok 4 Fast significantly outperforms across most benchmarks.

On price, GLM-4.7-Flash is roughly 1.8x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

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

Choose GLM-4.7-Flash if…

  • cost matters — it's about 1.8x cheaper per token
  • you want the most recent training data — it shipped Jan 2026
  • you need open weights you can self-host or fine-tune

Choose Grok 4 Fast if…

  • you want the strongest raw capability — it leads on 4 of 4 shared benchmarks
  • you process long inputs — it offers a 2,000,000 token context window

Performance Benchmarks

Comparative analysis across standard metrics

4 benchmarks

GLM-4.7-Flash outperforms in 0 benchmarks, while Grok 4 Fast is better at 4 benchmarks (AIME 2025, BrowseComp, GPQA, Humanity's Last Exam).

Grok 4 Fast significantly outperforms across most benchmarks.

Tue Jul 21 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

GLM-4.7-Flash costs less

For input processing, GLM-4.7-Flash ($0.07/1M tokens) is 2.9x cheaper than Grok 4 Fast ($0.20/1M tokens).

For output processing, GLM-4.7-Flash ($0.40/1M tokens) is 1.3x cheaper than Grok 4 Fast ($0.50/1M tokens).

In conclusion, Grok 4 Fast is more expensive than GLM-4.7-Flash.*

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

Lowest available price from all providers
Tue Jul 21 2026 • llm-stats.com
Zhipu AI
GLM-4.7-Flash
Input tokens$0.07
Output tokens$0.40
Best providerUnknown Organization
xAI
Grok 4 Fast
Input tokens$0.20
Output tokens$0.50
Best providerxAI
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

Grok 4 Fast accepts 2,000,000 input tokens compared to GLM-4.7-Flash's 128,000 tokens. Grok 4 Fast can generate longer responses up to 30,000 tokens, while GLM-4.7-Flash is limited to 16,384 tokens.

Zhipu AI
GLM-4.7-Flash
Input128,000 tokens
Output16,384 tokens
xAI
Grok 4 Fast
Input2,000,000 tokens
Output30,000 tokens
Tue Jul 21 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

Grok 4 Fast supports multimodal inputs, whereas GLM-4.7-Flash does not.

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

GLM-4.7-Flash

Text
Images
Audio
Video

Grok 4 Fast

Text
Images
Audio
Video

License

Usage and distribution terms

GLM-4.7-Flash is licensed under MIT, while Grok 4 Fast uses a proprietary license.

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

GLM-4.7-Flash

MIT

Open weights

Grok 4 Fast

Proprietary

Closed source

Release Timeline

When each model was launched

GLM-4.7-Flash was released on 2026-01-19, while Grok 4 Fast was released on 2025-08-28.

GLM-4.7-Flash is 5 months newer than Grok 4 Fast.

GLM-4.7-Flash

Jan 19, 2026

6 months ago

4mo newer
Grok 4 Fast

Aug 28, 2025

10 months ago

Knowledge Cutoff

When training data ends

Neither model specifies a knowledge cutoff date.

Unable to compare the recency of their training data.

No cutoff dates available

Provider Availability

GLM-4.7-Flash is available from ZAI. Grok 4 Fast is available from xAI.

GLM-4.7-Flash

z logo
Unknown Organization
Input Price:Input: $0.07/1MOutput Price:Output: $0.40/1M

Grok 4 Fast

xai logo
xAI
Input Price:Input: $0.20/1MOutput Price:Output: $0.50/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Less expensive input tokens
Less expensive output tokens
Has open weights
Larger context window (2,000,000 tokens)
Supports multimodal inputs
Higher AIME 2025 score (92.0% vs 91.6%)
Higher BrowseComp score (44.9% vs 42.8%)
Higher GPQA score (85.7% vs 75.2%)
Higher Humanity's Last Exam score (20.0% vs 14.4%)

Detailed Comparison

Interactive Arena

Judge for yourself.

Run your own prompts against GLM-4.7-Flash and Grok 4 Fast side-by-side, then vote on the output you prefer.

GLM-4.7-Flash
✓ Preferred
Grok 4 Fast
Open in Playground
AI Model Comparison Table
Feature
Zhipu AI
GLM-4.7-Flash
xAI
Grok 4 Fast

FAQ

Common questions about GLM-4.7-Flash vs Grok 4 Fast.

Which is better, GLM-4.7-Flash or Grok 4 Fast?

Grok 4 Fast significantly outperforms across most benchmarks. GLM-4.7-Flash is made by Zhipu AI and Grok 4 Fast is made by xAI. The best choice depends on your use case — compare their benchmark scores, pricing, and capabilities above.

How does GLM-4.7-Flash compare to Grok 4 Fast in benchmarks?

GLM-4.7-Flash scores AIME 2025: 91.6%, Tau-bench: 79.5%, GPQA: 75.2%, SWE-Bench Verified: 59.2%, BrowseComp: 42.8%. Grok 4 Fast scores SimpleQA: 95.0%, HMMT 2025: 93.3%, AIME 2025: 92.0%, GPQA: 85.7%, LiveCodeBench: 80.0%.

Is GLM-4.7-Flash cheaper than Grok 4 Fast?

GLM-4.7-Flash is 2.9x cheaper for input tokens. GLM-4.7-Flash costs $0.07/M input and $0.40/M output via z. Grok 4 Fast costs $0.20/M input and $0.50/M output via xai.

What are the context window sizes for GLM-4.7-Flash and Grok 4 Fast?

GLM-4.7-Flash supports 128K tokens and Grok 4 Fast supports 2.0M tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between GLM-4.7-Flash and Grok 4 Fast?

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

Who makes GLM-4.7-Flash and Grok 4 Fast?

GLM-4.7-Flash is developed by Zhipu AI and Grok 4 Fast is developed by xAI.