Z.aivsMeta·Updated Nov 2026
CodeGeeX 4 logovsLlama 4 Scout logo

CodeGeeX 4 vs Llama 4 Scout

Side-by-side pricing tables, surcharge math, capability benchmarks, and 30-day spend estimators across 411 live models and cloud GPU matchups.

Switch Comparison Matchup411 · Updated Nov 2026
Cheaper Input
Llama 4 Scout logoLlama 4 Scout-86%

$0.10 vs $0.70 / 1M

Cheaper Output
Llama 4 Scout logoLlama 4 Scout-86%

$0.30 vs $2.10 / 1M

AA Intelligence / AA Engineering
CodeGeeX 4

—

Context Window
Llama 4 Scout logoLlama 4 Scout10×

1.31M vs 128K tokens

Capability Benchmarks & Third-Party Evaluations

Compare Artificial Analysis intelligence and engineering indexes, core capability matrices, and standardized external leaderboards.

AA Intelligence · Engineering · Arena · SWE-bench
Artificial Analysis Benchmarks
AA Intelligence
CodeGeeX 4 logoCodeGeeX 4Pending
Llama 4 Scout logoLlama 4 ScoutPending
AA Engineering
CodeGeeX 4 logoCodeGeeX 4Pending
Llama 4 Scout logoLlama 4 ScoutPending
Core Capability Profile
MetricCodeGeeX 4Llama 4 Scout
ReasoningYes—
Input Modalitiestexttext, image
Tools & JSONToolsTools · JSON
Prompt Caching$0.70/1M$0.10/1M
Open-WeightOpen109B

Side-by-side specification matrix

USD ·
MetricCodeGeeX 4 logoCodeGeeX 4Llama 4 Scout logoLlama 4 ScoutCompare
Input / 1M$0.70$0.10Llama 4 Scout -86%
Output / 1M$2.10$0.30Llama 4 Scout -86%
5m Cache Write / 1M$0.70$0.10Llama 4 Scout -86%
1h Cache Write / 1M———
Cache Read$0.70$0.10Llama 4 Scout -86%
Web Search / Call———
Context128K (128,000)1.31M (1,310,720)Llama 4 Scout 10×
Max Output33K (32,768)16K (16,384)CodeGeeX 4 2×
AA Intelligence(Artificial Analysis)———
AA Engineering———
Capabilitiestexttext, imageLlama 4 Scout
ReasoningSupportedNot listedCodeGeeX 4
Structured Outputs(JSON Schema)Not listedSupportedLlama 4 Scout
Open-WeightOpen-WeightOpen-Weight · 109BEqual

30-day production cost estimator

Adjust daily volume, prompt length, and cache hit rate to model 30-day API spend.

LLM API Monthly Cost Calculator
2,000
2,500
500
50%
0
60,000 · 150.0M · 30.0M
Est. 30-Day Spend
Estimated monthly savings with Llama 4 Scout $144.00/mo ($1,728.00)
-86%
CodeGeeX 4 logoCodeGeeX 4
$168.00/mo
In: $52.50
Cache: $52.50
Out: $63.00
Search: N/A
Llama 4 Scout logoLlama 4 ScoutBest Value
$24.00/mo
In: $7.50
Cache: $7.50
Out: $9.00
Search: N/A

Frequently Asked Questions

Is CodeGeeX 4 or Llama 4 Scout cheaper per API token?

Llama 4 Scout is 86% cheaper on input tokens ($0.10 vs $0.70 per 1M). For output tokens, Llama 4 Scout costs 86% less ($0.30 vs $2.10 per 1M).

How do CodeGeeX 4 and Llama 4 Scout prompt caching discounts compare?

Llama 4 Scout offers 86% cheaper cache reads at $0.10/1M compared to $0.70/1M for CodeGeeX 4. CodeGeeX 4 5m write: $0.70/1M; Llama 4 Scout 5m write: $0.10/1M.

Which model has a larger context window: CodeGeeX 4 or Llama 4 Scout?

Llama 4 Scout provides a 10.2× larger context window (1.31M vs 128K tokens). For single-turn output generation, CodeGeeX 4 caps at 33K tokens and Llama 4 Scout caps at 16K tokens.

How do CodeGeeX 4 and Llama 4 Scout compare on benchmarks and capabilities?

Llama 4 Scout adds native vision/image input support.

Related Head-to-Head Matchups

Comparisons