Amazon's Frontier Model Research team released Ergo on December 1, 2026 — a 1.1 trillion-parameter open-weights model built specifically for software engineering and agentic workflows. It is not a general-purpose chat model with coding bolted on. Every architectural decision, from its hybrid attention pattern to its expert routing strategy, was made with long-horizon autonomous tasks in mind. This post walks through what makes Ergo technically distinct and what it means for practitioners who want to run capable agentic models on their own infrastructure.
Most large MoE models face a tension: total parameter count drives capability, but active parameter count drives inference cost. Ergo resolves this with a 1.1T / 55B split — 1.1 trillion total parameters, but only 55 billion active per token. That is roughly 5% sparsity, meaning the model activates a small, task-relevant slice of its capacity for each forward pass rather than running the full network.
The architecture consists of 64 decoder blocks. The first block uses a standard dense MLP. The remaining 63 blocks are MoE layers, each containing 256 routed experts and one shared expert. For every token, a sigmoid router selects the top 8 routed experts to activate, adds the shared expert's output, and combines them via a weighted sum. Each expert output passes through its own RMSNorm before being added to the residual stream through a learned gated connection — a design that stabilizes training at this scale by giving the model a per-dimension gate on how much each sublayer contributes.
The expert activation function is squared ReLU (ReLU²), which produces sparser internal activations than standard ReLU or SiLU, reducing the effective compute footprint further within each expert.
Ergo's attention mechanism is a 3:1 hybrid. Three out of every four layers use sliding-window attention covering the last 512 tokens, with Rotary Position Embeddings (RoPE) for local positional awareness. Every fourth layer switches to global attention over the full 1 million-token context, with no position embeddings at all (NoPE).
This pattern is a deliberate engineering trade-off. Sliding-window attention is O(n) in memory and compute relative to sequence length, making it practical for very long contexts. Global attention layers — placed periodically — allow the model to integrate information from distant parts of the context without paying the quadratic cost at every layer. The NoPE design in global layers means the model relies on learned representations rather than explicit position signals when attending across the full million-token window, which has been shown to generalize better to context lengths beyond those seen during training.
All attention layers use Grouped Query Attention (GQA) with 64 query heads and 8 key-value heads, along with QK normalization. GQA reduces the KV cache memory footprint significantly compared to multi-head attention, which matters when you are running 1M-token contexts in production.
Ergo is described as having "fixed reasoning effort" — it consistently generates reasoning blocks before producing a final answer. Unlike models that offer a toggle between fast and slow thinking modes, Ergo always reasons. Amazon's position is that for agentic software engineering tasks, the overhead of reasoning is worth it: the tasks are long, the consequences of errors compound, and the model needs to plan before acting.
In sandboxed agentic scenarios, Ergo is trained to pause and request human authorization before performing potentially dangerous operations — file deletion, credential exposure, or irreversible system changes. This is not a post-hoc filter but a trained behavior, evaluated under Amazon's Frontier Model Safety Framework across harmful content, agentic behavior, privacy, and resistance to adversarial instructions.
On coding and agentic benchmarks, Ergo ranks first among U.S. open-weights models across all seven coding benchmarks Amazon reported:
Amazon also reports that the base model is approximately 19.6× more compute-efficient on code tasks and 5.9× more efficient on document tasks compared to Kimi K2 Base. These numbers come from Amazon's own scaling ladder methodology, so independent verification will be important as the community evaluates the weights.
Ergo is available through two paths. The first is Amazon Bedrock, which offers managed inference at 400+ output tokens per second, with a Turbo mode reaching 2,200 tokens per second via the Trainium3SR chip in limited preview. Bedrock runs with zero data retention — prompts and outputs are not stored and not used for training, enforced at the infrastructure level via the AWS Nitro System.
The second path is self-hosted deployment. The weights are released under the Amazon Ergo Open-Weights License and support MXFP4, MXFP8, and BF16 precisions. Both vLLM and SGLang added day-zero support. The model also ships with a native speculative decoding draft model called DSpark — a dense 5-layer model — to improve inference throughput on self-hosted hardware.
For teams running on their own infrastructure, the MXFP4 precision option is significant: it allows the model to fit on fewer GPUs while maintaining most of the BF16 quality, which is the practical bottleneck for running a 55B-active-parameter model in production.
Ergo is a meaningful addition to the open-weights landscape for a few specific reasons. First, the 1M-token context window combined with the hybrid attention design makes it genuinely usable for long-context agentic tasks — reading entire codebases, processing large document sets, or maintaining state across extended multi-step workflows — without the quadratic memory cost that would make this impractical.
Second, the MoE architecture means that while the total parameter count is large, the per-token compute is closer to a 55B dense model. Teams with access to multi-GPU inference infrastructure can run Ergo at a cost profile that would be impossible with a 1.1T dense model.
Third, the open-weights release under a permissive-enough license (with the standard prohibitions on circumventing safety measures) means the research community can evaluate, fine-tune, and adapt the model — something that is not possible with API-only frontier models.
The main practical constraint is hardware: 55B active parameters at 1M-token context lengths still requires significant GPU memory, and the full 1.1T parameter set needs distributed inference. The MXFP4 weights and SGLang/vLLM support lower the barrier, but this is not a model for a single consumer GPU.
The model weights and documentation are available on Hugging Face. The Hugging Face Transformers library added Ergo support in the same release window, so loading the model follows the standard AutoModelForCausalLM pattern. For distributed inference, the repository includes FSDP2 and expert parallelism configurations. Amazon's technical overview is at aboutamazon.com, and Sebastian Raschka's architecture gallery has a clean visual breakdown of the layer structure if you want a quick reference before diving into the full model card.
Ergo is a well-engineered open-weights model that takes the MoE + hybrid attention combination seriously for agentic use cases. The architectural choices are coherent and the deployment story is practical enough to be worth testing.
原文来源:dev.to