What Amazon Ergo is
Amazon released Ergo on December 1, 2026. It comes from Amazon Frontier Model Research and is a mixture-of-experts model: 1.1 trillion parameters in total, 55 billion active for each token. It has a 1-million-token context window and can write up to 128,000 tokens in one answer.
Two things set it apart. It is open-weights: the trained model is on Hugging Face, and you can run it on your own hardware, fine-tune it and ship it in commercial products. And it is built for software work: Amazon reports 74.2% on DeepSWE and 46.2% on Terminal-Bench 4.0, and says this release focused on coding and agents rather than general knowledge.
Those are Amazon's numbers. We wanted to see how it behaves on tasks we could check ourselves.
Results: 12 of 12
Every task was graded by code. Functions ran against unit tests, reasoning answers were compared with the correct value, formatting was checked rule by rule, and the agent task was judged by a real test suite.
| Task | Type | What we checked | Result |
|---|---|---|---|
| Merge overlapping intervals | Code | Sorted, merged ranges; touching ranges join; input left untouched | ✓ Pass |
| Arithmetic expression parser | Code | Precedence, parentheses, unary minus, no eval, errors on bad input | ✓ Pass |
| Deep JSON diff | Code | Added, removed and changed values with dotted and [i] paths | ✓ Pass |
| Concurrency-limited async map | Code | At most N jobs at once, results in order, rejects on failure | ✓ Pass |
| Binary search that hangs | Debugging | Find why it loops forever on a missing value and fix it | ✓ Pass |
| Promise cache that runs twice | Debugging | Run a job once per key and share the result, including failures | ✓ Pass |
| Logic puzzle | Reasoning | Four suspects, exactly one true statement | ✓ Pass |
| Number theory | Reasoning | Smallest even number with three remainder conditions | ✓ Pass |
| Strict JSON output | Instructions | Exact keys, word limits, allowed values, no markdown | ✓ Pass |
| Constrained rewrite | Instructions | Exactly 3 sentences, at most 60 words, required and banned words | ✓ Pass |
| Needle in a 104K-token log | Long context | Two planted facts and an exact count across 5,000 lines | ✓ Pass |
| Fix a failing test suite with tools | Agent | List, read, edit and test a project without touching the tests | ✓ Pass |
Coding: clean, correct, defensive
Ergo wrote four functions from a short description, and each passed every test case. The expression parser is the hardest of the four: it has to handle operator precedence, parentheses, unary minus and decimals, and reject bad input such as 2(3), 1 + or 1/0, without using eval. Ergo wrote a small recursive-descent parser that passed 7 valid and 6 invalid expressions.
Its code reads like a careful engineer wrote it. Here is its answer to the interval-merging task, unedited:
function mergeIntervals(intervals) {
const sorted = intervals
.map(([start, end]) => [start, end])
.sort((a, b) => a[0] - b[0] || a[1] - b[1]);
const merged = [];
for (const [start, end] of sorted) {
const last = merged[merged.length - 1];
if (last && start <= last[1]) {
last[1] = Math.max(last[1], end);
} else {
merged.push([start, end]);
}
}
return merged;
}
It copies each interval before sorting, so the caller's array is never changed, which the prompt asked for. On the concurrency task it went further than the prompt and validated its inputs, throwing a RangeError when the limit is not a positive integer.
Debugging: finds the cause, makes the small fix
We gave Ergo a binary search that hangs forever when the value is missing. It found the cause (the lower bound never moves past the middle) and changed exactly that line:
function binarySearch(arr, target) {
let lo = 0, hi = arr.length;
while (lo < hi) {
const mid = (lo + hi) >> 1;
if (arr[mid] === target) return mid;
if (arr[mid] < target) lo = mid + 1; else hi = mid;
}
return -1;
}
The second bug was subtler: a promise cache that deleted failed entries, so a failing job could run twice and callers could get different promises. Ergo's fix runs the job once per key, gives every caller the same promise, and keeps both successes and failures cached.
Long context: a needle in 104,000 tokens
We generated a 5,000-line server log, about 418,000 characters or 104,000 tokens, planted two facts in it, and asked for a codeword on one line, the node on another, and the exact number of error lines.
Ergo got all three right, including the exact count, and returned only the JSON we asked for. That matters: finding a fact in a long document is common, but counting precisely across thousands of lines is where models often slip. This used about a tenth of Ergo's 1M-token window.
Agent work: fixing a broken project with tools
This is what Ergo is built for. We gave it a small JavaScript project with a failing test suite and four tools: list files, read a file, write a file and run the tests. It was told to fix the code and not touch the tests.
Ergo listed the files, ran the tests, read the failing module, and spotted the bug: median sorted numbers as text, so [10, 2, 5] came out in the wrong order. It rewrote the sort as a numeric one, ran the tests again, and stopped when they passed. It took 5 steps, and the test file was left exactly as it was.
Following instructions
Ergo followed strict output rules on both tasks. It returned valid JSON with exactly the four required keys, three single-word lowercase tags and a score in range. On the rewrite it produced exactly three sentences in 27 words, used both required words and avoided both banned ones.
It also solved both reasoning questions: a logic puzzle where exactly one of four statements is true, and a number-theory question with three remainder conditions.
What we learned
- It thinks before it answers. Ergo always reasons first. On hard tasks that shows up as correct, careful code. On a one-line question it is more than you need.
- It writes defensive code by default. Input validation, no mutation of arguments, clear error messages, often without being asked.
- It makes minimal fixes. When debugging it changed the line that was wrong and left the rest alone, which makes its changes easy to review.
- It is precise over long inputs. An exact count across 5,000 lines is a harder test than finding one fact, and it passed.
- It works well as an agent. It used the tools in a sensible order, verified its own fix by running the tests, and respected the rule not to edit them.
Limits to know about
- Text only. This release cannot read images, screenshots or diagrams. In AimiChat, image messages on Ergo go to GPT-6 Luna.
- Always reasons. Quick questions and rewrites get the same careful thinking as hard problems. For simple chat, a lighter model is a better fit.
- Coding-first. Amazon says this release scores lower on general knowledge and scientific reasoning. Our tests were mostly code, so we did not measure that.
- Check its code. It passed our tests, but Amazon notes its first-attempt accuracy trails the strongest closed models on long tasks. Let it run tests, and review before you merge.
Verdict
Amazon Ergo is a strong coding and agent model. It passed 12 of our 12 tests, wrote clean and defensive code, made small and correct fixes, stayed exact across a 104,000-token log, and fixed a broken project with tools the way a careful developer would. Its open weights make it the most interesting new option for teams that want to run or fine-tune a frontier-class coding model themselves.
Use it for writing features, debugging, refactors, reading long logs and multi-step agent work. Pick a lighter model for quick chat, and a vision model for anything with images.
Ergo is in AimiChat on the Free plan and every paid plan, at 2 credits a normal message. Try it now, or read the Amazon Ergo model page for specs and prompts.
How we tested
We sent Ergo 12 prompts on December 2, 2026, one run each with default settings. Every answer was graded automatically: generated functions ran in an isolated sandbox against our test cases, reasoning answers were compared with the known value, formatting rules were checked one by one, and the agent task ran a real Node.js test suite before and after Ergo's changes.
- One run per task. Model output varies, so another run could differ.
- Small, self-contained tasks. They show real behavior but are not a full software-engineering benchmark.
- No images, no non-English prompts and no multi-hour agent runs in this round. We plan to add them.
Model facts in this review come from Amazon's own documentation:
- AWS announcement: Amazon Ergo on Amazon Bedrock
- Amazon Ergo product page
- Amazon Ergo model card on Hugging Face
FAQ
Is Amazon Ergo good at coding?
In our tests, yes. Ergo wrote four functions that passed every unit test we ran against them, fixed two real bugs, and repaired a small project with tools until its test suite passed. 12 of 12 tasks passed in total.
Can Amazon Ergo handle long documents?
Yes. We gave it a 5,000-line log of about 104,000 tokens with two planted facts and asked for an exact count of error lines. It found both facts and got the count exactly right. Its context window is 1 million tokens.
Does Amazon Ergo read images?
No. This release is text only. In AimiChat, if you send an image while Ergo is selected, GPT-6 Luna answers that message instead.
Is Amazon Ergo free in AimiChat?
Yes. Ergo is on the Free plan and every paid plan for 2 credits a normal message.
What does open-weights mean for Ergo?
Amazon has published the model weights on Hugging Face under the Amazon Ergo Open-Weights License, which allows running, fine-tuning and commercial use within its acceptable use policy.
