Dev.to AI ๐Ÿค– Ai ๐Ÿ‘ 0 ๐Ÿ“– 7 min read

Amazon Ergo: A Developer Guide to the Open Model

Amazon Ergo is Amazon's first open-weight frontier model, a 1.1 trillion parameter mixture-of-experts system built for agentic coding and long professional workflows. Announced on 1 December 2026 at AWS re:Invent, it pai

Amazon Ergo is Amazon's first open-weight frontier model, a 1.1 trillion parameter mixture-of-experts system built for agentic coding and long professional workflows. Announced on 1 December 2026 at AWS re:Invent, it pairs downloadable weights with a low Bedrock price, and it matters because it is the first time the world's largest cloud vendor has given developers a frontier coding model they can host themselves.

Key takeaways

  • Ergo is a 1.1 trillion parameter mixture-of-experts model with 55 billion active parameters per token, a 1 million token context window and a 128,000 token maximum output.
  • On Amazon Bedrock it costs $1 per million input tokens and $3 per million output tokens, with Amazon claiming a full programming task costs about $1.41.
  • The weights are free to download from Hugging Face under Amazon's own open-weights licence, but the smallest quantised build is 626 GB, so self-hosting needs serious GPU hardware.
  • Amazon reports 74.2% on DeepSWE, first among US open-weight models on the seven coding benchmarks it published, yet its own comparison puts Kimi K3.1 Pro ahead at 77.9%.
  • Ergo Turbo, running on the new Trainium3SR system at up to 2,200 output tokens per second, is in limited preview with pricing still to be announced.

What is Amazon Ergo?

Ergo is a text in, text out transformer built for software engineering and multi-step enterprise work. It uses a mixture-of-experts design: 1.1 trillion parameters in total, of which only 55 billion activate for each token. That split is what keeps inference affordable at this scale, because the hardware does a fraction of the work a dense model of the same size would need. Amazon built it inside a new model pipeline started 11 months before launch, and it is the first model from that pipeline to ship. The company no longer calls its earlier Nova models frontier models, but it does use that label for Ergo.

The headline numbers come from Amazon's own model card. The context window is 1 million tokens with a maximum output of 128,000 tokens, which suits long agentic loops where a coding agent reads a whole repository, plans, writes code, runs tests and iterates. Ergo is text only: it cannot read images, so screenshot-driven UI work and diagram understanding are outside its scope. Amazon ships it in three precisions: MXFP4 at 626 GB, MXFP8 at 1.17 TB and BF16 at 2.22 TB. It also works with the Kiro agentic IDE, and Amazon provides containers for the vLLM and SGLang serving frameworks.

How much does Ergo cost on Bedrock?

On Amazon Bedrock, global cross-region inference is priced at $1 per million input tokens and $3 per million output tokens. That output price is the one that matters for coding agents, because agents generate far more than they read in a long session of writing, testing and fixing. Amazon says a full programming task costs about $1.41 on Ergo, a figure the company itself published rather than an independent measurement.

To see what that means in practice, take a typical agent session: 200,000 input tokens of repository context and prompts, and 50,000 output tokens of code, tests and fixes. The bill is 200,000 times $1 per million plus 50,000 times $3 per million, which is $0.20 plus $0.15, or $0.35. Run that session 100 times a day and the monthly cost is about $1,050. The same arithmetic is the honest way to compare Ergo with any rival: price per token means little until you multiply it by your own input and output volumes. Turbo pricing has not been announced, so any cost comparison that includes Turbo is guesswork for now.

Can you run Ergo on your own hardware?

Yes, in principle, and no, in practice, for most teams. The weights are free to download from Hugging Face under the Amazon Ergo Open-Weights License, which permits running, modifying, fine-tuning and redistributing the model, including for commercial use, subject to its conditions and an acceptable use policy. That licence is Amazon's own, not Apache 2.0, so teams should read it before building a product on top of the weights.

The real barrier is size. The smallest build, MXFP4, is 626 GB, and a serving setup needs roughly 1 TB of GPU memory once the key value cache and overhead are counted. That is datacentre hardware, not a workstation, and it is the reason most developers will meet Ergo through Bedrock rather than a local download. The open weights still matter even for teams that never self-host: they make the model auditable, fine-tunable and portable in a way a closed API model never is. A team can fine-tune Ergo on its own codebase, then serve the tuned model through vLLM or SGLang on rented GPUs, without asking Amazon for permission.

How good is Ergo at coding, really?

Amazon reports a 74.2% score on DeepSWE, 31.5 on FrontierSWE v2, 70.0 on AutomationBench-AA, 46.2% on Terminal-Bench 4.0 and 21.3 on Terminal-Bench Science 0.1. The company says Ergo ranks first among US open-weight models on all seven coding benchmarks it reported, and first or second among all open-weight models. Those are vendor-reported numbers on Amazon's chosen benchmarks, and no independent benchmark body had published a full replication at the time of writing.

The most useful detail sits inside Amazon's own comparison table. On DeepSWE, Kimi K3.1 Pro scores 77.9% against Ergo's 74.2%, so the Chinese open-weight rival still leads on that benchmark. A separate comparison circulating after launch claims Ergo wins only 2 of 12 head to head tests against Claude Opus 5.5 and 3 of 12 against GPT-6 Astra. Early hands-on testing is mixed too: one independent test found Ergo's marketing site build passed all 21 checks in under five minutes for about $0.27, while its 3D scene placed fifth in a blind design ranking. The honest summary is that Ergo is a strong open-weight coding model with the best US open-weight scores Amazon could show, but it does not beat the closed frontier models, and the open-weight crown still depends on which benchmark you trust.

How do you call Ergo from Python?

The fastest route is Bedrock, using the Converse API through boto3. The snippet below sends a coding task and prints the reply. Copy the exact model ID from the Bedrock console in your region before running it, because model IDs vary by region and by inference profile.

import boto3

client = boto3.client("bedrock-runtime", region_name="us-east-1")

MODEL_ID = "amazon.ergo-1-0"  # check the Bedrock console for your region

response = client.converse(
    modelId=MODEL_ID,
    messages=[
        {
            "role": "user",
            "content": [
                {
                    "text": (
                        "Write a Python function that parses a CSV of "
                        "server logs and returns the five slowest endpoints, "
                        "with a pytest test for the parser."
                    )
                }
            ],
        }
    ],
    inferenceConfig={"maxTokens": 4096, "temperature": 0.2},
)

print(response["output"]["message"]["content"][0]["text"])
print("Tokens used:", response["usage"])

A few details are worth noting. The temperature of 0.2 keeps code output deterministic, which is what you want for repeatable agent runs. The usage block in the response reports input and output tokens, so you can log the exact cost of every call and check it against the $1 and $3 rates. For long agent sessions, keep the 1 million token context in mind but do not fill it for fun: every token in the prompt is billed, and a bloated context is the fastest way to turn a cheap model into an expensive one.

Self-hosting with vLLM follows the usual open-weight pattern. After downloading the weights from Hugging Face, start the server with the model path and an API key, then point any OpenAI-compatible client at it. The command needs a multi-GPU host with roughly 1 TB of GPU memory for the MXFP4 build, so test it on rented hardware before committing to a purchase.

vllm serve amazon/Ergo-1.0 \
  --quantization mxfp4 \
  --max-model-len 131072 \
  --api-key "your-key-here"

Should you switch to Ergo?

Switch if your workload is high-volume agentic coding and your bill is dominated by output tokens. At $3 per million output tokens, Ergo undercuts the closed frontier models by a wide margin, and the 1 million token context removes the window juggling that smaller open models force on long tasks. Teams already on AWS get the shortest path: Bedrock, the Kiro IDE and Trainium-backed speed are one console away.

Stay where you are if you need the highest raw coding quality on hard tasks, if your work needs image understanding, or if you need Turbo's 2,200 tokens per second today rather than in a limited preview with unannounced pricing. Also stay put if your stack is not on AWS: the fastest Ergo speeds depend on Trainium3 and Trainium3SR, which only AWS offers, and the speed advantage narrows on other hardware.

The sensible move for most teams is a measured trial, not a migration. Pick one real task, a bug fix or a small feature with tests, and run it on Ergo and on your current model. Score the result on tests passing, tokens used and dollars spent. Amazon's benchmarks and its $1.41 per task claim are starting points, not verdicts. Your own task, measured your own way, is the only benchmark that decides whether Ergo earns a place in your stack.

Originally published on LogicStack. Run the code examples right in your browser with our free interactive Python and SQL playgrounds โ€” no setup, no sign-up.

๐Ÿ“ฐ Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes โ€” full credit and traffic to the original publisher.