AI Models

Amazon Ergo

Amazon Ergo (Ergo-1.0) is Amazon's first open-weight large language model: a text-only Mixture-of-Experts model with 1.1 trillion total parameters, 55 billion active per token, and a 1M-token context window, built for agentic coding and professional work. It was released on December 1, 2026 at AWS re:Invent under the Amazon Ergo Open-Weights License, and is available on Amazon Bedrock and as downloadable weights on Hugging Face.

Amazon Ergo is the first open-weight large language model Amazon has released. Ergo-1.0 was announced at AWS re:Invent on December 1, 2026. It is a text-only Mixture-of-Experts model with 1.1 trillion total parameters, of which 55 billion are active for each token, and it has a 1M-token context window. Amazon built it for agentic coding: writing new features and backends, refactoring and migrating legacy code, automating deployments, and troubleshooting operational problems. It matters for two reasons. It gives the open-weight frontier a large U.S.-built entry, joining a field led by Chinese and European labs (Kimi K3, GLM-5.2, Mistral Large 4). It also changes Amazon’s AI strategy: Amazon used to offer only closed Nova models on Bedrock, and now it ships weights that enterprises can run, fine-tune, and keep entirely on their own hardware.

Amazon's benchmark chart from the Ergo model card: five horizontal bar charts titled AI SWE, Ultra Long Horizon, Code Quality, FrontierSWE v2 and DeepSWE, each comparing Ergo (highlighted in blue) with Kimi K3.1 Pro, GLM 5.3, Inkling 2 Small, Mistral Large 4, Muse Spark Open, Beam and Nemotron 3 Ultra. Ergo leads four charts, with scores of 65.4, 20.5, 32.1 and 31.5, and is second on DeepSWE with 74.2 behind Kimi K3.1 Pro's 77.9

At a glance

Amazon Ergo (Ergo-1.0)
DeveloperAmazon (Foundation Model Research, published as Amazon-FMR on Hugging Face)
ReleaseDecember 1, 2026 (AWS re:Invent), on Bedrock and Hugging Face the same day
Total / active parameters1.1T total / 55B active per token
Expert routing256 routed experts per layer, 8 active per token, plus 1 shared expert
Context / max output1,048,576 tokens / 131,072 tokens
ModalitiesText in, text out (no image input in this release)
ReasoningAlways on; reasoning_effort = low, medium, high, xhigh, or max
CheckpointsMXFP4 (626 GB), MXFP8 (1.17 TB), BF16 (2.22 TB)
LicenseAmazon Ergo Open-Weights License (commercial use, modification, fine-tuning, redistribution allowed)
Bedrock IDsamazon.ergo-1.0, us.amazon.ergo-1.0, global.amazon.ergo-1.0
Bedrock price (global)$1.00 per 1M input tokens, $0.03 cached input, $3.00 output
Bedrock speedOver 400 output tokens per second (a 2,200 tokens/s “Turbo” mode is in limited preview)

Why Amazon built an open-weight model

According to TechCrunch’s launch coverage, Ergo was about six months in development and was designed around Amazon’s own Trainium chips. Ron Diamant, the AWS vice president for chips, said Amazon found that existing “model shapes are not ideal for the hardware,” which pushed the company to design its own model. Bedrock serves Ergo on Trainium3, which is how Amazon reaches more than 400 output tokens per second.

Amazon’s pitch to enterprises focuses on what TechCrunch calls context “exhaust”: the code, logs, tickets, and internal documents that flow through a coding agent while it works. With a closed API, all of that goes to the model provider. With open weights, a company can run Ergo inside its own VPC or data center, fine-tune it on private repositories, and keep that context in house. Bedrock’s managed version addresses the same worry differently: Amazon advertises zero data retention and zero operator access on the Nitro System. Customers who want maximum speed can use Bedrock, and customers who want maximum control can self-host the same weights.

The license is permissive for nearly everyone. Anyone can run, modify, fine-tune, redistribute, and build Ergo into commercial products, subject to an acceptable use policy. The one carve-out applies to model-as-a-service providers with more than US$20 million in combined gross revenue over any 12-month period, who need a separate agreement. This clause is meant to stop large clouds from reselling Ergo inference without a deal, and it does not affect enterprises that run the model for their own use.

Architecture

Amazon has published less architectural detail than most open-weight labs. The model card lists parameter counts, expert routing, context length, and checkpoint precisions, but at launch it did not give the layer count, hidden size, or attention mechanism. A technical report has not been published yet, and the Ergo Frontier Model Safety Report is listed as “forthcoming”. The confirmed details describe a very sparse MoE:

flowchart TB
    IN[Text tokens<br/>up to 1M context]:::data --> EMB[Token embeddings]:::process
    EMB --> STACK
    subgraph STACK[Transformer decoder stack]
      direction LR
      ATT[Self-attention]:::default --> ROUTER[Router<br/>picks 8 of 256 experts]:::process
      ROUTER --> MOE[8 routed experts<br/>+ 1 shared expert]:::default
    end
    STACK --> HEAD[Output head<br/>up to 128K output tokens]:::output
    classDef default fill:#ffffff,stroke:#4338CA,stroke-width:2px,color:#0F172A,rx:8px,ry:8px;
    classDef data    fill:#EEF0F7,stroke:#0D9488,stroke-width:2px,color:#0F172A,rx:8px,ry:8px;
    classDef process fill:#F7F8FC,stroke:#6366F1,stroke-width:2px,color:#0F172A,rx:8px,ry:8px;
    classDef output  fill:#4338CA,stroke:#4338CA,stroke-width:2px,color:#ffffff,rx:8px,ry:8px;

Each MoE layer has 256 routed experts, and the router sends each token to 8 of them. One shared expert processes every token. As a result, only 55B of the 1.1T parameters (about 5%) do work on any given token, so Ergo’s per-token compute is close to that of a mid-sized dense model while its total capacity is in the trillion-parameter class. The shared expert follows a pattern that DeepSeek popularized: it learns knowledge that every token needs, so the routed experts can specialize in narrower areas.

The checkpoint formats show who Amazon expects to run the model. The default Hugging Face repo uses MXFP4, a 4-bit microscaling format in which small blocks of weights share one scale factor (see LLM weight quantization). At 626 GB it is the smallest download. An MXFP8 repo (1.17 TB) and a full BF16 repo (2.22 TB) are also available. The model card says to use the BF16 checkpoint for Hugging Face Transformers inference and for fine-tuning, while vLLM and SGLang serve the MXFP4 default.

How it compares to other trillion-class open models

ModelTotal paramsActive per tokenExpert routingContextImages
Amazon Ergo1.1T55B8 of 256 routed + 1 shared1MNo
Mistral Large 4~1.05T52B4 of 128 routed + 1 shared1MYes
Kimi K32.8Tn/a16 of 8961Mn/a
GLM-5.2~753B~40BMoE + shared expert1Mn/a

Ergo and Mistral Large 4 are nearly the same size, but Ergo routes more finely. It picks 8 small experts from 256, while Mistral picks 4 larger ones from 128. Finer routing usually allows more specialization for the same active budget. Ergo’s main gap is multimodality: it cannot read screenshots, diagrams, or UI mockups, and Mistral Large 4 can.

Benchmarks

Amazon’s headline claim on the AWS product page is that among U.S. open-weight models, Ergo ranks first on all seven agentic coding benchmarks Amazon tested. Among all open-weight models it compared, Ergo ranks first on four of the seven. The model card’s table shows where that line falls. In the table below, rows marked † are results from independent public leaderboards. All other rows are Amazon’s own runs, including the three FMR-Bench suites, which are internal Amazon benchmarks that outsiders cannot reproduce.

BenchmarkErgoKimi K3.1 ProGLM 5.3Mistral Large 4
FMR-Bench AI SWE (pass@1)65.458.644.339.4
FMR-Bench Ultra Long Horizon (pass@1)20.513.19.77.5
FMR-Bench Code Quality (rubric)32.128.119.720.4
FrontierSWE v2 (score)31.529.330.2†15.8
DeepSWE (pass@1)74.277.969.559.1
Terminal-Bench 4.0 (pass@1)46.263.336.930.1
ProgramBench (almost resolved)23.524.114.812.7
GDPval-AA 1.0 (weighted)86.289.087.486.7

Two things stand out in these numbers. Ergo’s clearest wins are on Amazon’s internal FMR-Bench suites, especially Ultra Long Horizon, where it scores about 1.5x the next-best open model. That benchmark measures how well a model stays on track over very long multi-step tasks. On public terminal-style benchmarks, Kimi K3.1 Pro leads by a wide margin: 63.3 against 46.2 on Terminal-Bench 4.0. Amazon is open about the model’s limits. The model card says Ergo trails the strongest closed models on first-attempt accuracy, recommends letting the agent run and test its own changes, and notes lower relative scores on general knowledge and science. Read the results as “a very strong open coding agent, particularly on long tasks”, not as “the best open model at everything”.

Reasoning effort

Ergo always reasons, and you cannot turn reasoning off. On Bedrock’s Chat Completions API, reasoning_effort accepts five levels, low, medium, high, xhigh, and max, and passing "none" returns an HTTP 400. The model card notes the trade-off: always-on reasoning helps on hard problems but spends extra output tokens on easy ones. Reasoning tokens are billed as output at $3 per million, so effort level is the main cost setting for an Ergo deployment.

# Scenario: a ticket router in front of a coding agent. Simple questions get low effort;
# migrations and multi-file refactors get high effort, where a wrong answer costs more than tokens.
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://bedrock-runtime.us-east-1.amazonaws.com/openai/v1",
    api_key=os.environ["AWS_BEARER_TOKEN_BEDROCK"],
)

def pick_effort(ticket: str) -> str:
    heavy = ("migrate", "refactor", "race condition", "upgrade")
    return "high" if any(w in ticket.lower() for w in heavy) else "low"

def solve(ticket: str) -> str:
    resp = client.chat.completions.create(
        model="us.amazon.ergo-1.0",
        messages=[{"role": "user", "content": ticket}],
        reasoning_effort=pick_effort(ticket),
        max_completion_tokens=16384,
    )
    return resp.choices[0].message.content

print(solve("Migrate our Flask 1.x blueprints to FastAPI routers, keeping the same URLs."))

For self-hosted use, the Hugging Face card recommends temperature=1.0 and top_p=0.99, with max_tokens up to 131,072.

Using Ergo on Amazon Bedrock

Bedrock offers Ergo through four APIs: the native Converse and InvokeModel APIs, and OpenAI-compatible Chat Completions and Responses endpoints under https://bedrock-runtime.{region}.amazonaws.com/openai/v1. The OpenAI-compatible endpoints accept a long-term Bedrock API key as a bearer token. Ergo supports only cross-region inference profiles, not in-Region inference: global.amazon.ergo-1.0 routes anywhere, and us.amazon.ergo-1.0 keeps traffic in four U.S. Regions (us-east-1, us-east-2, us-west-1, us-west-2) at a 10% premium.

# Scenario: an existing boto3 service that already uses Bedrock's Converse API for other
# models. Switching to Ergo only means changing the modelId.
import boto3

client = boto3.client("bedrock-runtime", region_name="us-west-2")
response = client.converse(
    modelId="global.amazon.ergo-1.0",
    system=[{"text": "You are an on-call SRE assistant."}],
    messages=[{
        "role": "user",
        "content": [{"text": "Our ECS service keeps restarting with exit code 137. Likely causes?"}],
    }],
)
print(response["output"]["message"]["content"][-1]["text"])

Bedrock’s supported feature list for Ergo includes streaming, implicit and explicit prompt caching, client-side tool use, a server-side web-search tool, structured outputs, Guardrails, summarized reasoning, and batch inference. Knowledge Bases, intelligent prompt routing, and token counting are not supported yet.

Tool calling in an agent loop

Ergo is designed for agent work, so tool calling is its most important interface. The Bedrock docs show the standard OpenAI-style loop: declare tools, let the model request a call, run the function yourself, and send back a role: "tool" message.

# Scenario: a deploy assistant that can check service health before suggesting a rollback.
import json

tools = [{
    "type": "function",
    "function": {
        "name": "get_service_health",
        "description": "Return error rate and p99 latency for a service over the last 15 minutes.",
        "parameters": {
            "type": "object",
            "properties": {"service": {"type": "string"}},
            "required": ["service"],
        },
    },
}]

def get_service_health(service: str) -> dict:
    return {"service": service, "error_rate": 0.083, "p99_ms": 2410}   # call your metrics API here

messages = [{"role": "user", "content": "checkout-api looks bad after the 14:02 deploy. Roll back?"}]
first = client.chat.completions.create(
    model="global.amazon.ergo-1.0", messages=messages, tools=tools,
    reasoning_effort="medium", max_completion_tokens=8192,
)
msg = first.choices[0].message
messages.append(msg)
for call in msg.tool_calls or []:
    result = get_service_health(**json.loads(call.function.arguments))
    messages.append({"role": "tool", "tool_call_id": call.id, "content": json.dumps(result)})

final = client.chat.completions.create(
    model="global.amazon.ergo-1.0", messages=messages, tools=tools,
    reasoning_effort="medium", max_completion_tokens=8192,
)
print(final.choices[0].message.content)

Amazon also documents setups for using Ergo as the model behind existing coding tools, including Kiro, Codex, OpenCode, and Claude Code (through a LiteLLM proxy). In each setup the agent harness stays the same and only the model changes.

Interactive: what will an Ergo workload cost?

Coding agents resend the same large context (repository files, the system prompt, earlier turns) on every step. Prompt caching changes the cost dramatically: cached input costs $0.03 per million tokens, against $1.00 uncached. Reasoning effort works in the other direction, because it adds output tokens at $3 per million.

Interactive: monthly Bedrock cost for an Ergo coding agent

Uses Bedrock's published per-million-token prices for Ergo (global: $1.00 input, $0.03 cache read, $1.25 cache write, $3.00 output; US geo is 10% higher). Assumes every cache miss is written to the cache. Output tokens include reasoning. Try dragging the cache hit rate from 0% to 90%, then raise output tokens per step to mimic a higher reasoning effort.

With no caching, input dominates the bill for any agent that resends a large repository context. At an 80 to 90% hit rate, which is realistic for a long agent session over a stable codebase, the input cost almost disappears and output tokens become most of the bill. That is when choosing low instead of high reasoning effort makes the biggest difference.

Running it yourself

Open weights still require serious hardware. The smallest checkpoint is a 626 GB download, so even the MXFP4 build needs a multi-GPU server; Amazon’s model card does not give an official minimum GPU configuration. vLLM and SGLang both serve the model through an OpenAI-compatible endpoint, and Amazon links dedicated recipes for each.

# Scenario: a bank that cannot send source code outside its own data center.

# vLLM (OpenAI-compatible server on :8000)
pip install vllm
vllm serve "Amazon-FMR/Ergo"

# SGLang (OpenAI-compatible server on :30000), via Docker
docker run --gpus all --shm-size 32g -p 30000:30000 \
  -v ~/.cache/huggingface:/root/.cache/huggingface \
  --env "HF_TOKEN=$HF_TOKEN" --ipc=host lmsysorg/sglang:latest \
  python3 -m sglang.launch_server --model-path "Amazon-FMR/Ergo" \
  --host 0.0.0.0 --port 30000

Once the server is running, application code only needs a different base URL, which makes it easy to prototype on Bedrock and later move to self-hosting:

# Scenario: the same CI bot from above, now pointed at an on-prem vLLM server.
from openai import OpenAI

local = OpenAI(base_url="http://ergo.internal:8000/v1", api_key="EMPTY")
resp = local.chat.completions.create(
    model="Amazon-FMR/Ergo",
    messages=[{"role": "user", "content": "Write a pytest for parse_invoice() covering empty input."}],
    temperature=1.0, top_p=0.99, max_tokens=8192,
)
print(resp.choices[0].message.content)

For research or fine-tuning in Python, the model card points to the BF16 checkpoint with Hugging Face Transformers. At 2.22 TB, this requires a large multi-node cluster:

# Scenario: a research team running evaluation and fine-tuning experiments in Transformers.
from transformers import AutoTokenizer, AutoModelForCausalLM

repo = "Amazon-FMR/Ergo-bf16"
tokenizer = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, device_map="auto")

inputs = tokenizer.apply_chat_template(
    [{"role": "user", "content": "Refactor this function to be iterative: ..."}],
    add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt",
).to(model.device)
out = model.generate(**inputs, max_new_tokens=512)
print(tokenizer.decode(out[0][inputs["input_ids"].shape[-1]:]))

Limitations

  • Text only. Ergo cannot read images, screenshots, or diagrams in this release. That matters for front-end work or debugging from a screenshot, where multimodal models like Mistral Large 4 have an advantage.
  • Reasoning cannot be disabled. Even trivial requests pay for some reasoning tokens.
  • Narrow focus. Amazon reports weaker relative results on general knowledge and science. Ergo is a coding and professional-work specialist, not a general chat model.
  • Self-reported headline numbers. Ergo’s largest wins are on Amazon’s own FMR-Bench suites. On public benchmarks such as Terminal-Bench 4.0 it trails Kimi K3.1 Pro.
  • Sparse technical disclosure. At launch there was no technical report and no published layer or attention details. Training data is summarized only in an EU AI Act public summary, and the safety report is still listed as “forthcoming”.

What’s New (2025–2026)

  • December 1, 2026: Ergo-1.0 launched at AWS re:Invent as Amazon’s first open-weight model, on Bedrock and Hugging Face the same day, with MXFP4, MXFP8, and BF16 checkpoints.
  • Bedrock integration at launch: OpenAI-compatible Chat Completions and Responses endpoints, five-level reasoning_effort, prompt caching with a $0.03 cache read price, zero data retention, and Standard, Flex, and Batch tiers at the same rate.
  • Turbo mode preview: a limited-preview Bedrock mode that runs at about 2,200 output tokens per second, with pricing not yet announced.
  • Ecosystem uptake: day-one vLLM and SGLang recipes, Docker Model Runner support, and an OpenRouter listing. Within days the Hugging Face page listed community fine-tunes and more than a dozen quantizations.
  • The broader trend: Ergo arrived just weeks after Mistral Large 4. In 2026, the open-weight frontier settled on very sparse trillion-parameter MoE models with about 50B active parameters, 1M-token contexts, always-on test-time compute, and a strong focus on agentic coding. Ergo shows that U.S. hyperscalers now compete in that space with open weights as well as closed APIs.

How to Use: Call Ergo on Amazon Bedrock with a chosen reasoning effort

python
# Scenario: a CI bot that explains a failing test to the developer who broke it.
# Uses Bedrock's OpenAI-compatible Chat Completions endpoint and a Bedrock API key.
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://bedrock-runtime.us-west-2.amazonaws.com/openai/v1",
    api_key=os.environ["AWS_BEARER_TOKEN_BEDROCK"],
)

failing_log = open("pytest_failure.log").read()

resp = client.chat.completions.create(
    model="global.amazon.ergo-1.0",          # or us.amazon.ergo-1.0 to stay in US Regions
    messages=[
        {"role": "system", "content": "You are a senior Python reviewer. Be concise."},
        {"role": "user", "content": "Explain the root cause and propose a patch:\n" + failing_log},
    ],
    reasoning_effort="medium",               # low | medium | high | xhigh | max ("none" returns 400)
    max_completion_tokens=8192,              # reasoning spends part of this budget; keep >= 8192
)
print(resp.choices[0].message.content)

Ready to build?

Leverage AI technologies to build your product stack

Superteams can help you build, deploy and launch AI application stacks using open source technologies — from architecture through to production.

Talk to Superteams