Skip to navigation

Amazon Ergo for Coding Agents: Do Its Benchmark Wins Survive Real Repository Work?

In short: Ergo benchmarks look promising, but repository work adds tool loops and hidden constraints. Here is a reproducible evaluation plan, not invented results.

Published 16 min read
On this page

The short answer

Ergo’s benchmark results justify a serious coding-agent evaluation, but they do not prove that it will handle your repository better than your current model. The published tests are mostly vendor-run, and repository work adds constraints that a benchmark score compresses into one number: tool selection, stale context, private conventions, long edit cycles, and review quality.

The honest answer to the title is that we do not know yet. No first-hand Ergo repository test was run for this article. What follows is a reproducible evaluation plan, the published evidence that motivates it, and the failure modes your plan must be able to detect.

What the benchmark table actually establishes

Amazon’s launch material reports a broad coding benchmark table. Ergo scores 74.2 pass@1 on DeepSWE, 31.5 on FrontierSWE v2, 46.2 on Terminal-Bench 4.0, and 23.5 almost resolved on ProgramBench. Those are meaningful signals that the model can perform demanding software tasks under the published harness conditions.

The table also shows where Ergo does not lead. Kimi K3.1 Pro scores 77.9 on DeepSWE, 63.3 on Terminal-Bench 4.0, and 24.1 on ProgramBench. On Terminal-Bench Science 0.1, Ergo scores 21.3 while Kimi scores 35.7 and GPT-6 Astra scores 67.9. A buyer who summarizes this as “Ergo beats Kimi” has discarded half the table.

Benchmark Ergo Kimi K3.1 Pro Other notable result Reading
DeepSWE pass@1 74.2 77.9 Opus 5.5: 71.3 Strong, but behind Kimi
FrontierSWE v2 31.5 29.3 Opus 5.5: 62.4 Ahead of Kimi, behind frontier reference
Terminal-Bench 4.0 pass@1 46.2 63.3 Opus 5.5: 59.1 Behind Kimi and Opus
ProgramBench almost resolved 23.5 24.1 Opus 5.5: 21.3 Close to Kimi, ahead of Opus
Terminal-Bench Science 0.1 21.3 35.7 GPT-6 Astra: 67.9 Large gap in this row
FrontierML 24.5 29.6 Opus 5.5: 37.4 Behind both comparators
AutomationBench-AA 70.0 73.3 Opus 5.5: 69.5 Ahead of Opus, behind Kimi

Amazon says Ergo ranks first among U.S. open-weights models on all seven reported coding benchmarks and first or second among all compared open-weights models. That narrower claim can coexist with Kimi’s overall lead. The comparison set and category labels do real work in the sentence.

Amazon Ergo full benchmark table comparing Ergo with Kimi K3.1 Pro and frontier models across coding, science, machine learning, automation, and professional tasks.
Full comparison. The seven coding rows sit alongside science and professional evaluations. Keep every row visible when summarizing the result.

The Hugging Face card describes the architecture and access, while TechCrunch covers the release. Neither source turns the benchmark table into an independent replication. The correct label is vendor-run evidence.

Internal benchmarks answer a different question

Amazon’s FMR-Bench results are internal and held out per the company. Ergo scores 65.4 pass@1 on AI SWE, 20.5 on Ultra Long Horizon, and 32.1 on the Code Quality rubric. These rows may reflect tasks closer to Amazon’s training and product priorities, but outsiders cannot inspect the data or reproduce the harness from the published summary.

The mixed frontier comparison is especially useful. On AI SWE, Ergo’s 65.4 trails Opus 5.5 at 85.3 and GPT-6 Astra at 80.8. The gap is 19.9 and 15.4 points respectively. On Code Quality, the shown closed references are again higher at 85.3 and 80.8, compared with Ergo’s 32.1.

Internal FMR-Bench row Ergo Kimi K3.1 Pro Frontier reference Evidence status
AI SWE pass@1 65.4 58.6 Opus 5.5: 85.3 Vendor-internal, held out per Amazon
Ultra Long Horizon pass@1 20.5 13.1 Not stated here Vendor-internal
Code Quality rubric 32.1 28.1 Opus 5.5: 85.3 Vendor-internal rubric
Internal AI SWE task cost $1.41 $1.58 Not stated here Amazon harness
Internal AI SWE task time 14.3 min 21.7 min Not stated here Amazon harness

These figures do not mean Ergo is useless on long tasks or poor at code quality. They mean the published internal results do not establish parity with the strongest closed references. Your own task mix may weight those capabilities differently. Measure the mix you actually have.

Amazon Ergo AISWE chart showing open-weights comparisons and a mixed frontier comparison where Ergo trails Opus 5.5 and GPT-6 Astra.
Internal frontier view. Ergo leads the open-weights rows shown but trails the closed frontier references. Both parts of that sentence matter.

The internal task economics are promising but narrow. Amazon reports 14.3 minutes and $1.41 per AI SWE task for Ergo, against 21.7 minutes and $1.58 for Kimi. That is about half the time and roughly 10% less cost under Amazon’s harness. It is not a universal agent speed or price guarantee.

Independent evidence is useful but incomplete

Artificial Analysis gives Ergo an Intelligence Index of 38, throughput of 164 tok/s, time to first answer token of 18.55 seconds, and cost per task of $1.64. This provides an external reference point beyond Amazon’s own benchmark reporting.

The index is a composite capability score, not the percentage of coding tasks Ergo solves. Its 38 should never be placed in the same column as DeepSWE’s 74.2 pass@1 or FMR-Bench’s 65.4. They measure different things with different scales and task sets.

Evidence layer What it tells you What it cannot tell you
Amazon coding table Vendor-run task performance Independent replication or your repository fit
Internal FMR-Bench Held-out results under Amazon’s harness Full reproducibility from public data
Artificial Analysis index Independent composite capability Coding pass rate on your backlog
Community reports Early user experience and concerns Controlled model comparison
Your repository eval Fit for your tasks and tools Universal performance across all codebases

The $1.64 AA cost per task and $1.41 internal Amazon cost should also stay separate. A different harness changes prompts, tool calls, retries, and output lengths. Neither figure is wrong simply because they differ. The correct response is to preserve the source label and measure your own denominator.

Why real repositories break simple benchmarks

A repository carries history that is not visible in a single issue description. Naming conventions, deprecated modules, implicit invariants, generated files, and unwritten review expectations all shape a correct patch. A model can solve the stated symptom while violating the surrounding design.

Tool loops add another layer. The agent must decide when to search, which file to open, how to run a test, and when to stop. A strong model with a weak harness can produce poor results. A weaker model with precise tools and tight context can outperform it on routine maintenance.

Real work also includes non-code artifacts. Pull-request descriptions, migration notes, changelog entries, and review responses may determine whether a patch is accepted. If your evaluation checks only hidden tests, it can reward a technically passing change that the team would never merge.

Finally, there is recovery. Benchmark tasks may be relatively self-contained, while production work often begins with an incorrect hypothesis. A useful agent must recognize a failed approach, revise its plan, and avoid repeating the same expensive search. Measure recovery behavior explicitly.

Build a reproducible 30-task evaluation

Begin with 30 tasks from your actual backlog or a curated set of historical changes. Use work that has a clear starting commit, an expected behavior, and an acceptance test. Remove secrets and private customer data. Include a mix of straightforward edits, cross-file features, bug fixes, test repairs, and refactors.

Freeze each task as a small bundle: repository snapshot, instruction, allowed tools, setup command, acceptance tests, and review rubric. Record dependency versions and any generated fixtures. A task that cannot be reset to the same state is not ready for repeated evaluation.

Task family Suggested count Acceptance evidence
Localized bug fix 8 Hidden regression test plus focused diff
Cross-file feature 6 Integration test and convention review
Failing-test investigation 5 Root-cause explanation and repaired test
Refactor with behavior preserved 5 Existing suite plus API compatibility
Repository navigation and explanation 3 Cited files and reviewer-checked answer
Recovery from a failed approach 3 Successful outcome after injected wrong turn

Use a fixed model identifier and route for each candidate. Run every task three times where budget permits. Keep temperature and decoding settings constant, and record them. If the provider does not expose deterministic behavior, repeated runs are even more important because output variance becomes part of the result.

Freeze task bundlesPin commits, tests, tools, and instructionsRun three trialsUse identical settings for every candidateGrade accepted patchesCombine hidden tests with human reviewAudit cost and timeInclude retries, tools, and failed attemptsCompare distributionsReport variance, not only averages
A reproducible evaluation is a pipeline with frozen inputs and recorded outputs, not a collection of impressive demos.

Do not let the model see the hidden tests if the real workflow would not provide them. Otherwise you may measure test-guided repair rather than independent problem solving. Give every candidate the same public tests and the same repository permissions. The evaluation should reflect the environment you intend to deploy.

Instrument the agent, not just the answer

The most common evaluation mistake is saving only the final response. You need the trajectory: every model request, tool call, tool result, error, retry, and final patch. Without that record, you cannot distinguish a cheap success from an expensive recovery or a lucky pass.

bash
# Example harness configuration. This does not run a benchmark.
export EVAL_SUITE="ergo-repo-v1"
export EVAL_TASK_ID="bugfix-001"
export EVAL_BASE_COMMIT="PINNED_COMMIT_SHA"
export EVAL_MODEL_ID="YOUR_EXACT_MODEL_ID"
export EVAL_BASE_URL="https://YOUR-PROVIDER/v1"
export EVAL_MAX_REQUESTS=40
export EVAL_MAX_OUTPUT_TOKENS=16000
export EVAL_TIMEOUT_SECONDS=900

# Required run record:
# task_id, trial, model_id, route, prompt_sha256, tool_versions,
# input_tokens, cached_input_tokens, output_tokens, request_count,
# ttft_ms, total_ms, tests_passed, review_status, error, patch_sha256

Set request, token, and time limits before the run. A hard cap prevents one pathological task from consuming the entire budget. Apply the same cap to every candidate. If a model hits the cap, record that as a failure or partial result according to a rule written in advance.

Keep the execution sandbox isolated. The agent should have access only to the task repository and approved tools. Do not mount production credentials or allow unrestricted network access. A coding evaluation does not need your real deployment environment to produce useful comparative evidence.

Grade with tests and a human rubric

Automated tests provide consistency, but they do not capture maintainability. Define a short review rubric and use a reviewer who is unaware of which model produced a patch where practical. Blind review reduces brand bias, though it does not remove every subjective judgment.

Score correctness, scope, readability, convention fit, and test adequacy on a fixed scale. Mark security concerns or unrelated edits as explicit failures. If two reviewers disagree, adjudicate using the written rubric rather than averaging away the disagreement.

Grade Definition Commercial interpretation
Accepted Tests pass and review finds the change mergeable Counts as a success
Accepted with rework Correct direction, minor required changes Track rework tokens and reviewer time
Partial Some criteria pass, important gap remains Do not count as a clean success
Failed Tests fail or review rejects the approach Counts against success rate
Invalid run Harness or environment failure Exclude with a documented reason

Pre-register the primary metric. A good default is cost per accepted task, with success rate and p95 completion time as guardrails. A model that is cheaper only because it fails more often is not cheaper in production. A model that succeeds but requires extensive review may not save time either.

For a small sample, report counts alongside percentages. Nine successes out of 30 is 30%, but it is not precise evidence of a stable long-run rate. Consider a confidence interval and avoid ranking models when the difference is smaller than the observed variance. Thirty tasks is a pilot threshold, not statistical certainty.

Worked cost and success math

Suppose Ergo attempts 30 tasks three times each. Across all 90 runs, it consumes 12 million uncached input tokens, 3 million cached input tokens, and 1.2 million output tokens. At $1/M input, $0.03/M cached input, and $3/M output, the cost is $12 + $0.09 + $3.60, or $15.69.

If 54 of the 90 runs are accepted, the raw accepted-run rate is 60%, and cost per accepted run is $15.69 divided by 54, or about $0.291. That is not yet a task-level success rate. If all three trials succeed for 20 distinct tasks, the task-level three-trial success rate is 20 divided by 30, or about 66.7%.

This distinction prevents a flattering but misleading summary. Repeated sampling can make one model look better because it had more lucky runs. Report both run-level and task-level outcomes, and keep the rule for aggregation fixed before you see the results.

Metric Worked value Caveat
Uncached input cost $12.00 Assumes $1/M route
Cached input cost $0.09 Assumes recognized cache hits
Output cost $3.60 Includes all generated output
Total pilot cost $15.69 Excludes engineering and review labor
Accepted runs 54 of 90 Run-level outcome
Distinct tasks with three passes 20 of 30 Task-level stability
Cost per accepted run About $0.291 Not a universal task price

Compare those numbers with your incumbent under the same rules. If Ergo’s success rate is lower, calculate how much rework the team must perform before the token saving disappears. Human review time belongs in the business case even when it does not appear on the API invoice.

What early public sentiment contributes

The Hacker News launch thread contains useful expectations and concerns. A_D_E_P_T wrote, “Very cheap. Benchmarks look excellent.” swiftcoder said, “the Corolla sits on the Pareto-frontier.” These opinions explain the excitement, but neither is a repository evaluation.

The criticism is more actionable for harness design. HN user simonw said “The reasoning effort doesn’t appear to map cleanly” to time and token use. HN user scsmithr said, “Reasoning effort seems to be fixed.” If you cannot tune reasoning effort reliably, use hard request and token caps instead of assuming a dial will protect the budget.

The Reddit discussion and Kingy review provide more launch context. Emergent and Munderdiffl summarize positioning and access. None should be cited as proof that Ergo passed your tests.

Coding-agent evidence gate

0 of 6 ticked

Anecdote only

Do not generalize the result to production work.

Control the evaluation environment

A repository task can fail because the model chose the wrong fix, but it can also fail because a dependency was unavailable, a test was flaky, or the tool timeout was too short. Run a baseline pass with your incumbent before testing Ergo. If the incumbent also fails a task, investigate the task bundle before interpreting the result.

Keep the model’s context assembly identical across candidates. If one run receives a retrieved file list and another receives the whole repository, the comparison is no longer about the model alone. Version the retrieval logic and record the context hash with each trial.

Use a fresh workspace for every run. A previous candidate’s edits can leak into the next trial and create false successes. Reset generated files, dependency caches, and environment variables according to a written setup script. The reset should be verified before the agent starts.

Environment control Why it matters Record
Fresh workspace Prevents cross-trial contamination Workspace identifier
Pinned dependencies Avoids setup failures Lockfile hash
Fixed tool versions Keeps behavior comparable Tool manifest
Network policy Prevents unexpected external state Allowed destinations
Time and token caps Bounds pathological runs Limit configuration
Baseline incumbent run Detects broken task bundles Baseline outcome

The evaluation is also a security exercise. Repository content is untrusted input, and tool output can contain instructions that conflict with the user’s goal. Keep the sandbox constrained and do not let the agent access production credentials. A benchmark that rewards bypassing safety controls is measuring the wrong behavior.

Analyze failures by cause

A single pass-rate number hides useful information. Classify failures into model errors, harness errors, environment errors, and invalid task design. A malformed tool call is different from a missing dependency, and both are different from a patch that passes tests but violates a repository convention.

Review every failed run with the trajectory open. Identify the first point where the run diverged from a viable path. Was the context incomplete? Did the agent repeat a failed command? Did it stop before running the relevant test? This analysis often improves the harness faster than changing models.

Failure class Example signal Next action
Model reasoning Wrong root cause despite adequate context Add a comparable task to the suite
Tool use Repeated command or malformed call Fix parser or tool description
Harness Missing log or broken reset Repair evaluation infrastructure
Environment Flaky test or unavailable dependency Stabilize and rerun baseline
Task design Ambiguous acceptance criteria Clarify or exclude the task

Report excluded tasks and the reason. Quietly dropping difficult failures makes the final score look better while making the evaluation less useful. Keep an audit trail from the original 30-task list to the final analyzed set.

Keep the route and cost context attached

Run the evaluation on a named provider and region. The AWS Ergo page and OpenRouter listing are starting points for hosted routes, while the vLLM Ergo guide covers self-hosting. A route change can alter latency, limits, and billing even when the model identifier stays the same.

Captured OpenRouter Ergo provider table showing token prices, cache prices, latency, throughput, and uptime for several providers.
Route context. The provider snapshot is point-in-time evidence. Record the live route used for every evaluation run.

Munderdiffl’s launch analysis records the initial Bedrock pricing and speed context. Use the live rate card when calculating your own cost. If a route bills incomplete generations or retries differently, the harness must capture those charges rather than assuming every request costs exactly the planned amount.

Grok-generated summary of the Amazon Ergo launch covering availability, architecture, context limits, and benchmark claims.
Launch orientation. This Grok-generated summary is a navigation aid. Verify model and benchmark claims against the primary sources.

After the pilot, write a one-page decision record. Include the task list, model and route versions, acceptance rules, aggregate results, failure classes, and the rollback threshold. The record should let another engineer reproduce the comparison without relying on the original author’s memory.

Use the monthly LLM API cost guide for the budget model and chat to discuss ambiguous task scopes. Neither replaces the frozen evaluation, but both help turn the result into an operating decision.

Honest limitations

  • No Ergo coding-agent test was run for this article. The 30-task plan is reproducible, but it has no claimed results.
  • Amazon’s coding benchmarks are vendor-run. They are not independent replication.
  • FMR-Bench is internal. The public summary does not let outsiders reproduce every task and harness detail.
  • Ergo trails Kimi on several reported rows. It also trails the shown frontier closed references on internal AI SWE and Code Quality.
  • Thirty tasks are a pilot. They can reveal large failures but cannot establish small performance differences with confidence.
  • The model is text only. Visual tasks require a separate component and may change the comparison.

Continue your Ergo evaluation

FAQ

Did you test Ergo on real repositories for this article?
No. No first-hand Ergo repository test was run. The article provides a reproducible 30-task evaluation plan and clearly separates published benchmarks from future measurements.
Does Ergo beat Kimi K3.1 Pro on coding?
Not overall in the reported table. Ergo leads FrontierSWE v2, but Kimi leads DeepSWE, Terminal-Bench 4.0, ProgramBench, and Terminal-Bench Science. Compare each row rather than declaring one overall winner.
What is the strongest evidence for Ergo as a coding agent?
Amazon reports 74.2 pass@1 on DeepSWE and 70.0 on AutomationBench-AA, while its internal AI SWE result is 65.4. These are vendor-run or vendor-internal results, so they justify evaluation rather than prove fit for your repository.
How does Ergo compare with frontier closed models internally?
On FMR-Bench AI SWE, Ergo scores 65.4 versus 85.3 for Opus 5.5 and 80.8 for GPT-6 Astra. On the Code Quality rubric, Ergo scores 32.1 versus 85.3 and 80.8 for those references.
What should a reproducible evaluation include?
At least 30 frozen tasks, three runs per task, identical tools and context, hidden tests, a human review rubric, request-level logs, hard caps, and both run-level and task-level success metrics. Report cost per accepted task and tail latency.
Is the Artificial Analysis score of 38 a coding pass rate?
No. It is an independent composite Intelligence Index score. It should not be compared numerically with pass@1 results or interpreted as the percentage of repository tasks Ergo can solve.
Can Ergo review screenshots in a coding workflow?
No. Ergo accepts text only. Provide a text description or use a separate extraction component when visual evidence is required, and include that component in the evaluation cost and privacy review.

Run the comparison on your code

Keep the harness portable, freeze the task suite, and measure accepted-task cost before changing your default model. Explore the live catalog for available candidates.

More in Blog

Try it

One API key for GPT, Grok, DeepSeek, Kimi, GLM, MiniMax, Qwen, Step, Beam, Nemotron, ERNIE, Hunyuan, Gemma, Laguna, LFM, LongCat, Llama, Solar, Jais, Mistral, K2 and Roleplay.

One AI API Key speaks the OpenAI and Anthropic formats, so you change the base URL and the key, not your code. Credit packs start at $10, and every model has a published per-token rate.

New accounts$10 credit on sign-up
Claim $10 credit →