Amazon Ergo
Quickstart

Architecture Deep Dive

Inside Amazon Ergo

Engineered by Amazon Frontier Model Research for long-horizon coding and agentic execution—pairing a 64-layer sparse MoE backbone with 3:1 sliding-window + NoPE attention and a native 5-layer DSpark speculator.

01
1 Dense Layer

Layer 0 · Dense FFN

Stabilizes early token representations across sprawling monorepos before sparse expert routing activates.

02
55B / 1.1T Active

Layers 1–63 · Sparse MoE

256 routed non-gated ReLU² experts per layer with top-8 dynamic routing plus 1 always-on shared expert.

03
1,048,576 Context

3:1 SWA-512 + Global NoPE

Alternates three local 512-token sliding windows with one global NoPE GQA layer to prevent KV-cache blowup.

04
8 Draft Tokens

DSpark Speculator

A native 5-layer draft head (Amazon-FMR/Ergo-dspark) accelerates structured code and tool-call decoding.

Engineering Decisions

Why these choices matter

Non-Gated ReLU² Experts (Top-8 + 1 Shared)

Instead of heavy SwiGLU gated MLPs across every expert, Ergo uses 256 routed non-gated ReLU² experts per MoE layer plus 1 always-on shared expert. Lower per-expert FLOPs and natural activation sparsity unlock 400+ OTPS on Trainium3 and high GPU utilization on Blackwell.

3:1 Sliding-Window (SWA-512) + Global NoPE

Naive full attention over 1,048,576 tokens explodes KV-cache memory. Ergo keeps 75% of layers on a fast 512-token local window and pairs every fourth layer with global NoPE Grouped-Query Attention—preserving cross-file reasoning across huge monorepos.

Native DSpark Speculative Decoding

Agentic coding streams long chains of structured tool calls, code diffs, and reasoning traces. Amazon published Amazon-FMR/Ergo-dspark so vLLM can draft 8 tokens ahead with block rejection sampling and zero accuracy drop.

Deliberately Text-Only Capacity

Rather than splitting parameter capacity across vision or audio encoders, Ergo dedicates 100% of its 1.1T weights to code syntax, terminal logs, tool schemas, and multi-step repository reasoning.

Hugging Face

Open-weights checkpoints

Four official repositories published by Amazon Frontier Model Research.

Browse Amazon-FMR
Amazon-FMR/Ergo-mxfp8
MXFP8

Higher-precision 8-bit microscaling format for precision-sensitive evaluations.

Size: ~1.17 TB Target: 8× B200 / GB200 / GB300 or multi-node H200
Amazon-FMR/Ergo-bf16
BF16

Full unquantized bfloat16 weights ideal for research, distillation, and full fine-tuning.

Size: ~2.22 TB Target: Multi-node H200 / B200 cluster
Amazon-FMR/Ergo-dspark
Draft Model

Native DSpark speculative decoding draft head for accelerated token generation in vLLM.

Size: 5-layer Speculator Target: Co-located with main weights

Model Card

Complete specification summary

Model Name Amazon Ergo
Developer Amazon Frontier Model Research (FMR)
Release Date December 1, 2026 (AWS re:Invent 2026)
Total Parameters 1.1 Trillion
Active Parameters / Token 55 Billion (~5% sparse activation)
Transformer Depth 64 (1 Dense + 63 MoE)
MoE Expert Routing 256 routed ReLU² (top-8 active) + 1 shared
Attention Mechanism 3:1 Sliding-Window (SWA-512) + Global NoPE (GQA)
Speculative Decoding 5-layer DSpark (Amazon-FMR/Ergo-dspark)
Input Context Window 1,000,000 tokens (1,048,576)
Max Output Length 128,000 tokens (131,072)
Modality Text-only (Code, Reasoning & Tool Calling)
Bedrock Access Amazon Ergo (Bedrock) (us.amazon.ergo, global.amazon.ergo)
License Amazon Ergo Open-Weights License

Deploy Ergo

Download the 626 GB MXFP4 weights from Hugging Face or run Amazon Ergo on Amazon Bedrock at 400+ tokens per second.