GLM 5 Code vs Grok 4.20
Comparatifs côte à côte sur 411 modèles actifs : tarifs par 1M de tokens, frais, benchmarks et coût mensuel estimé.
$1.20 vs $1.25 / 1M
$2.50 vs $5.00 / 1M
—
2M vs 200K tokens
Capability Benchmarks & Third-Party Evaluations
Compare Artificial Analysis intelligence and engineering indexes, core capability matrices, and standardized external leaderboards.
| Critère | GLM 5 Code | Grok 4.20 |
|---|---|---|
| Raisonnement | Yes | Yes |
| Modalités d'Entrée | text | text, image, file |
| Outils & JSON | Tools | Tools · JSON |
| Prompt Caching | $0.30/1M | $0.20/1M |
| Open-Weight | Open | Proprietary |
Compare independent Intelligence Index, Engineering/Coding scores, tokens/sec throughput, and TTFT latency for GLM 5 Code and Grok 4.20.
Blind pairwise human preference Elo ratings across Overall, Coding, Hard Prompts, and Instruction Following.
Measures autonomous GitHub repository issue resolution rates in sandboxed software engineering evaluations.
Monthly refreshed objective tests spanning Math, Coding, Reasoning, Data Analysis, and Language.
Evaluates practical diff editing pass rates and API cost per benchmark run across Python, C++, Go, Java, JS, and Rust.
Live provider uptime, latency, throughput, and parameter support for x-ai/grok-4.20.
Matrice comparative complète
USD ·| Critère | Comparer | ||
|---|---|---|---|
| Entrée / 1M | $1.20 | $1.25 | GLM 5 Code -4.0% |
| Sortie / 1M | $5.00 | $2.50 | Grok 4.20 -50% |
| 5m Cache Write / 1M | $0.00 | $1.25 | GLM 5 Code -100% |
| 1h Cache Write / 1M | — | — | — |
| Lecture Cache | $0.30 | $0.20 | Grok 4.20 -33% |
| Web Search / Call | — | $0.005 | — |
| Contexte | 200K (200,000) | 2M (2,000,000) | Grok 4.20 10× |
| Sortie max | 128K (128,000) | 1.8M (1,800,000) | Grok 4.20 14× |
| AA Intelligence(Artificial Analysis) | — | — | — |
| AA Ingénierie | — | — | — |
| Capacités | text | text, image, file | Grok 4.20 |
| Raisonnement | Supporté | Supporté | Égal |
| Structured Outputs(JSON Schema) | Non listé | Supporté | Grok 4.20 |
| Open-Weight | Open-Weight | API propriétaire | GLM 5 Code |
Simulateur de coût mensuel (30 jours)
Ajustez requêtes/jour, longueur de prompt et cache pour estimer le coût sur 30 jours.
Questions Fréquentes
Is GLM 5 Code or Grok 4.20 cheaper per API token?
GLM 5 Code is 4.0% cheaper on input tokens ($1.20 vs $1.25 per 1M). For output tokens, Grok 4.20 costs 50% less ($2.50 vs $5.00 per 1M).
How do GLM 5 Code and Grok 4.20 prompt caching discounts compare?
Grok 4.20 offers 33% cheaper cache reads at $0.20/1M compared to $0.30/1M for GLM 5 Code. GLM 5 Code 5m write: $0.00/1M; Grok 4.20 5m write: $1.25/1M.
Which model has a larger context window: GLM 5 Code or Grok 4.20?
Grok 4.20 provides a 10× larger context window (2M vs 200K tokens). For single-turn output generation, GLM 5 Code caps at 128K tokens and Grok 4.20 caps at 1.8M tokens.
How do GLM 5 Code and Grok 4.20 compare on benchmarks and capabilities?
Grok 4.20 adds native vision/image input support, and GLM 5 Code releases open weights for self-hosting or dedicated inference.
Comparatifs Associés
ComparatifsGLM 5 Code vs Gemini 1.5 Pro
In: $1.20 vs $1.25 · Out: $5.00 vs $5.00
GLM 5 Code vs Gemini 2.5 Computer Use Preview 10 2025
In: $1.20 vs $1.25 · Out: $5.00 vs $10.00
GLM 5 Code vs Gemini 2.5 Pro
In: $1.20 vs $1.25 · Out: $5.00 vs $10.00
Grok 4.20 vs Llama 4 Scout
In: $1.25 vs $0.10 · Out: $2.50 vs $0.30
Grok 4.20 vs DeepSeek V4.1 Flash
In: $1.25 vs $0.14 · Out: $2.50 vs $0.42
Grok 4.20 vs DeepSeek V4 Pro
In: $1.25 vs $0.89 · Out: $2.50 vs $1.51