Amazon Ergo is an open-weight AI model for coding agents, and it landed on Hugging Face on December 1, 2026. Amazon did not start small: 1.1 trillion parameters, 55 billion of them active per token, and a context window of one million tokens. The company pitches the model at software engineering and agentic work, the kind of task where AI agents plan, call tools and check their own output. The benchmark chart gets the attention, but three practical questions matter more if you are deciding whether to use it: what it costs on Amazon Bedrock, what hardware you need to run the model weights yourself, and what the new license lets you do.
What the Amazon Ergo model is under the hood
Ergo is a mixture-of-experts transformer and a reasoning model. Instead of running the whole network for every token, a router in each layer picks a handful of specialized sub-networks, the experts. According to the model card, each layer holds 256 routed experts, 8 of which fire per token, plus one shared expert that always runs. That is how 1.1 trillion stored parameters turn into 55 billion active parameters per token.
The config.json in the repository tells you more than the launch post. The model has 64 layers, a hidden size of 8,192 and a 262,144-token vocabulary. Attention uses grouped-query attention, with 64 query heads sharing 8 key/value heads. Three out of every four layers only look at a sliding window of 512 tokens, and every fourth layer attends globally. The vLLM recipe adds that those global layers use no positional encoding at all (NoPE). That mix is what makes a million-token context affordable in the first place.
Maximum output is 131,072 tokens, and Amazon recommends a temperature of 1.0 with top_p at 0.99. The model card is upfront about two limits. Ergo is text only, so it cannot read images or screenshots. As a reasoning model it always thinks before answering: there is no knob for reasoning effort, which means simple requests burn more output tokens than they need. The sources disagree slightly on the knowledge cutoff. Hugging Face says June 2026, the Bedrock documentation says May 2026.
Memory math for a one-million-token context window
The config is enough to estimate the KV cache, the memory an LLM keeps for every token it has already read. Each global layer stores keys and values for 8 heads of 128 dimensions per token, which comes to 4 KiB in BF16. With 16 global layers, that is 64 KiB per token, or roughly 64 GiB for a single request that fills all 1,048,576 tokens. The 48 sliding-window layers need a flat 96 MiB or so, no matter how long the context gets.
If all 64 layers attended globally, the same request would need about 256 GiB. The windowed design cuts that by a factor of four, and the vLLM recipe for B300 halves it again by keeping an FP8 KV cache on the global layers. Treat these as our back-of-the-envelope numbers from config.json. They leave out the separately released draft model used for speculative decoding and whatever overhead your inference engine adds.
Self-hosting the open-weight model starts at a full GPU node
The model weights come in three flavors. The default Amazon-FMR/Ergo repository stores the experts in MXFP4 and weighs 626 GB. MXFP8 comes to 1.17 TB and BF16 to 2.22 TB. In all three, everything except the routed experts stays in BF16.
A quick sum shows where the floor is. A server with eight H200s has 8 × 141 GB, or 1,128 GB of HBM. The MXFP4 weights fit, leaving a bit under half for KV cache and runtime. That is exactly the setup the vLLM recipe ships as a preset: one 8 × H200 node, attention split with tensor parallelism 4 and data parallelism 2, experts spread across all eight GPUs. The recipe’s default target is two four-GPU GB300 trays, where vLLM reports about 200 output tokens per second per GPU while serving each user at 100 tokens per second.
# Default vLLM command from the official recipe (trimmed)
# Use the dedicated image until Ergo support lands in a vLLM release:
# vllm/vllm-openai:amazon-fmr-ergo
export VLLM_USE_RUST_FRONTEND=1
vllm serve Amazon-FMR/Ergo \
--max-model-len 1048576 \
--enable-prefix-caching \
--enable-expert-parallel \
--tensor-parallel-size 4 \
--enable-auto-tool-choice \
--tool-call-parser ergo \
--reasoning-parser ergo
For most companies, that is a data center purchase, not something for a workstation under the desk. If you already run H200 or B300 nodes, though, you get a frontier open-weight model for coding that never leaves your network. The model card says SGLang supports it from day one as well. Because the weights are open, you can customize the model with your own fine-tuning, and Amazon is clear about the flip side: anyone who fine-tunes or self-hosts is responsible for evaluating and safeguarding their own deployment, including their runtime data.
Amazon Bedrock pricing and the catch for EU teams
Ergo is available on Amazon Bedrock, the AWS service for managed model access. Through the global inference profile, the model costs $1.00 per million input tokens, $3.00 per million output tokens and $0.03 per million cached input tokens. Writing to the prompt cache, which lives for 30 minutes, costs $1.25 per million. The US profile is 10 percent more across the board. Amazon quotes more than 400 output tokens per second on Trainium3. A turbo mode on the new Trainium3SR chip is supposed to reach 2,200 tokens per second, but it is in limited preview and has no price yet.
The catch is in the availability table. On Bedrock, Ergo only runs through cross-Region inference. Frankfurt (eu-central-1) and the other EU Regions only get the global profile, global.amazon.ergo-1.0, so a request can be processed in any AWS Region worldwide. Amazon does promise zero data retention: it does not store your prompts or outputs and never uses them to train models, and Ergo runs on the AWS Nitro System with zero operator access. If your contracts require source code to be processed inside the EU, though, Bedrock is off the table right now, and self-hosting is the only route.
Here is a call through the Converse API, with a cost estimate built from the token counts Bedrock returns:
import boto3
# In EU Regions, Ergo is only available through the global profile
client = boto3.client("bedrock-runtime", region_name="eu-central-1")
response = client.converse(
modelId="global.amazon.ergo-1.0",
messages=[{"role": "user", "content": [
{"text": "Write a unit test for parse_date() in utils.py"}]}],
inferenceConfig={"maxTokens": 8192, "temperature": 1.0, "topP": 0.99},
)
# Ergo always returns reasoning blocks; print only the text
for block in response["output"]["message"]["content"]:
if "text" in block:
print(block["text"])
# Cost at global list price (USD per 1M tokens)
u = response["usage"]
cost = (u["inputTokens"] * 1.00
+ u.get("cacheReadInputTokens", 0) * 0.03
+ u.get("cacheWriteInputTokens", 0) * 1.25
+ u["outputTokens"] * 3.00) / 1_000_000
print(f"{u['outputTokens']} output tokens, about ${cost:.4f}")
The Bedrock docs list Codex, Kiro and OpenCode as working out of the box. Claude Code needs a LiteLLM proxy in between. On AI SWE, Amazon’s internal set of real engineering tasks, Ergo averaged $1.41 and 14.3 minutes per task. Kimi K3.1 Pro took 21.7 minutes and $1.58.
Reading the Amazon Ergo Open-Weights License
The license is free of charge and looks generous at first. You may run, modify, fine-tune, redistribute and build the model into commercial products as long as you ship the license file and follow the acceptable use policy. Two clauses, however, go beyond what you get with Apache 2.0 or MIT.
Section 3 targets companies that sell models as a service. If you give third parties API or hosted-endpoint access to Ergo for inference or fine-tuning, and you and your affiliates book more than $20 million in gross revenue over any 12-month period, you need a separate written agreement with Amazon first. Internal use, research and using Ergo to power features of your own product are explicitly excluded, as long as that product is not itself model hosting. An agency running Ergo in-house for code review is fine. A large cloud or inference provider selling Ergo next to other models through an API has to talk to Amazon. It resembles the 700-million-monthly-user threshold in Meta’s Llama licenses, but in our reading it is aimed much more precisely at services that compete with Bedrock.
Section 4 bans using Ergo to reconstruct its training data, or helping others do so. For licensees in the EEA, Switzerland and the UK, the counterparty is Amazon Media EU S.à r.l. in Luxembourg rather than Amazon.com. The same entity is the provider under the EU AI Act and has put a public summary of the training content in the repository as a PDF.
Benchmarks: strong on code, weak on long tasks
Amazon says Ergo is the top U.S. open-weight model on all seven coding benchmarks it reports. The “U.S.” qualifier carries a lot of weight. On DeepSWE, Ergo scores 74.2 percent, while Kimi K3.1 Pro leads at 77.9, Opus 5.5 reaches 71.3 and GPT-6 Astra 71.2. Terminal-Bench 4.0 shows a wider gap: Ergo 46.2, Kimi K3.1 Pro 63.3, Opus 5.5 65.2. Most of these numbers come from Amazon’s own runs. Some come from independently run leaderboards, which Amazon flags in its post.
On AI SWE FMR-Bench, a held-out set of real engineering tasks whose data was kept out of training, Ergo scores 65.4 against 58.6 for Kimi K3.1 Pro. Amazon says that beats every open-weight model it tested as well as the previous generation of proprietary models, GPT-5.5 and Opus 4.8, while the current closed models, Opus 5.5 at 85.3 and GPT-6 Astra at 80.8, stay well ahead. Amazon also evaluated the model under its Frontier Model Safety Framework, with outside specialists.
The clearest gap is on Ultra Long Horizon, an internal test of very long tasks. Ergo manages 20.5 percent, ahead of every open model but far behind Claude Fable 5.2 at 72.6 and Opus 5.5 at 60.1. The model card itself recommends letting Ergo test and verify its own changes on long agentic jobs. It fits well-scoped tickets with a clear spec. If you want an agent working alone on a large codebase for hours, run your own trials first.
Who should look at Amazon Ergo
Ergo is not the only big open-weight coding model. Reflection AI’s Beam with 501 billion parameters and Kimi K3.1 Pro play in the same field, although Amazon’s own table puts Ergo well ahead of Beam on DeepSWE (42.0). Smaller open-weight models such as Inkling 2 Mini run on a laptop but belong to a different weight class. For a completely different take on long-context architecture, see Z.ai’s GLM-5.4 loop transformer.
Our take: if you already run coding agents on Bedrock and have no EU data residency requirement, Ergo at $3 per million output tokens is an obvious candidate to test. Compare cost per task against comparable models, not just the list price. If you work under strict data protection rules, the global-only profile is the sticking point, and the only way in is your own H200 or B300 hardware. The useful next step is a bake-off on your own work: take ten real tickets from the backlog, use the same prompts and record cost and failure rate per model. The primary sources are Amazon’s announcement, the model card on Hugging Face and the vLLM recipe.




