GLM 5 Code vs Grok 4.20
Direktvergleiche für 411 Live-Modelle und Cloud-GPUs: Tokenpreise, Gebühren, Benchmarks und 30-Tage-Kostenkalkulation.
$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.
| Kriterium | GLM 5 Code | Grok 4.20 |
|---|---|---|
| Reasoning | Yes | Yes |
| Eingabemodalitäten | text | text, image, file |
| Tools & 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.
Vollständige Vergleichsmatrix
USD ·| Kriterium | Vergleichen | ||
|---|---|---|---|
| Input / 1M | $1.20 | $1.25 | GLM 5 Code -4.0% |
| Output / 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 | — | — | — |
| Cache-Lesezugriff | $0.30 | $0.20 | Grok 4.20 -33% |
| Web Search / Call | — | $0.005 | — |
| Kontext | 200K (200,000) | 2M (2,000,000) | Grok 4.20 10× |
| Max. Output | 128K (128,000) | 1.8M (1,800,000) | Grok 4.20 14× |
| AA Intelligenz(Artificial Analysis) | — | — | — |
| AA Engineering | — | — | — |
| Funktionen | text | text, image, file | Grok 4.20 |
| Reasoning | Unterstützt | Unterstützt | Gleich |
| Structured Outputs(JSON Schema) | Nicht gelistet | Unterstützt | Grok 4.20 |
| Open-Weight | Open-Weight | Proprietäre API | GLM 5 Code |
30-Tage-Produktionskostenrechner
Tägliche Anfragen, Prompt-Länge und Cache-Trefferrate anpassen.
Häufig gestellte Fragen
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.
Verwandte Direktvergleiche
VergleicheGLM 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