On this page
Amazon released Ergo, its first open-weights model, at AWS re:Invent on 1 December 2026. It is aimed at software engineering and agent work, it is available on Amazon Bedrock, in Kiro and as downloadable weights on Hugging Face, and its weights are large enough that serving it yourself is a real engineering project.
This article sticks to what Amazon has published (the model card, the launch post and the re:Invent briefing), separates Amazon's claims from independent results, and explains what the specs mean if you serve models for a living. Launch-day coverage disagrees on several details; where it does, the figures here come from Amazon's own pages.
#Ergo at a glance
| Amazon Ergo | |
|---|---|
| Released | 1 December 2026 |
| Architecture | Mixture-of-experts transformer |
| Parameters | 1.1 trillion total, 55 billion active per token |
| Experts | 256 routed (8 active per token) plus 1 shared |
| Layers and width | 64 layers, hidden size 8,192, vocabulary 262,144 |
| Attention | Grouped-query: 64 query heads, 8 KV heads of size 128; a 512-token sliding window on 3 of every 4 layers, full attention on the 4th |
| Context window | 1,048,576 tokens (1M) |
| Maximum output | 131,072 tokens (128K) |
| Modalities | Text only in this release |
| Knowledge cutoff | June 2026 (model card) |
| Weight formats | MXFP4 (626 GB), MXFP8 (1.17 TB), BF16 (2.22 TB) |
| Engines | vLLM and SGLang (pre-release builds at launch) |
| Bedrock price | $1 / M input, $0.03 / M cached input, $3 / M output |
| Licence | Amazon Ergo Open-Weights License |
The model card itself is light on architecture, but the repository's config.json and the vLLM and SGLang deployment recipes fill in the rest: the layer count, the attention layout and the hardware each weight format needs.
#What "1.1T total, 55B active" means
Ergo is a mixture-of-experts model. Each layer has 256 expert MLPs plus one shared expert, and a router sends each token to 8 of the 256. So a token touches about 55 billion parameters, roughly 5% of the model.
That split matters differently for memory and for speed:
- Memory follows the total. Every expert has to be resident somewhere, because the next token may need any of them. Even in MXFP4, the weights alone are 626 GB: more than eight 80 GB H100s hold.
- Decode speed follows the active share, at small batches. At batch 1, each step reads only the experts the token uses. In MXFP4 (about 4.25 bits per weight), 55 billion active parameters are roughly 29 GB per token, about the cost of a 15B dense model in BF16.
- At larger batches, most experts are touched anyway. With 8 of 256 experts per token, a batch of 64 tokens is expected to touch about 222 distinct experts in each layer (), so the step reads most of the layer's weights. That is why MoE serving leans on expert parallelism and large batches (MoE dispatch and grouped GEMMs works through this in detail).
#How Ergo makes a 1M-token context affordable
Long contexts are mostly a KV cache problem, and Ergo's attention layout is built for it. Of its 64 layers, 48 use a 512-token sliding window: they only ever keep the last 512 tokens' keys and values. Only the other 16 layers attend to the whole context. With 8 KV heads of size 128, each layer stores values per token.
| KV cache per sequence (BF16) | 32K tokens | 1M tokens |
|---|---|---|
| If all 64 layers used full attention | 8 GiB | 256 GiB |
| Ergo: 16 global layers + 48 windowed | about 2.1 GiB | about 64 GiB |
The windowed layers add a fixed 96 MiB per sequence (48 layers × 512 tokens × 4 KiB), whatever the length. In FP8 the global part halves: the SGLang cookbook puts one 1M-token sequence at about 32 GiB, which matches this arithmetic. That is still a lot of memory for one request, so long-context serving will be about how many such sequences a node can hold at once (hybrid and linear attention covers the trade-offs of this design).
#MXFP4 by default
The default repository ships weights in MXFP4, an Open Compute Project format in which every block of 32 values shares an 8-bit power-of-two scale, about 4.25 bits per value (FP8 vs INT4 vs FP4). Shipping a 4-bit format as the main release, with MXFP8 and BF16 as alternatives, tells you how Amazon expects it to be run: as small as possible in memory.
MXFP4 runs natively on Blackwell-class GPUs, and SGLang's cookbook requires Blackwell or newer (SM100+) for the MXFP4 and MXFP8 checkpoints; vLLM's recipe also lists H200 configurations. The self-hosting guide works through which nodes fit which format.
#Speed claims
Amazon says Ergo runs at more than 400 output tokens per second on Bedrock, served on Trainium3, and that a Turbo mode reaches 2,200 (the card does not state the unit, presumably tokens per second), in limited preview with pricing to come. These are Amazon's measurements on Amazon's hardware. Per-request speed on any service also depends on load, prompt length and output length, so measure it on your own traffic (how to benchmark an LLM server).
#Benchmarks: read the rows, not the headlines
Amazon's model card compares Ergo with open-weights models on twelve benchmarks, most of them run by Amazon (it marks the ones run independently by public leaderboards). Some highlights from that table, with the best other open-weights score:
| Benchmark | Ergo | Best other open-weights in Amazon's table |
|---|---|---|
| FMR-Bench AI SWE (Amazon's internal tasks) | 65.4 | 58.6 (Kimi K3.1 Pro) |
| FrontierSWE v2 | 31.5 | 29.3 (Kimi K3.1 Pro) |
| DeepSWE | 74.2 | 77.9 (Kimi K3.1 Pro) |
| Terminal-Bench 4.0 | 46.2 | 63.3 (Kimi K3.1 Pro) |
| GDPval-AA 1.0 | 86.2 | 89.0 (Kimi K3.1 Pro) |
So on Amazon's own numbers, Ergo leads on some coding tasks, including Amazon's internal benchmark, and trails Kimi K3.1 Pro on others. On FMR-Bench AI SWE, Amazon's launch post also lists closed models for reference: Opus 5.5 at 85.3 and GPT-6 Astra at 80.8, well above Ergo's 65.4. Launch-day headlines claiming Ergo beats the best closed models do not match Amazon's own table.
Amazon's stronger claim is about cost and time per task: on AI SWE it reports an average of 14.3 minutes and $1.41 per task, against 21.7 minutes and $1.58 for Kimi K3.1 Pro. That is a useful framing for agent work, where a cheaper model that needs more attempts can cost more overall, but it is Amazon's measurement on its own benchmark. Independent evaluations will take a few weeks to appear; until then, run your own evaluation on your tasks (evaluating cost and latency).
#The licence: open weights, with a threshold
The Amazon Ergo Open-Weights License is free of charge and allows running, fine-tuning, modifying and redistributing Ergo, including in commercial products, subject to an acceptable use policy. Amazon calls it open-weights, not open source.
The main restriction is for hosted services: a group that runs a "Model as a Service" business (offering model access to third parties through an API or hosted endpoint) with more than US$20 million of gross revenue in any 12 months needs a separate written agreement with Amazon. Most companies self-hosting Ergo for their own products are not affected; inference providers reselling access may be. Read the licence itself before you build on it.
#Where you can use it
- Amazon Bedrock: hosted on Trainium3, at the prices above, with zero data retention stated on the model card.
- Kiro, Amazon's developer workspace, from launch day.
- Hugging Face: weights in three formats. At launch neither vLLM nor SGLang had Ergo in a release: you need vLLM's
amazon-fmr-ergoimage or a nightly build, or SGLang'sergoimage. - OpenRouter: the model card links an OpenRouter listing.
#What it means if you run inference
- It is a memory problem first. 626 GB of MXFP4 weights needs a large node (eight 141 GB or 180 GB GPUs) before any KV cache. See how to self-host Amazon Ergo.
- The API price is low. At $3 per million output tokens and $0.03 per million cached input tokens, self-hosting only wins at very high, steady utilisation or for reasons other than cost. See Amazon Ergo: Bedrock or self-host?.
- Prefix caching matters even more than usual. Agentic coding resends long contexts over and over; the cached-input price on Bedrock is 33 times lower than the uncached one, and the same economics apply when you serve it yourself (KV cache explained, prompt cache calculator).
Sources: Ergo model card and its config.json, vLLM recipe, SGLang cookbook, licence, Amazon launch post, re:Invent 2026 briefing. Specifications and prices as published on 1 December 2026; check the model card for updates.
newsmodelsmoeserving
Found this useful?
Send it to someone who is learning the same thing.
Preparing for an interview?
Next: the lesson behind this article
MoE dispatch and a grouped GEMM in Triton
How a mixture-of-experts layer runs on a GPU without a loop over experts: route each token to its top-k experts, sort and pad the assignments so every block of rows belongs to one expert, then run… The opening is free to read; Pro unlocks the rest, the labs and the certificate.
Free 5-day email course
Why LLM inference is slow and how to make it fast. One short email a day for five days, each built on a free lesson, then the occasional new lesson or offer. Unsubscribe in one click.