Architecture
~9 min readUpdated: December 2026

Amazon Ergo 1.1T MoE: 55B Active, 1M Context Coding Agent Guide

Amazon Ergo 1.1T Mixture-of-Experts 55B Active Coding Agent Architecture with MXFP4, vLLM, and SGLang

Amazon Ergo (Amazon-FMR/Ergo) is a 1.1-trillion-parameter Mixture-of-Experts open-weights coding and agentic model with 55B active parameters per token and a 1,048,576-token context window. It scores 74.2% on DeepSWE, 31.5% on FrontierSWE v2, and 46.2% on Terminal-Bench 4.0 while serving at 400+ output tokens/sec on Amazon Bedrock ($1/$3 MTok) or self-hosted via vLLM and SGLang.

Technical Review: Smoke Monkey Core Architecture Team
Tested on Node.js 18+ & BunTypeScript 5.x
Quick Answer & Executive Definition

Amazon Ergo 1.1T MoE: 55B Active, 1M Context Coding Agent Guide: Amazon Ergo (Amazon-FMR/Ergo) is a 1.1-trillion-parameter Mixture-of-Experts open-weights coding and agentic model with 55B active parameters per token and a 1,048,576-token context window. It scores 74.2% on DeepSWE, 31.5% on FrontierSWE v2, and 46.2% on Terminal-Bench 4.0 while serving at 400+ output tokens/sec on Amazon Bedrock ($1/$3 MTok) or self-hosted via vLLM and SGLang. Designed as a zero-dependency, open-source TypeScript architecture under the MIT License with native Model Context Protocol (MCP) support and deterministic phase state machines.

Key Architectural Takeaways
Quick Implementation Exampleamazon-ergo-coding-agent.ts
amazon-ergo-coding-agent.tstypescript
import { createAgent } from '@smoke-monkey/harness';
// Connect Smoke Monkey Harness to self-hosted vLLM/SGLang or Bedrock proxy serving Amazon Ergo
const agent = createAgent({
agentId: 'amazon-ergo-swe-worker',
provider: 'openai-compatible',
model: 'Amazon-FMR/Ergo',
baseUrl: process.env.ERGO_BASE_URL || 'http://127.0.0.1:8000/v1',
apiKey: process.env.ERGO_API_KEY || 'local-vllm-key',
workspacePath: process.cwd(),
permissions: {
read_file: 'allow',
write_file: 'allow',
run_command: 'ask',
},
mcpServers: {
git: {
command: 'npx',
args: ['-y', '@modelcontextprotocol/server-git', '--repository', process.cwd()],
},
},
});
async function main() {
const result = await agent.run(
'Trace race conditions in worker queue shutdown, write regression tests, and verify vitest passes.'
);
console.log('Amazon Ergo run summary:', result.summary);
}
main().catch(console.error);
Video Guides

Watch: Related Video Guides

Introducing Amazon Ergo: A Frontier Open Weight Model

Amazon Ergo: 2,200 tok/s Open Weights (Not So Fast)

What Is Amazon Ergo 1.1T MoE and How Does It Perform on Coding Evals?

Amazon Ergo (Amazon-FMR/Ergo) is a 1.1-trillion-parameter sparse Mixture-of-Experts foundation model activating 55 billion parameters per token across a 1,048,576-token (1M) context window with up to 131,072 (128K) output tokens. Engineered specifically for multi-file software engineering and long-horizon agentic tool loops, it sustains multi-hour repository edits while keeping cached input reads at $0.03 per million tokens on Amazon Bedrock.

BenchmarkAmazon Ergo (1.1T / 55B)Kimi K3.1 ProGLM 5.3Mistral Large 4
FMR-Bench AI SWE (pass@1)65.4%58.6%44.3%39.4%
FMR-Bench Ultra Long Horizon20.5%13.1%9.7%7.5%
FrontierSWE v2 (Score)31.5%29.3%30.2%15.8%
DeepSWE (pass@1)74.2%77.9%69.5%59.1%
Terminal-Bench 4.0 (pass@1)46.2%63.3%36.9%30.1%
ProgramBench (Almost resolved)23.5%24.1%14.8%12.7%

MXFP4, MXFP8, and BF16 Checkpoints & Recommended Sampling

Amazon-FMR publishes three official weight precisions on Hugging Face Hub so platform teams can match hardware memory budgets without running custom PTQ calibration:

  1. MXFP4 (`Amazon-FMR/Ergo`, 626 GB): Microscaling 4-bit weights designed for 8x H200 / B200 / GB200 nodes, fitting all 1.1T parameters with generous headroom for 1M-token KV caches.
  2. MXFP8 (`Amazon-FMR/Ergo-mxfp8`, 1.17 TB): Native 8-bit microscaling weights for multi-node FP8 serving when maximum numerical fidelity is required.
  3. BF16 (`Amazon-FMR/Ergo-bf16`, 2.22 TB): Full unquantized reference weights for fine-tuning and custom distillation.

Use Amazon's calibrated sampling settings (temperature: 1.0, top_p: 0.99, max_tokens <= 131072)—lowering temperature aggressively on long-horizon MoE reasoning traces can induce premature patch termination.

Zero-Retention AWS Nitro Execution

On Amazon Bedrock, Ergo runs on AWS Nitro isolation with zero operator access and zero prompt/output retention, billed at $1.00/M input, $0.03/M cached input, and $3.00/M output.

Self-Hosting Amazon Ergo on vLLM and SGLang

Both vLLM and SGLang ship day-one recipes for Amazon-FMR/Ergo. Launch an OpenAI-compatible 8-GPU tensor-parallel server and route Smoke Monkey Harness directly to it:

bash
# 1. Pull MXFP4 weights (626 GB) from Hugging Face Hub
hf download Amazon-FMR/Ergo --local-dir /models/ergo-mxfp4

# 2. Serve via vLLM across 8 GPUs with 1M context & prefix caching
vllm serve /models/ergo-mxfp4 \
  --served-model-name Amazon-FMR/Ergo \
  --tensor-parallel-size 8 \
  --enable-prefix-caching \
  --max-model-len 1048576 \
  --port 8000

# 3. Verify sampling parameters against local OpenAI endpoint
curl -s http://127.0.0.1:8000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "Amazon-FMR/Ergo",
    "temperature": 1.0,
    "top_p": 0.99,
    "max_tokens": 4096,
    "messages": [{"role": "user", "content": "Diagnose deadlock in src/worker.ts"}]
  }'

In Smoke Monkey Canvas, pair Amazon Ergo as the primary 1M-context architecture planner with fast local 8B test-runner subagents to keep multi-repository refactor costs predictable.

Google Search Questions & Answers

Frequently Asked Questions

Q:How many parameters does Amazon Ergo activate per token?

Amazon Ergo has 1.1 trillion total Mixture-of-Experts parameters and activates 55 billion parameters per generated token, supporting a 1,048,576-token context window.

Q:What are the download sizes for MXFP4, MXFP8, and BF16 checkpoints?

Amazon-FMR/Ergo MXFP4 is 626 GB, Amazon-FMR/Ergo-mxfp8 is 1.17 TB, and the full BF16 base checkpoint Amazon-FMR/Ergo-bf16 is 2.22 TB.

Q:How fast is Amazon Ergo on Amazon Bedrock and what does it cost?

Ergo serves at over 400 output tokens per second on Amazon Bedrock (with a 2,200 tok/s Turbo preview) at $1 per million input tokens, $0.03 per million cached input tokens, and $3 per million output tokens.

Q:Which inference engines support self-hosting Amazon Ergo?

Both vLLM (recipes.vllm.ai/Amazon-FMR/Ergo) and SGLang (docs.sglang.io/cookbook/autoregressive/Amazon/Ergo) provide day-one production serving support.

Q:What sampling settings does Amazon recommend for Ergo?

Amazon recommends temperature 1.0, top_p 0.99, and max_tokens up to 131,072 within the 1M-token context window.

Related Alternatives & Comparisons

Related Architecture Guides

View all guides

Build with Smoke Monkey Harness

Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.

npm install smoke-monkey-harness