Back Original

Amazon Ergo: A fast, cost-effective open-weights model

A fast, cost-effective frontier open-weights model for software engineering and agentic workflows.

Published:

5 min read

Today we are introducing Amazon Ergo, an agentic reasoning model built for real-world work. We’ve designed Ergo to excel at enterprise agent and software development work while being one of the fastest and lowest-cost models available today.

We’re also excited to be releasing Ergo as a fully open-weights model. Customers have told us that open-weights put them in control of their AI, whether they want to run a model on their own hardware or customize it with their own data. With Ergo, users get a highly capable model along with the control and flexibility of open-weights.

Ergo performs strongly on common agentic benchmarks, such as DeepSWE, AutomationBench-AA, and Terminal-Bench Science 0.1. It ranks first among U.S. open-weights models on all seven coding benchmarks we report, and first or second among all the open-weights models we compare against.

DeepSWE

Ergo rank #2

pass@1

Kimi K3.1 Pro: 77.9

Ergo: 74.2

Opus 5.5: 71.3

GPT-6 Astra: 71.2

GLM 5.3: 69.5

GPT-5.5: 69.2

Inkling 2 Small: 67.3

Opus 4.8: 60.1

Mistral Large 4: 59.1

Muse Spark Open: 56.6

Beam: 42.0

AutomationBench-AA

Ergo rank #2

AA score(independently run public leaderboard)

Kimi K3.1 Pro: 73.3(independently run public leaderboard)

Ergo: 70.0(independently run public leaderboard)

Opus 5.5: 69.5(independently run public leaderboard)

GPT-6 Astra: 68.5(independently run public leaderboard)

GLM 5.3: 62.2(independently run public leaderboard)

Mistral Large 4: 57.8(independently run public leaderboard)

Muse Spark Open: 49.7(independently run public leaderboard)

Beam: 48.5(independently run public leaderboard)

GPT-5.5: 47.3(independently run public leaderboard)

Inkling 2 Small: 45.6(independently run public leaderboard)

Opus 4.8: 45.6(independently run public leaderboard)

Terminal-Bench Science 0.1

Ergo rank #4

pass@1

GPT-6 Astra: 67.9

Opus 5.5: 61.2

Kimi K3.1 Pro: 35.7

Ergo: 21.3

Opus 4.8: 9.0

GPT-5.5: 6.3

GLM 5.3: 5.7(independently run public leaderboard)

Mistral Large 4: 3.1

Inkling 2 Small: 2.9

Muse Spark Open: 1.0

Beam: 1.0

Bars start at zero and end at 80. # is Ergo’s rank among the models shown. † Result from an independently run public leaderboard. Unmarked: our runs.

We’ve also tested Ergo on real-world tasks drawn from across Amazon’s businesses, ranging from retail to chip design. These are held-out tasks: their data is kept out of training, so we believe they are the most objective measure of how Ergo will perform on the varied, real problems customers use AI to solve. On this held-out set, Ergo outperforms every open-weights model we tested, as well as the previous generation of proprietary models, GPT-5.5 and Opus 4.8.

AI SWE

FMR-Bench, pass@1, 0 to 100. Higher is better.

Best among open-weights models

Ergo and open-weights models

Ergo: 65.4

Kimi K3.1 Pro: 58.6

Inkling 2 Small: 51.3

GLM 5.3: 44.3

Mistral Large 4: 39.4

Muse Spark Open: 28.1

Beam: 26.4

… and in the mix with the frontier

Ergo and closed-weights models

Opus 5.5 (closed model, current generation): 85.3

GPT-6 Astra (closed model, current generation): 80.8

Ergo: 65.4

GPT-5.5 (closed model, previous generation): 55.3

Opus 4.8 (closed model, previous generation): 40.8

ErgoOpen weightsClosed, current generationClosed, previous generation

DeepSWE: 74.2%, #1 U.S. open-weights

FrontierSWE v2: 31.5%, #1 open-weights

Terminal-Bench 4.0: 46.2%, #1 U.S. open-weights

Among open-weights models, Ergo ranks first across our held-out evals and competitively on public coding benchmarks like DeepSWE, AutomationBench-AA and Terminal-Bench Science 0.1.

We compare Ergo with leading open-weights models and, for reference, with current- and previous-generation closed models.

Scroll right for more models

Benchmark scores for Ergo and for open-weights and closed-weights models. Each row is a benchmark; each column is a model. Higher scores are better.
Open weightsClosed weights (reference)
CategoryBenchmarkErgo (ours)Kimi K3.1 ProGLM 5.3Mistral Large 4Muse Spark OpenBeamInkling 2 SmallNemotron 3 UltraFable 5.2Opus 5.5GPT-6 AstraGPT-5.5Opus 4.8
FMR-BenchinternalAI SWEpass@1Best open-weights score. Score 65.4Score 58.6Score 44.3Score 39.4Score 28.1Score 26.4Score 51.3Score 4.1Score 78.7Score 85.3Score 80.8Score 55.3Score 40.8
Ultra Long Horizonpass@1Best open-weights score. Score 20.5Score 13.1Score 9.7Score 7.5Score 1.2Score 0.8Score 6.0Score 0.0Score 72.6Score 60.1Score 44.9Score 7.3Score 5.7
Code QualityRubric scoreBest open-weights score. Score 32.1Score 28.1Score 19.7Score 20.4Score 8.3Score 5.4Score 26.6Score 1.4Score 51.6Score 49.6Score 45.2Score 22.4Score 16.7
Agentic codingpublicDeepSWEpass@1Score 74.2Best open-weights score. Score 77.9Score 69.5Score 59.1Score 56.6Score 42.0Score 67.3Score 3.7Score 75.2Score 71.3Score 71.2Score 69.2Score 60.1
FrontierSWE v2ScoreBest open-weights score. Score 31.5Score 29.3Score 30.2independently run leaderboardScore 15.8Score 11.1Score 9.0Score 25.9independently run leaderboardScore 3.6Score 69.9independently run leaderboardScore 62.3independently run leaderboardScore 65.5independently run leaderboardScore 9.3Score 31.2
Terminal-Bench 4.0pass@1Score 46.2Best open-weights score. Score 63.3Score 36.9Score 30.1Score 5.1Score 4.5Score 12.9Score 0.0Score 65.2independently run leaderboardScore 65.2independently run leaderboardScore 58.3Score 13.1Score 20.8
ProgramBenchAlmost resolvedScore 23.5Best open-weights score. Score 24.1Score 14.8Score 12.7Score 2.0Score 2.5Score 12.2Score 0.0Score 63.5independently run leaderboardScore 68.8Score 54.8Score 10.1Score 21.7
Science and MLpublicTerminal-Bench Science 0.1pass@1Score 21.3Best open-weights score. Score 35.7Score 5.7independently run leaderboardScore 3.1Score 1.0Score 1.0Score 2.9Score 0.2Score 70.2Score 61.2Score 67.9Score 6.3Score 9.0
FrontierMLScoreScore 24.5Best open-weights score. Score 29.6independently run leaderboardScore 19.6independently run leaderboardScore 12.7Score 2.3Score 4.1Score 8.8Score 0.0Score 53.5Score 57.5Score 42.9Score 6.4Score 16.9
Professional workpublicAutomationBench-AAAA scoreScore 70.0independently run leaderboardBest open-weights score. Score 73.3independently run leaderboardScore 62.2independently run leaderboardScore 57.8independently run leaderboardScore 49.7independently run leaderboardScore 48.5independently run leaderboardScore 45.6independently run leaderboardScore 3.0independently run leaderboardScore 76.4independently run leaderboardScore 69.5independently run leaderboardScore 68.5independently run leaderboardScore 47.3independently run leaderboardScore 45.6independently run leaderboard
GDPval-AA 1.0Weighted scoreScore 86.2Best open-weights score. Score 89.0Score 87.4Score 86.7Score 86.3Score 81.9Score 88.4Score 78.7Score 84.4Score 90.8Score 87.5Score 83.3Score 86.5
Briefcase-AA 1.1EloScore 1615independently run leaderboardBest open-weights score. Score 1672independently run leaderboardScore 1498independently run leaderboardScore 1347independently run leaderboardScore 1281independently run leaderboardScore 976independently run leaderboardScore 1527independently run leaderboardScore 879independently run leaderboardScore 1783independently run leaderboardScore 1797independently run leaderboardScore 1570independently run leaderboardScore 1135independently run leaderboardScore 1321independently run leaderboard

Higher scores are better. The metric is under each benchmark name. Bold: best open-weights score in each row. Closed-weights models are shown for reference. † (gray italic): result from an independently run public leaderboard. Unmarked cells: our runs.

Ergo is also faster and cheaper per task. On AI SWE, it averages 14.3 minutes and $1.41 per task: 50% faster than Kimi K3.1 Pro, at about 10% lower cost.

Ergo leads on speed and cost in this comparison

AI SWE (FMR-Bench). Lower is better.

Time per task (minutes)

Ergo: 14.3baseline

Kimi K3.1 Pro: 21.71.52x Ergo

Cost per task (USD)

Ergo: $1.41baseline

Kimi K3.1 Pro: $1.581.1x Ergo

50% faster and 10% lower cost vs Kimi K3.1 Pro

Ergo can carry out long, multi-step tasks autonomously: it explores the problem, verifies its work, and stops once the task is complete. Engineers can hand it a design document and get a working feature, researchers and educators can turn an idea into an interactive demo in minutes, and analysts and legal teams can have it check documents against a policy or uncover errors hidden in their data. In the examples below, working from a single prompt with no human input, Ergo wrote a complete chess game with a computer opponent, rendered starlight bending around a black hole, and triaged a weekend’s worth of customer support email.

index.html: the chess game Ergo built

CodingInteractive demo

A full game of chess against the computer

one prompt, 31 words · move generation matches the standard perft counts exactly · no human input

Ergo wrote the rules engine and the board: legal-move highlighting, castling, en passant, promotion, check, checkmate, stalemate, and the repetition, fifty-move, and insufficient-material draws, plus a scoresheet and a computer opponent at several levels.

Show the prompt
Build a self-contained web page where I can play a full game of chess against the computer, with every rule handled correctly: castling, en passant, promotion, check, checkmate, stalemate and draws.

index.html: the black-hole ray tracer Ergo wrote

CodingInteractive demo

Starlight bent by a black hole

one prompt, 24 words · light paths match an independent integration · no human input

Ergo traced light backward through Schwarzschild spacetime on the GPU, so the stars behind the hole bend into arcs and an Einstein ring. The photon sphere sits at 1.5 Schwarzschild radii and the shadow edge at the analytic critical impact parameter, and the page reports the shadow’s size as you change the mass, distance, and field of view.

Show the prompt
Build a self-contained web page that shows how a black hole bends the light of the stars behind it, with physically correct ray tracing.

index.html: the Fourier drawing page Ergo wrote

CodingInteractive demo

Any drawing, redrawn by rotating circles

one prompt, 42 words · its Fourier transform matches NumPy on all 598 coefficients · no human input

Ergo wrote a page where you draw a shape in one stroke and a chain of rotating circles redraws it as a Fourier series. A slider sets how many circles are used; with one circle the trace is an exact circle, and the error falls steadily as circles are added.

Show the prompt
Build a self-contained web page where I draw any shape with the mouse and rotating circles (a Fourier series) redraw it, with a control for how many circles to use. Test it in a real headless browser before you hand it over.

projectile.html: the air-resistance lab Ergo built

CodingInteractive demo

Air resistance, for a physics lab

one prompt, 173 words · all 7 answer-key cases match to within one part in ten billion · no human input

From a teacher’s lab handout and email, Ergo built a single-file simulation with sliders for launch speed, angle, drag coefficient, and ball mass. It draws the trajectory with and without drag on one plot, reports range, maximum height, and flight time for both, and fits a Chromebook and a phone without scrolling.

Show the prompt
I teach physics and on Thursday my class does a lab on air resistance - the handout (lab_handout.md) and my email (email_from_teacher.txt) have the setup and the numbers. Can you build the simulation they'll use, as projectile.html? It needs sliders for launch speed, launch angle, drag coefficient and ball mass, draws the trajectory with drag and without drag on the same picture, and shows range, max height and flight time for both. One self-contained file please: no libraries, nothing loaded from the internet, no saving to the device, because it runs in a sandboxed iframe on our school's LMS. It has to fit without scrolling on the Chromebooks (1240x760) and on phones (390x700).

Our LMS runs an automated checker on every interactive before it is published, so the page needs a small hook for it: a global window.demo with
- setSpeed(m_per_s), setAngle(degrees), setCd(value), setMass(kg) that move the corresponding slider and update everything, and
- getState() returning plain numbers in SI units: {speed, angle, cd, mass, drag: {range, maxHeight, flightTime}, noDrag: {range, maxHeight, flightTime}}.

[The lab handout and the teacher’s email were placed in the working directory.]

The ratekeeper library replaying a request log

CodingDesign doc to library

A rate-limiting library, from an empty folder

one prompt, 13 words · 48 of 48 hidden tests pass · no human input

Ergo built the token bucket, sliding-window log, keyed registry, WSGI middleware, replay CLI, example server, and a test suite, as the design doc specifies, using only the standard library.

Show the prompt
Build ratekeeper from scratch, exactly as DESIGN.md specifies, standard library only, with tests.

ap_dashboard.html: the controller dashboard Ergo built

Professional workDashboard

Accounts payable: what to pay from 62 invoices

one prompt, 135 words · all 62 decisions and amounts match our answer key · no human input

Ergo read 62 rough invoice scans, matched each one to its purchase order and to the goods actually received under the company’s policy, rejected two disguised duplicates, and produced the payment file, a controller summary, and a one-page dashboard.

Show the prompt
I'm covering AP at Ironwood Brewing while our clerk is out, and there is a backlog of vendor invoices from Sept-Nov in invoices/ (scanned text, sorry about the quality). purchase_orders.csv and goods_received.csv are exports from our ERP, and ap_policy.md is our matching policy. Can you run the three-way match on every invoice and tell me what to pay?

I need:
- ap_decisions.csv with one row per invoice file and columns invoice_file, vendor, invoice_number, po_number, invoice_total, decision (approve, short_pay, hold or reject), amount_to_pay, reason (blank when approved)
- ap_summary.md for the controller listing every invoice that is not a straight approval with the reason and the policy section, plus the total we will pay in this run. Also make ap_dashboard.html, a one-page visual summary for the controller with charts (no libraries, nothing loaded from the internet).

[The invoices, ERP exports, and AP policy were placed in the working directory.]

triage_dashboard.html: the inbox dashboard Ergo built

Professional workDashboard

A weekend support inbox, triaged by Monday

one prompt, 122 words · all 60 categories and urgent flags match our answer key · no human input

Ergo sorted 60 emails into the support categories, flagged the 7 that the escalation policy marks urgent, linked three reports of the same outage, wrote reply drafts in each customer’s language (English, German, and Spanish), and built a dashboard.

Show the prompt
It's Monday morning and the support inbox (inbox/, one file per email) piled up over the weekend. Can you triage it for me? Use the categories and the escalation policy in categories.md; our VIP accounts are in vip.csv.

Please give me:
- triage.csv with one row per email and columns email_file, category, urgent (yes/no), group_id, reason. Use the category names from categories.md. If several emails are about the same underlying problem, give them the same group_id; otherwise leave group_id empty.
- drafts.md with a reply draft for every urgent email, one section per email headed by its file name, in the customer's language. Also make triage_dashboard.html, a one-page visual summary of the inbox with charts (no libraries, nothing loaded from the internet).

[The inbox, categories and escalation policy, and VIP list were placed in the working directory.]

Ergo runs at over 400 output tokens per second on Amazon Bedrock, where it is served on AWS Trainium3. That’s more than twice as fast as comparable models. It costs $1 per million input tokens and $3 per million output tokens, a fraction of the cost of models with similar capabilities. Ergo’s speed comes from co-designing the model, hardware, and software.

Turbo mode. Ergo can also run on Trainium3SR, which pairs Trainium3 with a specialized SRAM-based chip designed to take on work from the token generation phase of inference. Running on both chips, Ergo reaches 2,200 output tokens per second, nearly 5x its already industry-leading standard speed. Turbo mode is available in limited preview, and its pricing will be announced later.

We built the infrastructure behind Ergo from scratch in 11 months, allowing us to scale pretraining, data, and post-training. Ergo was pretrained on large GPU clusters on AWS and post-trained on a mix of accelerators, including Trainium. Our pretraining infrastructure is fault-tolerant and bitwise deterministic, achieving 96% goodput throughout pretraining.

Ergo is a mixture-of-experts transformer. Each token passes through only a small part of the network, so the model has 1.1 trillion parameters in total but uses only 55 billion of them for each token.

1.1TTotal parameters

55BActive per token

1MContext window, tokens

128KMaximum output, tokens

Compute is one of the largest costs of building a frontier model. By our estimate, Ergo’s base model is 19.6 times as efficient as Kimi K2 Base on code, and 5.9 times as efficient on documents.

Compute efficiency of the base models we scored

Kimi K2 Base = 1. Logarithmic scale. Further right is better.

Held-out code

Measured by us

Ergo base: 19.6x

Kimi K2 Base (baseline): 1.00x

DeepSeek V4 Pro: 0.80x

DeepSeek V3.1: 0.53x

DeepSeek V3: 0.28x

Nemotron 3 Ultra: 0.22x

Nova 2: 0.10x

Self-reported by each lab, on its own data

Muse Spark (footnote (self-reported by the lab)1) : 3.3x

Kimi K3 (footnote (self-reported by the lab)2) : 2.5x

Held-out documents

Measured by us

Ergo base: 5.9x

DeepSeek V4 Pro: 1.10x

Nemotron 3 Ultra: 1.01x

Kimi K2 Base (baseline): 1.00x

DeepSeek V3.1: 0.77x

DeepSeek V3: 0.65x

Nova 2: 0.08x

Hollow dots: each lab’s own published figure against Kimi K2, on its own held-out code.

How we measure it. Efficiency is defined as the ratio of compute necessary to achieve a fixed loss (in nats per byte, NPB). We measure loss on two held-out datasets: code, from a snapshot that predates widespread use of AI coding agents, and documents. Neither is publicly available, and both were deduplicated against Ergo’s training data.

With much less training compute, Ergo’s base model has lower loss on code than every model we scored from other labs, including the post-trained Kimi K3.1 Pro and Kimi K3 (0.1559 vs 0.1564 NPB), and is 0.0002 behind Kimi K3 on documents.

Loss on unseen text

Nats per byte (NPB). Further left is better. The axis does not start at zero.

Held-out code

Ergo base: 0.1559

Kimi K3.1 Pro*: 0.1564

Kimi K3*: 0.1564

Ergo*: 0.1568

DeepSeek V4 Pro: 0.1626

Kimi K2 Base (baseline): 0.1664

Inkling 2 Small*: 0.1664

DeepSeek V3.1: 0.1687

Nemotron 3 Ultra: 0.1715

DeepSeek V3: 0.1725

Nova 2: 0.1782

Held-out documents

Kimi K3*: 0.4299

Ergo base: 0.4301

Kimi K3.1 Pro*: 0.4308

Ergo*: 0.4332

DeepSeek V4 Pro: 0.4369

Inkling 2 Small*: 0.4423

Nemotron 3 Ultra: 0.4432

Kimi K2 Base (baseline): 0.4479

DeepSeek V3.1: 0.4489

DeepSeek V3: 0.4513

Nova 2: 0.4754

Scored by us on the same data with the same scorer. * Post-trained models.

We used scaling laws to predict the performance of our largest models by fitting against a ladder of smaller ones. Our intermediate and largest models match the prediction almost exactly, indicating near-perfect extrapolation even over two orders of magnitude more training compute. We achieved this through research into architecture, optimization, and data methods that stabilize training, resulting in a pretraining run with no loss spikes from start to finish.

Scaling-law chart, lower is better. Code: the law predicted 0.1562, Ergo scored 0.1559. Documents: the law predicted 0.4311, Ergo scored 0.4301.

Two charts side by side, one for held-out code and one for held-out documents. Each plots loss on unseen text (nats per byte, lower is better) against training compute on a log scale, with more compute to the right. Five smaller models are grey dots at the end of training, with faint lines tracing each one during training. A solid line is the scaling law fitted over them and a dashed line is its prediction beyond them, out to Ergo 55B, which was held out of the fit. On code, the law predicted a loss of 0.1562 and Ergo scored 0.1559. On documents, the law predicted 0.4311 and Ergo scored 0.4301. Both results are labelled on track. A table of every plotted model follows.

Loss on unseen text, in nats per byte (lower is better), for each model plotted in the chart. Values for the smaller models are read from the chart geometry and are accurate to about 0.001; the Ergo values are exact. The chart gives no numeric training compute, so the second column gives each model's order along the compute axis.
ModelPosition on training-compute axisLoss
Held-out code
Smaller model 1lowest of the fiveabout 0.197
Smaller model 2second lowestabout 0.186
Smaller model 3middleabout 0.178
Smaller model 4second highestabout 0.173
Smaller model 5highest of the fiveabout 0.163
Ergo 55B (held out), predicted by the scaling lawbeyond the smaller models0.1562
Ergo 55B (held out), actualbeyond the smaller models0.1559
Held-out documents
Smaller model 1lowest of the fiveabout 0.534
Smaller model 2second lowestabout 0.509
Smaller model 3middleabout 0.491
Smaller model 4second highestabout 0.477
Smaller model 5highest of the fiveabout 0.453
Ergo 55B (held out), predicted by the scaling lawbeyond the smaller models0.4311
Ergo 55B (held out), actualbeyond the smaller models0.4301

Lower is better. Gray dots are our smaller models at the end of training, and the faint lines show each model’s loss during training. The solid line is the scaling law over the models it was fitted on, and the dashed line is its prediction beyond them. The ring is where the law said Ergo would land, and the blue dot is where it did.

Ergo is built to work as a coding agent, and an agent that can run commands can also delete files or expose credentials. We evaluated Ergo before release in three areas: harmful content, agentic behavior, and privacy. In each area we tested both sides: that Ergo declines what it should, and that it still helps with legitimate requests.

In our tests, Ergo consistently declines requests for harmful content, including requests disguised as role-play, fiction, or claimed authority, while still answering legitimate questions on sensitive topics. In sandboxed agentic scenarios, we checked that it stops and asks before a dangerous action and simply does the work when a request is safe. Ergo is trained to be resistant to malicious instructions planted in the content it reads. We also checked that it avoids outputting private information about people. These behaviors are enabled by safety-focused scaling: data curation and processing in pretraining and safety post-training. In addition, we worked with specialized firms to evaluate Ergo under Amazon’s Frontier Model Safety Framework, including on Offensive Cyberoperations, Chemical, Biological, Radiological and Nuclear (CBRN) capabilities, Loss of Control, and Harmful Manipulation. You can read more about our approach to evaluations in Ergo’s AI Service Card and our upcoming Frontier Model Safety Report.

Privacy on Amazon Bedrock. On Bedrock, Ergo runs with zero data retention: Amazon does not store your prompts or outputs, and your data is never used to train models. It runs on infrastructure built on the AWS Nitro System, with zero operator access. Amazon Bedrock Guardrails add another optional layer of protection.

Self-hosted deployments. Because the weights are open, customers who fine-tune or self-host Ergo are responsible for evaluating and safeguarding their own deployments, including protecting their own runtime data, and applying appropriate runtime controls.

Ergo’s weights are available under the Amazon Ergo Open-Weights License. The license is free of charge. You can run, fine-tune, modify, and redistribute Ergo, and build it into commercial products, as long as you follow the acceptable use policy.

Ergo is the first step on our path to safe frontier intelligence. We are still early on the scaling trajectory, and we will continue to train larger and more capable models.

Read more on the Amazon Ergo product page, or get started today on Amazon Bedrock. Ergo will be available in Kiro today.