I Investigated the Structure of Amazon Ergo and Tested It with Bedrock

I Investigated the Structure of Amazon Ergo and Tested It with Bedrock

I tried the newly released Amazon Ergo. On my own tasks, machine-judged Japanese scores rose from 8/9 to 9/9, all 39 code-fix runs got full marks, and body text ran at about 210 tok/s. Also covers its structure and GLM, DeepSeek and Nemotron.
2026.12.02

This page has been translated by machine translation. View original

Introduction

Hello, I'm Mori Shigeru from the Manufacturing Business Technology Department at Classmethod.

On December 1, Amazon released Amazon Ergo, a large open-weight model. The weights are hosted on Hugging Face, and the model became callable from Amazon Bedrock on the same day. An overview of the model and how to get started in the Bedrock console are summarized in the following news article.

https://dev.classmethod.jp/articles/amazon-ergo-awsreinvent/

I have so far measured open-weight models using local machines and cloud environments. Ergo has 1.1T total parameters, a size that makes measurement in a local environment difficult. So this time I ran the same tasks through Bedrock and compared the results side by side with previous models.

To state the conclusion up front: on my own 10 Japanese tasks, the machine-graded score ranged from 8/9 to 9/9, the code-fixing tasks scored full marks in all 39 runs, and the body-text generation speed was about 210 tok/s. On the other hand, changing the reasoning effort from low to max produced no consistent difference in either score or output volume. My impression is that many of the design components are shared with recent open-weight models.

Amazon Ergo Architecture

The technical report has not been published yet, but by reading the config.json and chat template in the Hugging Face repository, plus the official vLLM and SGLang recipes, the structure becomes quite concrete.

https://huggingface.co/Amazon-FMR/Ergo

64 Layers and 256 Experts

Ergo is a 64-layer decoder-only model with a hidden dimension of 8,192. Only the first layer is an ordinary fully connected layer, and the remaining 63 layers are MoE (Mixture of Experts). MoE is a method in which, out of many small networks (experts) prepared for each layer, only a few that suit the input are selected for computation.

In Ergo, each layer has 256 experts, and the router selects 8 of them. Separately, there is 1 shared expert that is used for every input. Since 8 out of 256 are selected, 3.1% of experts are chosen per layer. The weights used per token (active parameters), including attention and the shared expert, come to 55B, which is 5% of the 1.1T total parameters.

Layer structure of Amazon Ergo. Of the 64-layer band, 16 layers are global attention and 48 layers are 512-token sliding-window attention. Within one layer, attention, the router, the experts (8 selected from 256), and the shared expert are arranged in that order
The top shows the sequence of 64 layers: blue marks attention layers that see the entire context, and white marks layers that see only the most recent 512 tokens. Global layers occur at a rate of 1 in 4, and their positions within the band are drawn schematically. The bottom shows the inside of one layer: orange marks the 8 experts selected from the 256. Only these selectable experts are distributed quantized to 4 bits.

Two Kinds of Attention Supporting 1M Context

Ergo's context length is 1,048,576 tokens. What supports this is the division of attention ranges: only 16 of the 64 layers look at the entire context. The remaining 48 layers use a sliding window that sees only the most recent 512 tokens.

What becomes heavy when handling long contexts is the KV cache that holds information about past tokens. With Ergo's design, only one quarter of the layers need to hold KV for the full length. The division of labor is that nearby word relationships are handled by the window layers, and references to distant positions are left to the global layers, which come once every 4 layers. Whether this design actually works well will be checked in the second half by feeding it an 800,000-token document.

626 GB of Weights with Only the Routed Experts in 4 Bits

The standard distributed weights are in a 4-bit format called MXFP4, at 626 GB. What is quantized is only the experts selected by the router (routed experts). Attention, the shared expert, the router, the embeddings, and the output layer remain at their original precision.

Since routed experts account for most of the 1.1T, quantizing only those to 4 bits largely determines the overall size. It is a pragmatic trade-off: do not reduce the precision of the parts that are passed through every time for every token, and trim the parts where only 8 of 256 are used.

Always-On Thinking and JSON Tool Calls

Reading the chat template, the assistant's utterance always begins with a thinking block. On the weights side, there is only a switch to include or disable thinking, and I could not find any mechanism to specify thinking strength in levels. The Hugging Face model card also lists Fixed reasoning effort under limitations.

On the other hand, the Bedrock model card explains that reasoning_effort accepts five levels: low, medium, high, xhigh, and max. The weights have no levels, yet the API side has five. What Bedrock changes with this value has not been published. This discrepancy shows up as a result in the measurements.

Tool calls take the form of JSON containing a name and arguments, wrapped in dedicated tokens. Tool definitions go at the end of the first system turn, and execution results are returned under the role name CodeExecutor. The role name also suggests that use in coding agents is the primary intended use.

DSpark and the Minimum Configuration for Self-Hosting

Separate from the main model, a draft model for speculative decoding, Amazon-FMR/Ergo-dspark, is distributed to speed up generation. It is a small 3.24B model that looks ahead 8 tokens while referring to the state of the main model's intermediate layers. This DSpark is the same approach covered in the articles on DeepSeek V4 Flash and Inkling 2 Mini.

The minimum configuration for running it yourself, per the official recipe, is four GB300s. The weights are public, but it is not a size that individuals or small teams can run locally. In practice, the way to use it is through an API such as Bedrock.

Measurement Conditions on Bedrock

What I used for measurement was the Global inference profile global.amazon.ergo-1.0, called from the Tokyo region. The Global profile pricing is $1 per million input tokens, $3 per million output tokens, $0.03 for cache reads, and $1.25 for cache writes.

When I checked the API behavior before measuring, there were three points worth knowing for setting the conditions.

  • Specifying temperature or top_p is rejected with a ValidationException. I measured with the API's default sampling and looked at variance through the number of runs
  • Thinking is always on, and reasoning_effort: none is rejected. The thinking text is not returned, and only the token count in usage is available
  • The Converse API accepted even invalid values for reasoning_effort. I judged that the value had no effect, and ran the measurements through InvokeModel, sending a body in OpenAI Chat Completions format

The tasks are the same 10 Japanese tasks, code generation, code fixing, and tool calling used in previous articles, plus the tasks added this time. Concurrency was 1, except for the parallel speed measurements. In total there were 1,029 calls, costing $6.94.

Japanese Long-Text Extraction

Ergo's officially supported language is English only, and no Japanese evaluation has been published. So I ran the same 10 Japanese tasks as for previous models, at 4 levels of reasoning effort, for a total of 13 runs. Of the 10 tasks, 1 free-writing task is read by eye, so 9 tasks are subject to machine grading.

Reasoning effort Runs Machine grading (per run)
low 4 9/9, 8/9, 9/9, 8/9
medium 3 8/9, 9/9, 9/9
high 3 8/9, 8/9, 8/9
max 3 9/9, 9/9, 8/9

Out of 13 runs, 9/9 occurred 6 times and 8/9 occurred 7 times. The missed task in every run was "summarize while retaining proper nouns," and in most cases the miss was one word, "技術開発部" (Technology Development Department), dropping out of the 6 words that should be retained. The 50-character limit, number transcription, honorifics, and JSON-format output passed in all 13 runs. Note that in only the second low run, thinking used up the entire output limit of 8,192 on this summarization task and the body text came back empty. Therefore, I included as the fourth run the result of widening the limit to 32,768 and re-measuring all 10 tasks (in the re-measurement the body text was returned, but it again dropped a proper noun and scored 8/9).

The additional 6 tasks — translation, summarization with numbers, a honorific email, simultaneous satisfaction of multiple constraints, and converting meeting minutes to JSON — were also run 3 times each at medium and high, and all 36 machine checks passed.

Extraction from a Document of 800,000 Input Tokens

To see the real-world effect of the design in which only 16 layers use global attention, mentioned in the architecture section, I extended the long-text extraction task's document to 3 sizes. The task is to answer 4 items buried in the document, with reasoning effort high, 2 runs each.

Document length Input tokens Correct (2 runs)
60,000 characters 40,285 4/4, 4/4
300,000 characters 200,559 4/4, 4/4
1,200,000 characters 801,607 4/4, 4/4

Even with an 800,000-token input, it correctly extracted the 4 items in both runs. The first run took 29.73 seconds, with the entire input written to the cache, costing $1.003. The second run, about 71 seconds later, read everything from the cache and took 11.93 seconds and $0.025. For use cases that repeatedly query the same long document, the cost from the second run onward is about 1/40 of the first.

The document is synthetic, with answers buried in repeated boilerplate sentences. Please discount this, as it did not measure comprehension of long real documents.

Measurements for Agent Use

Ergo is a model that puts coding and agent use front and center. I made the tasks heavier here.

Code Fixing with Full Marks in All 39 Runs

On the 5 problems of writing code from a specification, both medium and high completed all 5, with tests at 49/49.

I prepared 4 kinds of tasks to fix bugs in an existing repository using file read/write and test-execution tools. In addition to the same task as in previous articles, there is a task fixed using execution logs as clues, a task fixed by reading a Japanese regulation, and a task fixing attendance and premium-wage calculations to match Japanese work rules. The last task is graded with 56 hidden tests that check every article of the rules, separate from the tests shown to the model. The starting code passes only 21 of 56.

Task Reasoning effort Runs Result
Fixing an existing bug (same task as before) low, medium, high 9 5/5 in all 9 runs
Fix guided by execution logs low, medium, high 9 6/6 in all 9 runs
Fix by reading a Japanese regulation low, medium, high 9 10/10 in all 9 runs
Attendance calculation per work rules (hidden) low, medium, high, max 12 hidden tests 56/56 in all 12 runs

Full marks in all 39 runs. Even on the attendance task, which I intended to make difficult, it hit the ceiling, so I could not measure where Ergo's limit lies for this kind of task. One of the 12 runs was cut off at the 30-turn limit, but the code at that point also scored full marks on the hidden tests. In this task, a single response's output reached up to 23,180 tokens, most of it thinking. With the output limit left at 8,192, it would have been cut off midway.

Tool Calling and Structured Output

For basic tool-calling behavior, single calls were 5/5, queries to 2 destinations were bundled into one message and called in parallel, and specifying tool_choice: required was accepted and returned 1 call. For structured output that enforces a JSON schema through instructions alone, all 40 runs (20 each at low and high) conformed to the schema.

There were also tasks that revealed weaknesses. The aptitude check of choosing the correct 1 from 40 tools scored 4 out of 6. The missed problems did not involve choosing a confusingly similar tool; instead, the model called a read-type tool first before writing. It could be read as a cautious procedure, but under this check's grading it is incorrect. Note that this is a simple check that looks individually at the capabilities agent harnesses (execution platforms like OpenCode) rely on, and it is not the result of running a harness itself.

The other is 97 Japanese tool calls that I use in a separate validation. They are graded on exact match of the tool to be called and its arguments.

Reasoning effort Exact match Calls leaked into body text
medium 87/97 9
high 91/97 5

Of the 16 misses, 14 were cases where the tool call did not go into tool_calls and appeared as text in the body. Because the thinking and raw output are not visible, I have not been able to separate whether the model's output broke down or whether Bedrock's call-extraction processing failed to pick it up. If you use it for tool-calling purposes, it is safer to include a check for JSON that looks like a call appearing in the body text.

Hands-On Verification with OpenCode and pi

Simple checks alone do not tell whether it works in real harnesses, so I connected to Ergo via Bedrock from OpenCode 1.19.6 and pi 1.4.0 and had it solve an existing-bug fix with a single Japanese instruction.

Client Tools loaded System prompt Round trips (2 runs) Tool calls (2 runs) Tests
OpenCode 1.19.6 10 35,914 characters 9, 11 15, 22 12 passed in both runs
pi 1.4.0 4 2,702 characters 5, 7 13, 15 12 passed in both runs

I ran each twice, and all tests passed on both clients. There were 0 tool calls with invalid arguments. OpenCode loads a system prompt of over 30,000 characters, but it worked without problems.

The reasoning_effort Difference That Did Not Show Up in the Scores

Some of you may have noticed from the tables so far that changing the reasoning effort barely changes the results. As a task where a difference seemed likely, I list the medians for the attendance task. I also include the thinking token counts when the same single question was posed once at each level.

Reasoning effort Hidden tests (3 runs) Median turns Median output tokens Thinking tokens for the same single question (1 run)
low 56, 56, 56 10 36,709 867
medium 56, 56, 56 14 69,808 1,129
high 56, 56, 56 12 35,343 784
max 56, 56, 56 6 19,661 1,211

Scores are full marks at all levels, and turns and output volume do not line up in the order of the levels. The thinking tokens for the same single question were also out of order, with high the fewest and max the most. The same tendency holds for the 10 Japanese tasks and the speed measurements.

The API rejects invalid values, so it does receive reasoning_effort. However, within the range of tasks and run counts this time, I could not confirm a relationship where raising the level increases thinking or raises the score. This is consistent with the observation in the architecture section that the weights have no thinking levels. Personally, I currently think that securing a sufficient output limit affects results more than finely tuning reasoning_effort.

Measured Speed and Cost

For speed, I had it write one long Japanese explanation and measured with streaming. The 20 runs of 4 reasoning-effort levels × 5 runs are single-request, and from there I raised only the concurrency to 2, 4, and 8.

Concurrency Requests Errors Time to first character (seconds, median) Body-text speed (tok/s, median per request) Total output speed (tok/s, min–max)
1 20 0 8.4 209.8 193–257
2 16 0 11.8 211.8 312–454
4 32 0 15.5 217.9 519–798
8 64 0 13.2 214.5 973–1,469

Single-request body-text speed ranged from 199.52 to 224.25 tok/s over 20 runs. Even at 8 concurrent requests, the speed per request stayed at about 210 tok/s without dropping, and the total reached up to 1,469 tok/s. Up to 8 concurrent requests, there were 0 throttling events and 0 errors.

Wait time needs to be looked at separately. During thinking, nothing flows through the stream, and until the first character arrived it took 3.889 to 14.256 seconds for single requests. For interactive use, this silent time is likely to affect the perceived experience more than generation speed.

The official model card touts output of over 400 tokens per second, but the measurement conditions are not stated. The third party Artificial Analysis listed, as of December 2 when I looked, 164 tok/s via Bedrock and 18.55 seconds to the first answer token. My value of about 210 tok/s lies between these two. Because the measurement methods differ, the three numbers cannot be compared directly. To repeat, my values are reference values from a single time window the day after release, and I did not measure at different times of day.

$6.94 for 1,029 Calls

Cost is a calculated value obtained by multiplying recorded token counts by the published unit prices.

Category Calls Input tokens Output tokens Cost (USD)
Checking API behavior 37 27,755 13,066 0.06
Japanese, code, and tool tasks 659 1,378,510 391,106 1.87
Speed measurement (single) 20 2,320 105,302 0.32
Re-measurement with widened output limit 10 5,799 6,585 0.03
Speed measurement (parallel) 112 12,992 612,095 1.85
1.2M-character long-text extraction and attendance task 159 3,052,532 499,623 2.72
Hands-on verification with OpenCode 20 319,249 5,185 0.07
Hands-on verification with pi 12 37,143 3,389 0.02
Total 1,029 4,836,300 1,636,351 6.94

66% of the output tokens were thinking. Although the content of the thinking is not returned, two thirds of the output is paid for as thinking. Since the output unit price of $3 is 3 times the input price, when estimating costs you need to think in terms of output volume including thinking, not the volume of visible body text. Even so, with two bug-fix runs in OpenCode costing $0.07, there seem to be few situations where you need to worry about cost within a trial range.

Comparison with Recent Open-Weight Models

From here is the main topic. I line up Ergo's structure and measurements against the open-weight models I have measured so far. The values for the other models are those I confirmed from model cards and configuration files when writing each verification article.

Model Total and active parameters Experts Distributed weights Thinking control DGX Spark
Amazon Ergo 1.1T, 55B 8 of 256 + 1 shared MXFP4 626 GB is standard Always on, 5 levels on the API side Does not fit
Nemotron 3 Ultra 550B, 55B — About 335 GB even in NVFP4 — Does not fit
GLM-5.3-Flash 320B, 18B 8 of 288 + 1 shared BF16 642 GB low, high, max (default max) 1 unit with 2-bit GGUF
DeepSeek V4 Flash-0731 284B, 13B 6 of 256 166.9 GB, FP8 with MoE parts mixed in FP4 non-think, high, max Official weights on 2 units
Nemotron 3.5 Lightning 30B, 3B 6 of 128 + 1 shared NVFP4 21.58 GB — 1 unit
Inkling 2 Mini 26.4B, 3.4B 8 of 128 Only 1 quantized variant, about 20 GB Thinking strength specified in levels 1 unit

"—" marks items I have not confirmed in my articles. DGX Spark is my local verification environment. Kimi is not included in the table because the only Kimi I measured locally is the separate-lineage Kimi K3 (2.8T).

Scale and the Ratio of Weights Used

Make the total parameters large and narrow down the weights used per token. This direction is common to every model in the table. Ergo's configuration of 8 of 256 plus 1 shared is nearly the same shape as GLM-5.3-Flash's 8 of 288 plus 1 shared.

The difference is in absolute amounts. Ergo's 55B active parameters is the same value as Nemotron 3 Ultra, and 3 to 4 times the 13B–18B of the Flash-class models I have been running locally.

Horizontal bar chart lining up the total parameters and the weights used per token for 10 models, including Kimi K3, Amazon Ergo, Nemotron 3 Ultra, GLM-5.3-Flash, and DeepSeek V4 Flash-0731
The length of each bar is the total parameters, and the orange part is the weights used per token. Values are those confirmed in each verification article; Kimi K3's active parameters are not drawn because there is no record. The orange of small models is drawn at the minimum visible width.

In total size, Kimi K3's 2.8T is larger, so Ergo is not the largest. But in the amount of weights used per token, Ergo is at a higher level than any model I have measured locally so far.

How Long Context Is Built

Advertising 1M context is the same as many models in the table, but the way it is realized differs. GLM-5.3-Flash makes 34 of its 45 layers linear attention without a KV cache. Nemotron 3.5 Lightning has only 6 attention layers out of 52, leaving the rest to Mamba-2 and MoE. Ergo keeps attention itself in all layers and narrows the range of 48 layers to 512 tokens.

The aim of narrowing the layers that see the full length to a small number is the same in all three, but the means of realizing it differ. Since the 800,000-token extraction passed both times, at least for the use of "finding and extracting buried items," 16 layers of global attention were sufficient.

Distributing Quantized Weights as the Standard

The trend of making quantized weights the standard distribution has become clear over the past half year. DeepSeek V4 Flash-0731's official weights are in a form of FP8 with only the MoE part mixed in FP4. Inkling 2 Mini distributes only one quantized variant. Ergo's "only routed experts in 4 bits" is the same idea as DeepSeek's.

The formats split into NVFP4 for NVIDIA-family models and MXFP4 for Ergo. Among the models I have measured so far, none had made MXFP4 the standard.

Thinking Control

The difference appears in where the specification of thinking levels lives. GLM-5.3-Flash and DeepSeek V4 Flash have levels on the model side, and the specification is usable even when run locally. With GLM-5.3-Flash, the time for the 10 Japanese tasks split into 29 minutes and 98 seconds between the default max and low, so the effect of the levels was clear.

Ergo has no levels on the weights side, and what accepts levels is Bedrock's API. And in measurement, differences from the levels did not appear in either score or output volume. That it is currently hard to adjust the thinking amount yourself to keep cost and wait time down is clearly different from other models.

Premise of Running Locally vs. Premise of Using via API

I believe the biggest difference is how it is distributed. GLM-5.3-Flash is 642 GB in BF16, but a community 2-bit GGUF fit on a single DGX Spark. DeepSeek V4 Flash runs its official weights on 2 units. For Nemotron 3.5 Super VL and Inkling 2 Mini, the model cards list DGX Spark as a deployment target. Many of the open-weight releases of the past half year were put out with a size that runs locally in mind.

Ergo is the opposite. The minimum configuration is four GB300s, and provision on Bedrock started the same day. It is the same pattern as Nemotron 3 Ultra, which at 550B did not fit on DGX Spark and was tried through NVIDIA's API. The meaning of the weights being public lies less in being able to run it locally and more in being able to verify the contents and, if conditions allow, load it onto your own infrastructure.

The license also corresponds to this way of distribution. GLM and DeepSeek are MIT, and Nemotron is OpenMDW. Ergo's custom license permits commercial use, while attaching conditions based on revenue scale to businesses that provide the model as an API to third parties. It is open widely to those who use the model and attaches conditions to those who sell the model as an API. There is also an example of attaching conditions on revenue or usage scale in Qwen3.8-Flash-Next, so it is not a peculiar clause unique to Ergo.

Placement on Japanese and Agent Use

I line up the scores against past models measured on the same tasks.

Model (reasoning effort) Japanese machine grading Code generation Existing bug fix
Amazon Ergo (4 levels, 13 runs) 8/9 to 9/9 49/49 5/5
Inkling 2 Mini (high) 9/9 49/49 5/5
Qwen3.8-27B (xhigh) 8/9 49/49 5/5
Nemotron 3.5 Super VL (high) 8/9 49/49 5/5

Ergo was measured via Bedrock with the API's default sampling; the other 3 models were measured with vLLM on DGX Spark. Because the routes and conditions differ, please view this as a lineup of scores.

What this table can say is that no difference appeared. These are tasks where even 27B-class models stick near full marks, so even if the 1.1T Ergo gets the same score, the difference in scale is not visible. As for Japanese, it can be said that a model that advertises English-only support passed at the same level as the multilingual models I have locally. There is no material in this measurement to say that Ergo is superior.

Differences appeared on the side where I made tasks harder. The attendance-calculation task graded with hidden tests has not been measured on past models, so it cannot be lined up side by side, but it scored full marks in all 12 runs. On the aptitude check of choosing from 40 tools, Inkling 2 Mini got 1 of 6 while Ergo got 4.

Let me also look at the official benchmarks. This is an excerpt of rows from the table on the Hugging Face model card that Amazon says it measured.

Benchmark Amazon Ergo Kimi K3.1 Pro GLM 5.3
DeepSWE 74.2 77.9 69.5
FrontierSWE v2 31.5 29.3 30.2
Terminal-Bench 4.0 46.2 63.3 36.9

Amazon's measured values. Only the GLM 5.3 value for FrontierSWE v2 is noted as quoted from a public leaderboard.

The model card's table has 12 rows, and Ergo is the open-weight leader in 4 rows, while Kimi K3.1 Pro is the leader in the other 8. Even in Amazon's own table, Ergo was not presented as a model that leads in every respect.

Guidelines for Choosing Between Them

Based on the above, I consider how to choose between models that run locally and Ergo. This is my own interpretation from the measurements.

Models that run on a local DGX Spark get the same scores as Ergo, within the range of this round's tasks, for Japanese formatting and summarization and routine code generation. For uses where data cannot leave the premises, or uses where you want to run it constantly and fix the cost, local models continue to have their place.

What Ergo seems suited to is feeding in long documents in bulk and delegating multi-step fixes from a harness. It reads 800,000 tokens in one go, and if the cache hits, the second run onward costs only a few cents. It passed the task of reading Japanese rule documents and fixing the implementation in all 12 runs, including the hidden tests. I have not measured this task on past models, so the difference from local models is unknown.

There are three points to be careful about. There is a silent wait of a few seconds to over ten seconds before the first character; it is hard to adjust the thinking amount yourself; and tool calls can leak into the body text. For uses that prioritize conversational responsiveness, it seems best to first check whether this wait time is acceptable.

Summary

Amazon Ergo was an MoE that uses only 55B of its 1.1T. With experts selecting 8 of 256, distribution with only the selected side in 4 bits, and a DSpark draft model, its design components are in the same direction as recent open-weight models. The construction that supports 1M by dividing attention between a 512-token window and global attention was a different means from other models that use linear attention or Mamba-2. And the way it is distributed — premised on API use rather than a size you run locally — is the biggest difference from the models I have measured over the past half year.

In measurements via Bedrock, the 10 Japanese tasks scored 8/9 to 9/9 by machine grading, code fixing scored full marks in all 39 runs, 800,000-token long-text extraction was correct both times, and body-text speed was about 210 tok/s. Bug fixes also actually passed from OpenCode and pi. On the other hand, changing the reasoning effort produced no consistent difference in score or output volume, and with Japanese tool calls there were cases where the call leaked into the body text.

Personally, I think a good first step is to try, with a generous output limit, tasks that feed in long Japanese documents, or use from a harness like OpenCode.

Share this article