Amazon Ergo vs GLM 5.4
GLM 5.4 leads Amazon Ergo on coding, 72.7 to 65.7 on the Vibe Coding Index, and Amazon Ergo costs 1.5x less per output token ($3.00 vs $4.40 per million). Updated December 3, 2026; 10 benchmarks have a result for both.
Amazon Ergo or GLM 5.4: which to pick
Pick GLM 5.4 for coding: it scores 72.7 on the Vibe Coding Index against 65.7 for Amazon Ergo, though on 2 benchmarks against 3.
Pick Amazon Ergo for output tokens 1.5x cheaper ($3.00 vs $4.40 per million) and work measured by LiveBench coding or LiveBench long agentic, where it leads.
- Shared results
- 10
- Amazon Ergo only
- 10
- GLM 5.4 only
- 0
- Like-for-like categories
- 5 of 9
Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.
Which one for your work
Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.
Coding
Vibe Coding Index, six public coding benchmarks
GLM 5.4
GLM 5.4 scores 72.7 against 65.7.
3 and 2 benchmarks behind the scores
Intelligence
AA Intelligence Index
No call
Only Amazon Ergo has a AA Intelligence Index result, 38.0.
Directional only
General
Vals Index
No call
Only Amazon Ergo has a Vals Index result, 56.2%.
Directional only
Long documents
Listed context window
No call
Both take 1.05M tokens.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Amazon Ergo
Amazon Ergo $0.0025, GLM 5.4 $0.0036 per turn.
List prices
At a glance
- Coding index
- Amazon Ergo 65.7 from 3 benchmarks, GLM 5.4 72.7 from 2 benchmarks.
- Widest category
- Agentic work, 23.8 points apart on average over 3 shared benchmarks.
- Widest single gap
- LiveBench browser: Amazon Ergo 0.0% against GLM 5.4 64.5%, 64.5 points apart on a 0 to 100 scale.
- Output price
- Amazon Ergo $3.00 against GLM 5.4 $4.40 per million output tokens, 1.5x apart.
- Context window
- Both take 1.05M tokens.
Benchmark by benchmark
First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.
| Category | Amazon Ergo | Bars | GLM 5.4 | Ties |
|---|---|---|---|---|
| Coding | 1 | 3 | ||
| Agentic work | 1 | 2 | ||
| Reasoning | 1 | 0 | ||
| Web design | 0 | 1 | ||
| General | 1 | 0 | ||
| All shared boards | 4 | 6 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index13
| Benchmark | Amazon Ergo | GLM 5.4 | Leader |
|---|---|---|---|
| LiveBench coding | 84.4% | 74.5% | Amazon Ergo |
| LMArena WebDev | 1612 | 1690 | GLM 5.4 |
| Terminal-Bench 4 (Vals AI) | 42.9% | Not measured | Only Amazon Ergo measured |
| FrontierCode 2.0 | 28.8% | Not measured | Only Amazon Ergo measured |
| LMArena WebDev: React | 1636 | 1739 | GLM 5.4 |
| LMArena WebDev: HTML | 1586 | 1675 | GLM 5.4 |
| Neither model has a result on the other 46 boards here | |||
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
| Benchmark | Amazon Ergo | GLM 5.4 | Leader |
|---|---|---|---|
| AA Intelligence Index | 38.0 | Not measured | Only Amazon Ergo measured |
| Neither model has a result on the other 1 board here | |||
Agentic workLike-for-likePublic boards, shown as published, kept out of the index12
| Benchmark | Amazon Ergo | GLM 5.4 | Leader |
|---|---|---|---|
| LiveBench research | 81.7% | 86.0% | GLM 5.4 |
| LiveBench browser | 0.0% | 64.5% | GLM 5.4 |
| LiveBench long agentic | 43.9% | 41.3% | Amazon Ergo |
| Tax Agent Bench (Vals AI) | 23.7% | Not measured | Only Amazon Ergo measured |
| Legal Research Bench (Vals AI) | 33.6% | Not measured | Only Amazon Ergo measured |
| Harvey's Legal Agent Benchmark (Vals AI) | 12.1% | Not measured | Only Amazon Ergo measured |
| Neither model has a result on the other 38 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | Amazon Ergo | GLM 5.4 | Leader |
|---|---|---|---|
| LiveBench reasoning | 87.7% | 85.2% | Amazon Ergo |
| HLE-Diamond (Artificial Analysis run) | 20.5% | Not measured | Only Amazon Ergo measured |
| CritPt v2, hard subset (Artificial Analysis run) | 38.0% | Not measured | Only Amazon Ergo measured |
| Neither model has a result on the other 23 boards here | |||
MathNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Amazon Ergo | GLM 5.4 | Leader |
|---|---|---|---|
| Neither model has a result on 14 boards here | |||
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
| Benchmark | Amazon Ergo | GLM 5.4 | Leader |
|---|---|---|---|
| AA-Omniscience | 19.1 | Not measured | Only Amazon Ergo measured |
| Neither model has a result on the other 20 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Amazon Ergo | GLM 5.4 | Leader |
|---|---|---|---|
| LiveBench design | 70.2% | 74.2% | GLM 5.4 |
| Neither model has a result on the other 8 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | Amazon Ergo | GLM 5.4 | Leader |
|---|---|---|---|
| Vals Index | 56.2% | Not measured | Only Amazon Ergo measured |
| LiveBench data analysis | 79.1% | 72.2% | Amazon Ergo |
| Neither model has a result on the other 47 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Amazon Ergo | GLM 5.4 | Leader |
|---|---|---|---|
| Neither model has a result on 5 boards here | |||
What each workload costs
Three fixed token mixes at each model's listed price, so per-token rates become a bill.
Chat turn
1K input + 500 output tokens
Amazon Ergo costs less
Repository review
50K input + 3K output tokens
Amazon Ergo costs less
Agent loop
200K input + 10K output tokens
Amazon Ergo costs less
Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.
Specification differences
The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.
| Specification | Amazon Ergo | Z.ai GLM 5.4 |
|---|---|---|
| Maker | Amazon | Z.ai |
| Weights | Open weights | Open weights |
| Released | December 1, 2026 | December 2, 2026 |
| Context window | 1.05M | 1.05M |
| Input $/Mtok | $1.00 | $1.40 |
| Output $/Mtok | $3.00 | $4.40 |
| Coding index | 65.7 | 72.7 |
| Independent measurements behind it | 3 | 2 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Amazon Ergo better than GLM 5.4 for coding?
Pick GLM 5.4 for coding: it scores 72.7 on the Vibe Coding Index against 65.7 for Amazon Ergo, though on 2 benchmarks against 3. Pick Amazon Ergo for output tokens 1.5x cheaper ($3.00 vs $4.40 per million) and work measured by LiveBench coding or LiveBench long agentic, where it leads.
Which is cheaper, Amazon Ergo or GLM 5.4?
Amazon Ergo costs $1.00 per million input tokens and $3.00 per million output tokens; GLM 5.4 costs $1.40 and $4.40. Cost per solved task is known for neither of them.
Which has the bigger context window, Amazon Ergo or GLM 5.4?
Neither: both take 1.05M tokens.
How many benchmarks is the Amazon Ergo vs GLM 5.4 comparison based on?
10 benchmarks have a result for both models as of December 3, 2026. Amazon Ergo's coding index rests on 3 independent benchmarks and GLM 5.4's on 2. Where only one model has a result, the page says so instead of naming a winner.