Run End-to-End Tests from Your Terminal with Kane CLI

Author and Run Tests Right from the Terminal in Natural Language, with an Evidence-Backed Pass or Fail from a Real Browser.

npm install -g @testmuai/kane-cli

Amazon Ergo: Specs, Price, Benchmarks and How to Test What It Builds

Amazon Ergo is a 1.1T-parameter open-weights coding model. Specs, Bedrock pricing, benchmarks, license terms and how to test the code and agents it builds.

Summarise with AI

Amazon Ergo is an open-weight AI model for coding and agent work, launched by Amazon on 1st December 2026. It's a 1.1T-parameter model with 55B active parameters per token, 1M-token context and text-only input. On Amazon Bedrock it's $1 per million input tokens and $3 per million output tokens.

TL;DR

Amazon Ergo is an open-weights model from Amazon Frontier Model Research for coding and long-running agent work, which you can call on Amazon Bedrock or download from Hugging Face and run yourself. It leads the open-weights field on Amazon's internal coding tasks, trails Kimi K3.1 Pro on most public benchmarks and reads text only.

  • Amazon Ergo model: A mixture-of-experts transformer: each token goes through 8 of 256 routed experts per layer plus 1 shared expert, so only a small part of the network runs at a time.
  • Amazon Ergo pricing: Bedrock's US cross-Region profile costs 10% more than its Global profile, and Standard, Flex and Batch tiers are priced the same. Downloading the weights from Hugging Face is free.
  • Amazon Ergo benchmarks: Ergo has the best open-weights score in 4 of the 12 rows of Amazon's table, against 8 for Kimi K3.1 Pro.
  • Amazon Ergo license: Free for commercial use; only a Model as a Service business with group revenue above US$20 million in 12 months needs a separate Amazon agreement.
  • Amazon Ergo on Hugging Face: Weights at Amazon-FMR/Ergo in MXFP4 (626 GB), MXFP8 (1.17 TB) and BF16 (2.22 TB), served with vLLM or SGLang.
  • Amazon Ergo on Bedrock: Model ID amazon.ergo-1.0, reachable only through the US and Global cross-Region profiles, with no In-Region inference.
  • Testing Ergo's code: Ergo cannot see the page it edits, so Kane CLI by TestMu AI checks each change in a real browser and returns a pass or fail.

Amazon Ergo key facts (from Amazon, Dec 1, 2026)

  • Maker: Amazon Frontier Model Research (FMR)
  • Size: 1.1T total parameters, 55B active per token
  • Context and output: 1M tokens in, up to 128K tokens out
  • Input: Text only (no images, screenshots or diagrams)
  • Bedrock price (Global): $1 input, $0.03 cached input, $3 output per million tokens
  • Speed: 400+ output tokens per second on Bedrock; 2,200 in Turbo mode (limited preview)
  • License: Amazon Ergo Open-Weights License, free, commercial use allowed
  • Weights: Hugging Face, Amazon-FMR/Ergo

What Is Amazon Ergo?

Amazon Ergo is an open-weight model from Amazon, designed for software engineering and long-running agent work. The Amazon launch announcement describes it as "an agentic reasoning model built for real-world work". It was announced on 1st December 2026.

Jeff Bezos announced it on X on the same day: "Fine-tune it, modify it, and build it into your commercial products."

You can call Ergo on Amazon Bedrock, download the weights from Hugging Face or fine-tune and host it on Amazon SageMaker AI. Amazon says it works with Claude Code, Codex, OpenCode and Kiro.

Amazon Ergo model card on Hugging Face showing 1.1T parameters and the Amazon Ergo Open-Weights License

For a quick visual walkthrough of this concept, watch the video below from TestMu AI.

Youtube thumbnail

Subscribe to the TestMu AI YouTube channel for more tutorials on testing and automation.

Amazon Ergo Specs

Amazon Ergo is a mixture-of-experts transformer so each token only goes through a small portion of the network.

SpecAmazon ErgoSource
ArchitectureMixture-of-experts transformerAmazon announcement
Total parameters1.1 trillionAmazon, Hugging Face, Bedrock
Active parameters per token55 billionAmazon, Hugging Face, Bedrock
Experts256 routed per layer, 8 active per token, plus 1 sharedHugging Face card
Context window1M tokensAmazon, Bedrock
Maximum output128K tokens (131,072)Bedrock model card
Input and outputText in, text outBedrock model card
Knowledge cutoffMay 2026 (Bedrock card); June 2026 (Hugging Face card)Both cards, as published
Weight downloadsMXFP4 626 GB, MXFP8 1.17 TB, BF16 2.22 TBHugging Face card
Bedrock model IDamazon.ergo-1.0Bedrock model card
Release dateDecember 1, 2026Hugging Face, Bedrock

The two model cards have a dispute over the knowledge cutoff. If your agent is being asked questions about recent events, then test it on some facts from May and June 2026 to see which of the two cutoff dates is correct.

Note

Note: Testing code that Ergo writes? Kane CLI (TestMu AI's terminal testing agent) opens your app up in a real browser after a coding agent has changed it and gives you back a pass/fail with screenshots and logs. Install it via npm install -g @testmuai/kane-cli.

How Much Does the Amazon Ergo Cost on Bedrock?

Amazon Ergo is $1.00 per million input tokens and $3.00 per million output tokens on the Bedrock Global cross-region profile. The Bedrock model card lists a 10% higher rate for the US cross-region profile.

Bedrock profile (per million tokens)InputOutputCache readCache write (TTL 30 mins)
Global cross-Region$1.00$3.00$0.03$1.25
US cross-Region$1.10$3.30$0.033$1.375

Standard, Flex and Batch tiers all use the same rates.

Amazon Bedrock pricing table for Amazon Ergo-1.0 with $1 input and $3 output per million tokens

Ergo always reasons. The Hugging Face card states that this adds output tokens on simple tasks; hence output tokens are what end up being billed. On the Amazon internal AI SWE benchmark it comes in at 14.3 minutes and $1.41 per task.

Turbo mode has no price yet. It runs Ergo on Trainium3SR (Trainium3 plus an SRAM chip) and hits 2200 output tokens per second. Turbo is in limited preview at the moment with pricing to follow.

How Good Is the Amazon Ergo on the Benchmarks?

Amazon Ergo is either 1st or 2nd among the open weights on 11 of the 12 benchmarks in Amazon's table (our count). Amazon says it is #1 among U.S. open weights on all seven of the coding benchmarks it reports. Bezos has it as "#1 or #2 on benchmarks" against all open weights.

BenchmarkAmazon ErgoKimi K3.1 ProGLM 5.3Opus 5.5 (closed)GPT-6 Astra (closed)
AI SWE, FMR-Bench internal (pass@1)65.458.644.385.380.8
Ultra Long Horizon, internal (pass@1)20.513.19.760.144.9
Code Quality, internal (rubric)32.128.119.749.645.2
DeepSWE (pass@1)74.277.969.571.371.2
FrontierSWE v2 (score)31.529.330.2†62.3†65.5†
Terminal-Bench 4.0 (pass@1)46.263.336.965.2†58.3
ProgramBench (almost resolved)23.524.114.868.854.8
Terminal-Bench Science 0.1 (pass@1)21.335.75.7†61.267.9
FrontierML (score)24.529.6†19.6†57.542.9
AutomationBench-AA (AA score)70.0†73.3†62.2†69.5†68.5†
GDPval-AA 1.0 (weighted)86.289.087.490.887.5
Briefcase-AA 1.1 (Elo)1615†1672†1498†1797†1570†

Bold indicates the best open-weights score in each row amongst the eight open models that Amazon evaluated. † indicates a result from an independently run public leaderboard; the unmarked entries are Amazon's own runs.

Amazon benchmark table comparing Ergo with Kimi K3.1 Pro, GLM 5.3 and other open-weights models

What the full table shows:

  • Ergo has the best open-weights score in 4 of the 12 rows. Kimi K3.1 Pro has it in the other 8.
  • Three of Ergo's four wins are on the Amazon internal FMR-Bench tasks. On the nine public benchmarks Ergo is only ahead on FrontierSWE v2 (by 1.3 points), and that margin is over a public-leaderboard score (GLM 5.3's score is from the public leaderboard rather than the Amazon runs).
  • GDPval-AA is the outlier. Ergo is 6th of 8 open-weight models (86.2), which is at odds with Amazon's statement that Ergo is "first or second among all the open-weights models we compare against".
  • Ergo beats Opus 5.5 and GPT-6 Astra on DeepSWE in Amazon's runs (74.2 vs 71.3 and 71.2). Fable 5.2 (another closed model in Amazon's table) scores 75.2.
  • Closed models are still very much ahead on the Amazon tasks. A 65.4 pass@1 on the AI SWE means that roughly 35 out of every 100 tasks fail on the first attempt; Opus 5.5 comes in at 85.3.

The Hugging Face card puts it another way: Ergo's first-attempt accuracy is behind the best of the closed models, and it scores worse on general knowledge and scientific reasoning as this release is focused on coding and agent work.

Amazon Ergo vs Kimi K3.1 Pro

Amazon Ergo and the Kimi K3.1 Pro are the two strongest open weights in their comparison. Kimi comes out on top on 8 of the 9 public benchmarks. Amazon states that Ergo is faster and cheaper per task on their internal set.

MetricAmazon ErgoKimi K3.1 Pro
Best open-weights score (of 12 rows)48
DeepSWE pass@174.277.9
Terminal-Bench 4.0 pass@146.263.3
AI SWE pass@1 (internal)65.458.6
Time per AI SWE task14.3 min21.7 min
Cost per AI SWE task$1.41$1.58

All figures are from Amazon (i.e. they are vendor results). Our Kimi K3.1 Pro benchmarks and API guide are based on the figures that Kimi have published themselves.

Run your own suite of tests on both models prior to making your selection. The checklist below is what you should be testing.

Is Amazon Ergo Open Source? The License Explained

Amazon Ergo is open weights, released under the Amazon Ergo Open-Weights License. Amazon publishes the trained weights and allows for commercial use, but not the training data, and the license prohibits using Ergo to reconstruct that data.

The license file on Hugging Face sets these terms:

  • Free to run, copy, fine-tune, modify, merge, publish, distribute, sublicense and sell copies.
  • Keep the license attached to every copy and adhere to the acceptable use policy dated 1st December 2026.
  • The $20m clause. If the group's gross revenue exceeds $20m in any 12-month period and it runs a Model as a Service business, then the company will need a separate written agreement with Amazon. That clause doesn't apply to internal use, research or using Ergo to power features of your own product.
  • Age limit. The acceptable use policy states that Ergo is not for people under 18.
  • Output checks are on you. The policy states that outputs "should be evaluated for accuracy and appropriateness for each use case". For consequential decisions (e.g. hiring, lending, medical advice) there is a requirement for oversight by humans and testing.

How Do You Run the Amazon Ergo?

Amazon Ergo can run on Amazon Bedrock, on your own hardware or on Amazon SageMaker AI.

On Bedrock. Use us.amazon.ergo-1.0 for the US cross-Region profile or global.amazon.ergo-1.0 for global routing. In-Region inference is not supported, and there is no EU profile, so EU teams with residency rules should check before using.

Bedrock serves Ergo via the Responses, Chat Completions, Converse and InvokeModel APIs. There is no data retention and no operator access.

On your hardware. The Hugging Face card gives these commands. Both serve an OpenAI-compatible /v1/chat/completions endpoint:

# vLLM
pip install vllm
vllm serve "Amazon-FMR/Ergo"

# SGLang
pip install sglang
python3 -m sglang.launch_server --model-path "Amazon-FMR/Ergo" --host 0.0.0.0 --port 30000

The default MXFP4 download is 626GB. The card doesn't list any hardware requirements.

In the coding tools section, Amazon has Claude Code, Codex, OpenCode and Kiro. The Bedrock card states that Claude Code requires a LiteLLM proxy to get to Ergo.

Can Amazon Ergo Read Images or Screenshots?

Amazon Ergo can't read images, screenshots or diagrams in this release. The Bedrock card only lists text as an input and an output.

This is absolutely critical for front-end work. If Ergo is editing a checkout page, it can't just look at a screenshot to work out whether the Pay button has slid off the screen. It can read the DOM dump or the test logs, but the visual check has to be done by a tool that's actually driving a browser.

How to Test Code Written by Amazon Ergo

Code written by Amazon Ergo requires the same level of proof as a human PR (plus one check that Ergo didn't write it). The Hugging Face card notes that Ergo can produce "code that looks right and fails" and advises that you do need to review its changes before merging. It also suggests that you let the agent test its own changes.

A self-test will catch the mechanical errors, but it's only going to catch the cases where Ergo has read the requirement correctly. It won't catch the cases where Ergo has misunderstood the ticket. Our post on why a coding agent can't grade its own work goes into an example of this.

Check on every Ergo-authored change:

  • The user flow the change touches, end to end in a real browser
  • Layout and visual state, since Ergo cannot see the page
  • Console errors and failed network calls during that flow
  • Ticket behavior that has no unit test yet
  • New packages Ergo added, checked against your registry

Kane CLI deals with the browser check in the terminal. Once Ergo has edited the app in either Claude Code or Codex, the coding agent just runs one command against the running app. That's the pattern from the Kane CLI guide for verifying a change as per kane-cli 0.9.0:

kane-cli run "Go to http://localhost:3000/products, filter by size M, then verify every product card shows size M" --agent --headless --timeout 180

Kane CLI exits 0 for a pass, 1 for a fail, 2 if the run can't start and 3 for a timeout. The final line of stdout is a JSON run_end event with the summary and (if the upload succeeds) a Test Manager link.

Each run has the step screenshots as well as the console and network logs. If you add --name <flow>, then the run is saved as a _test.md file, which you keep if it passed and kane-cli testmd run can then replay later (e.g. in CI).

For the full review process (the spec first tests, the mutation checks, the package scans) see our guide on how to test and review AI-generated code.

Kane CLI - Testing Agent in Your Terminal

How to Test AI Agents Built on Amazon Ergo

An agent built on Amazon Ergo will need testing at the conversation level (i.e. where the user is actually talking to it). Ergo is text only, so a voice agent based on it will also require separate speech-to-text and text-to-speech services, and each of those layers can fail independently.

Check in an Ergo-powered agent:

  • Answers against your knowledge base, to catch invented facts
  • Task completion across multi-turn conversations, including topic changes
  • Tool calls: right tool, right arguments, and the end state they left behind
  • Prompt injection via content the agent reads (Amazon state Ergo is trained to be resistant to it; test that assertion on your own data)
  • Refusals on out-of-policy requests, and that legitimate requests still get answered
  • Latency per turn, since Ergo reasons on every request

Our guide to testing AI agents goes into detail on these methods. TestMu AI's Agent Testing for chat and voice agents works by sending simulated users to a chat endpoint or phone number (no SDK required), scoring each chat or voice run on 9 metrics (including hallucination and task completion) and then giving each suite a Green, Yellow or Red go-live verdict. The free plan is 1000 credits.

Switching an Agent to Amazon Ergo: A Model-Swap Checklist

Moving an agent over to Amazon Ergo will change its behavior even if the prompts remain the same. Run this checklist prior to Ergo taking any production traffic.

  • Freeze a baseline. Take the current model's pass rate, cost per task and latency for each scenario.
  • Pin the model. Use amazon.ergo-1.0 or the exact Hugging Face commit and log it with every test run.
  • Remove image inputs. Find every prompt or tool result that has an image in it. Ergo won't see that.
  • Set output budgets. Ergo always reasons, so measure output tokens and per-turn latency against your limits.
  • Check the 128K output cap. Long generations that would fit on your current model could be truncated.
  • Retest the tool calls. Confirm the tool names, argument schemas and stop behavior via the exact API that you're shipping on (Converse, Chat Completions, Responses or InvokeModel).
  • Confirm data residency. Ergo is only available via US and Global cross-Region profiles.
  • Retest the guardrails and refusals. If you're self-hosting, then the Bedrock Guardrails aren't in the way, so your own guardrails will have to cover that.
  • Test outside of coding. Ergo scores worse on general knowledge and its cut-off is May or June 2026 depending on the card. Include date-sensitive and non-coding questions.
  • Keep the grader separate. Don't use Ergo to judge Ergo. Score runs with deterministic checks or a model from a different provider.
  • Repeat each scenario. Ergo's output is different from run to run, so you should compare pass rates across a number of runs of each scenario.
  • Review the license. If you're selling model access and your group revenue exceeds US$20m, you'll need a separate agreement with Amazon.

Our guide to LLM regression testing as you move from one model to another explains how you work out which scenarios have flipped between the old and the new model.

Note

Note: Verify every change your coding agent makes. Kane CLI actually runs the app in a real browser and gives your agent an exit code it can act on. Run npm install -g @testmuai/kane-cli to get going.

Conclusion

Start with one Ergo-authored change: point Ergo at a real ticket through Bedrock or your own vLLM server, then check the user flow it touched in a real browser before you merge. Run that check with --name so a passing run can be kept and replayed in CI, and work through the model-swap checklist before Ergo takes any production traffic.

Testing from the terminal? Kane CLI by TestMu AI lets SDETs and developers plan, write, run and debug tests from the command line.

To run your first test, start free, or
for a full walkthrough of the product.

Was this helpful?

Authors

Chaitanya Sharma

Chaitanya Sharma

Author · 38 posts

Chaitanya Sharma is an AI Product Manager at TestMu AI, where he builds agentic AI capabilities focused on computer vision and multi-modality, moving testing beyond static script execution toward autonomous, agent-driven workflows. Before TestMu AI he shipped 135+ features at Sprinklr for a no-code community and website builder used by Fortune 500 enterprises including Dell, Samsung, and Polestar. At Policybazaar he led the zero-to-one launch of a digital lending and insurance marketplace embedded in Bahrain's dominant payments app, building a risk-intelligence engine that compressed loan-approval times by 80%. He explored machine learning and NLP through research at the University of Cambridge, and holds a B.Tech from Delhi Technological University.

Sirajuddin Khan

Sirajuddin Khan

Reviewer

Sirajuddin Khan is Vice President of Product Management at TestMu AI, where he drives the company's agentic AI product strategy, building a suite of autonomous agents that includes Agentic Browsers and Agentic Visual Testing and shifting the unit of work from test execution to autonomous outcomes. One of the company's earliest product leaders, he has owned the roadmap for the high-performance execution cloud and grew the cross-browser testing products from early adoption to market leadership. He brings over a decade of experience across SaaS, B2B, and eCommerce, with earlier product roles at Wydr and ShopClues, where his catalog and search work cut delivery SLAs and lifted seller activity. Sirajuddin holds an MBA in Information Technology from Sikkim Manipal University and a B.Tech in Computer Science Engineering from Maharshi Dayanand University.

Amazon Ergo FAQs

TestMu AI forEnterprise

Get access to solutions built on Enterprise
grade security, privacy, & compliance

  • Advanced access controls
  • Advanced data retention rules
  • Advanced Local Testing
  • Premium Support options
  • Early access to beta features
  • Private Slack Channel
  • Unlimited Manual Accessibility DevTools Tests