Last updated: December 2, 2026
Amazon Ergo beats GLM-5.3 on nearly every coding benchmark in Amazon’s launch table, including DeepSWE (74.2 vs 69.5) and Terminal-Bench 4.0 (46.2 vs 36.9). GLM-5.3 wins on its license, which only adds conditions for operators above $10 billion in revenue, and on GDPval-AA (87.4 vs 86.2).
Pick Ergo for stronger agentic coding and fast Bedrock hosting. Pick GLM-5.3, or its smaller Flash version, for looser license terms and cheaper self-hosting.
| Amazon Ergo | GLM-5.3 | |
|---|---|---|
| Developer | Amazon (US) | Z.ai (China) |
| Release | December 2026 | August 2026 |
| Parameters (total / active) | 1.1T / 55B | Large MoE (Flash version also available) |
| DeepSWE | 74.2 | 69.5 |
| FrontierSWE v2 | 31.5 | 30.2 |
| Terminal-Bench 4.0 | 46.2 | 36.9 |
| AutomationBench-AA | 70.0 | 62.2 |
| GDPval-AA 1.0 | 86.2 | 87.4 |
| Hosted price per 1M tokens (input / output) | $1 / $3 | About $1.20 / $4 |
| License | Free, MaaS deal above $20M revenue | Free, clause above $10B revenue |
Scores are from the Ergo launch materials and model card, which combine Amazon’s own runs with results from independent public leaderboards. Independent verification of Amazon’s runs is still in progress.
Ergo leads GLM-5.3 on eleven of the twelve tests in Amazon’s table, with the widest gaps on Terminal-Bench 4.0, AutomationBench-AA and Terminal-Bench Science (21.3 vs 5.7). The FrontierSWE v2 gap is small at 31.5 vs 30.2.
GLM-5.3 is still a strong agentic coder; third-party rankings place it near Kimi K3 on Terminal-Bench 2.1.
Ergo generates more than 400 tokens per second on Bedrock at $1 input and $3 output per million tokens. GLM-5.3 lists around $1.20 input and $4 output on hosted leaderboards, and GLM-5.3-Flash drops to about $0.15 and $0.50.
If cost per token matters more than top accuracy, GLM-5.3-Flash is hard to beat.
GLM-5.3’s only extra clause targets service operators with more than $10 billion in revenue. Ergo’s license asks model-as-a-service businesses above $20 million to sign a separate agreement, while leaving internal use and embedded products free. For most companies, both are effectively open.
Amazon Ergo launched on December 1, 2026 as Amazon’s first large open-weight model, built for coding agents and multi-step enterprise work.
GLM-5.3 is the August 2026 release from Z.ai (formerly Zhipu AI), alongside a smaller GLM-5.3-Flash. Z.ai positions it as its most capable open-weights model for coding, with a one-million-token context window and strong tool use.
GLM models have built a following among developers who use open coding tools, partly because of their very permissive licensing and low hosted prices. Third-party rankings place GLM-5.3 near Kimi K3 on Terminal-Bench 2.1, and it sits in the open-model top ten on most aggregate leaderboards.
The Flash version matters as much as the flagship. At hosted prices around $0.15 per million input tokens and $0.50 per million output tokens, it is one of the cheapest capable models you can call, and it is small enough to self-host on a multi-GPU server.
| Benchmark | Amazon Ergo | GLM-5.3 |
|---|---|---|
| DeepSWE | 74.2 | 69.5 |
| FrontierSWE v2 | 31.5 | 30.2 |
| Terminal-Bench 4.0 | 46.2 | 36.9 |
| AutomationBench-AA | 70.0 | 62.2 |
| Terminal-Bench Science | 21.3 | 5.7 |
| GDPval-AA 1.0 | 86.2 | 87.4 |
Ergo’s lead is widest on long terminal tasks and automation, which are closest to what a coding agent does all day. GLM-5.3 is very close on FrontierSWE v2 and slightly ahead on GDPval-AA, a benchmark of economically useful professional tasks. In other words, GLM-5.3 is a strong generalist that is a step behind Ergo specifically on agentic engineering.
For 2 billion input tokens and 500 million output tokens a month, Ergo on Bedrock costs about $3,500 at list price, or about $2,530 if half the input is cached. GLM-5.3 at around $1.20 input and $4 output costs about $4,400 for the same volume, while GLM-5.3-Flash at $0.15 and $0.50 costs about $550.
That makes the decision less about Ergo versus GLM-5.3 and more about whether your tasks need flagship quality. Many teams route easy tasks to GLM-5.3-Flash and hard ones to Ergo.
Public benchmarks are a starting point. The only result that matters is how each model performs on your own code and tools. A simple, fair bake-off takes a week or two.
Teams that run this kind of test often find that the cheaper, faster model wins on routine tickets and the stronger model wins on the long tail of hard ones. That points to a routing setup rather than a single winner.
Both models expose OpenAI-compatible APIs through their hosts, so most coding tools can use either with a base URL and a model name. Codex CLI, OpenCode, Cline-style editors and LiteLLM proxies all work this way. Amazon also put Ergo into Kiro, its own coding environment, on launch day, and Ergo is listed on OpenRouter as amazon/ergo-1.0.
For self-hosting, vLLM and SGLang are the standard serving engines for large open MoE models. Ergo had day-one support in both, including a dedicated vLLM container, and Amazon ships a small DSpark draft model for speculative decoding. Check each model card for the recommended flags, because they change as engines add native support.
A one-million-token window can hold a large slice of a codebase, but filling it is slow and costly on every call. Most production agents retrieve the relevant files and keep the working context to tens of thousands of tokens, then rely on caching so repeated context is cheap. Ergo’s sliding-window design, where three of every four layers attend only to the last 512 tokens, is meant to keep long contexts affordable, and Bedrock’s $0.03 cached input price rewards stable prompts.
Whichever model you pick, measure quality at the context lengths you will actually use. Models that score well at short lengths do not always stay sharp at hundreds of thousands of tokens.
| If you are… | Pick |
|---|---|
| An AWS team building coding agents | Amazon Ergo |
| An inference reseller | GLM-5.3 (simplest license) |
| On a tight budget | GLM-5.3-Flash |
| Needing a US-origin model | Amazon Ergo |
| Running general professional tasks | Either; GLM-5.3 is close |
A common setup uses two models: a cheap one for routine steps and a stronger one for hard steps. GLM-5.3-Flash can classify tasks, summarize logs and handle simple edits, while Ergo takes multi-file changes and debugging. A gateway such as LiteLLM or OpenRouter routes each request based on rules or a small classifier, and the combined cost is often far below running Ergo alone.
| Benchmark | Ergo | Kimi K3.1 Pro | GLM-5.3 | Mistral Large 4 | Inkling 2 Small |
|---|---|---|---|---|---|
| FMR-Bench AI SWE | 65.4 | 58.6 | 44.3 | 39.4 | 51.3 |
| FMR-Bench Ultra Long Horizon | 20.5 | 13.1 | 9.7 | 7.5 | 6.0 |
| FMR-Bench Code Quality | 32.1 | 28.1 | 19.7 | 20.4 | 26.6 |
| DeepSWE | 74.2 | 77.9 | 69.5 | 59.1 | 67.3 |
| FrontierSWE v2 | 31.5 | 29.3 | 30.2 | 15.8 | 25.9 |
| Terminal-Bench 4.0 | 46.2 | 63.3 | 36.9 | 30.1 | 12.9 |
| ProgramBench | 23.5 | 24.1 | 14.8 | 12.7 | 12.2 |
| Terminal-Bench Science | 21.3 | 35.7 | 5.7 | 3.1 | 2.9 |
| FrontierML | 24.5 | 29.6 | 19.6 | 12.7 | 8.8 |
| AutomationBench-AA | 70.0 | 73.3 | 62.2 | 57.8 | 45.6 |
| GDPval-AA 1.0 | 86.2 | 89.0 | 87.4 | 86.7 | 88.4 |
| Briefcase-AA 1.1 (Elo) | 1,615 | 1,672 | 1,498 | 1,347 | 1,527 |
Source: the Ergo model card on Hugging Face. Some cells are Amazon’s own runs and others come from independent public leaderboards, as the card marks. Ergo leads Amazon’s internal FMR-Bench rows and FrontierSWE v2; Kimi K3.1 Pro leads most public benchmarks.
ProgramBench, FrontierML and GDPval-AA did not appear in the headline launch coverage but tell the same story. Kimi K3.1 Pro edges Ergo on whole-program construction and machine learning research tasks, and the models are within a few points of each other on GDPval-AA’s professional tasks.
Ergo is built by Amazon in the US. GLM-5.3 comes from Z.ai in China. If you self-host either, prompts and outputs stay on your infrastructure. The difference matters mainly where customers or regulators restrict models by country of origin. In that case, Ergo or another US model is the safer pick; see our US open-weight models list.
Per dollar of output tokens, Ergo is the stronger agentic coder of the two flagships, while GLM-5.3-Flash is the cheapest capable option of all. If you can only run one model, pick by your hardest common task: Ergo if it is multi-file engineering, GLM-5.3 if it is general professional work with a resale angle.
We compared Amazon’s benchmark table, Z.ai’s model card, hosted price listings and both license texts. Read more about our research and ranking process.
Yes, on Amazon’s published benchmarks Ergo leads GLM-5.3 on DeepSWE, FrontierSWE v2, Terminal-Bench 4.0 and AutomationBench-AA.
GLM-5.3. Its only restriction applies to service operators above $10 billion in revenue, compared with Ergo’s $20 million threshold for model-as-a-service businesses.
Yes. GLM-5.3-Flash is a smaller version for multi-GPU self-hosting, priced around $0.15 per million input tokens on hosted APIs.
Z.ai, the Beijing AI company formerly known as Zhipu AI. It released GLM-5.3 and GLM-5.3-Flash in August 2026.
Yes. It is one of the stronger open coding models, close to Ergo on FrontierSWE v2 and near Kimi K3 on Terminal-Bench 2.1, though behind Ergo on Amazon’s other agentic tests.
GLM-5.3-Flash is far cheaper than either flagship. Between the flagships, Ergo’s Bedrock list price is slightly lower than typical GLM-5.3 hosted prices.
Yes. Its weights are published, and GLM-5.3-Flash in particular is sized for multi-GPU servers.
Yes. GLM-5.3 scores 87.4 on GDPval-AA against Ergo’s 86.2, according to the Ergo model card. Ergo leads on most of the other tests in that table.
Ergo runs at more than 400 output tokens per second on Bedrock. GLM-5.3’s speed depends on the host, and GLM-5.3-Flash is generally faster than the flagship.
Ergo is the stronger coding model, while GLM-5.3 offers the simpler license and a cheaper Flash variant. Most teams building coding agents will get better results from Ergo; inference resellers and cost-focused self-hosters should look hard at GLM.