Amazon Ergo is an open-weight text reasoning model released by Amazon FMR on December 1, 2026, aimed primarily at software engineering and multi-step agents. It has 1.1 trillion total parameters, with about 55 billion activated per token, a 1M-token context window, and a maximum output of 128K. The “400 Tokens/s” in the title is the vendor’s Standard-tier spec measured on Trainium3; an independent organization measured end-to-end speed at about 235 tokens/s. The two figures use different measurement methodologies, so they can’t be compared directly. On the API side, the current hosting channel is AWS Bedrock. Global routing charges $1.00 and $3.00 per million input and output tokens, respectively. Note that AWS’s launch announcement doesn’t include China in its service scope, and APIYI hasn’t listed the model yet either.
What can you learn from this article?
- Ergo’s MoE architecture, its long-context design, and how much storage each of the three weight formats—MXFP4, MXFP8, and BF16—requires
- How the “400 Tokens/s,” “2,200 Tokens/s,” and “235 tokens/s” figures were each measured
- Bedrock’s API type, model ID, reasoning budget settings, and pricing for the Global and US routes
- Scores on public benchmarks and Amazon’s internal held-out tasks, plus the conditions you need to mention when citing them
- Commercial-use restrictions in the open-weight license, and what developers in China can prepare for at this stage
Index: The lead-in first uses a concept table to explain terms such as MoE, activated parameters, and cross-region inference configuration, then briefly outlines the impact of this release by audience. The “Objective Facts” section that follows covers the release version, parameters and weight formats, API access constraints, speed, pricing, and evaluation results, and includes a runnable sample invocation. The “Analysis and Judgment” section discusses how to use these numbers in model selection, which teams are better suited to self-hosting versus API calls, and closes with FAQs that answer a few concrete deployment questions.

Amazon Ergo: Concepts You Need to Know First
| Concept | Quick explanation |
|---|---|
| Mixture of Experts (MoE) | The model contains a large number of “expert” sub-networks internally, and each token is handed to only a few of them for processing — so the total parameter count is huge while the per-inference compute is relatively small |
| Active parameters | The number of parameters that actually take part in computation when processing a single token. Ergo is around 55 billion, but deploying it still requires loading the weights of every expert |
| Sliding window attention | Each token only attends to a fixed-length span of recent tokens. Ergo’s window length is 512 tokens |
| Key-value cache (KV Cache) | Intermediate state saved during inference for tokens that have already been processed. The longer the context and the higher the concurrency, the more VRAM it consumes |
| MXFP4 / MXFP8 / BF16 | The numeric formats used for the released weights — bit width increases in that order, and so does file size |
| Inference profile ID | The model ID used when calling Bedrock directly, for example global.amazon.ergo-1.0. It determines which regions the request gets routed to |
| Cross-region inference | Requests can be distributed across multiple AWS regions for execution. Global routing covers every region where the model is enabled; US routing runs only inside the US |
| Reasoning budget | The output tokens a reasoning model spends “thinking” before it gives the final answer — these count toward the request’s maximum output allowance |
| Time to first token | The time from sending the request to receiving the first answer token |
| Holdout set | Data deliberately excluded at training time and used only for evaluation, to reduce the risk of the model having “seen the answer” |
| Trainium3 | AWS’s in-house AI accelerator chip. Standard inference for Ergo on Bedrock runs on this chip |
Amazon Ergo Impact at a Glance
- Developers using coding agents: One more open-weight coding model option. On Bedrock, you can connect tools like Codex CLI and OpenCode through Responses or Chat Completions, but you’ll need to reserve enough output budget following the official guide.
- Self-hosting and private deployment teams: The smallest MXFP4 weights come to about 626 GB, and the official deployment plan specifies a single node with 8 H200s. Small and mid-sized teams should first work out the VRAM and KV cache capacity.
- Platforms running model-as-a-service businesses: The license includes a revenue threshold. If the licensee and its affiliates have combined revenue exceeding $20 million in any consecutive twelve-month period, they must sign a separate agreement with Amazon first before offering Ergo externally.
- Developers and enterprises in China: The service scope in the AWS launch announcement does not include China. At this stage, a practical approach is to study the open weights, or to build out your evaluation pipeline using a model you’ve already integrated, and then connect once a compliant channel becomes available.
Amazon Ergo Facts: Release, Parameters, and Weight Formats
Amazon Ergo release date and versions
The FMR release post, the AWS launch announcement, and the Hugging Face model card all give December 1, 2026 as the date, but none of the pages specify a time of day or a time zone. On Bedrock, the first release is called Amazon Ergo-1.0, positioned as an open-weights text reasoning model aimed at software engineering and multi-step agents.
The two official documents disagree on knowledge cutoff: the FMR open-weights model card says June 2026, while the Bedrock Ergo-1.0 docs say May 2026. When you cite this, it’s worth naming both sources.
Amazon Ergo parameter scale and MoE structure
The implementation details disclosed jointly by FMR and vLLM are summarized in the table below.
| Spec | Value | Source and notes |
|---|---|---|
| Total parameters | 1.1 trillion | FMR model card |
| Activated parameters per token | Roughly 55 billion | Reflects compute only; deployment still requires loading every expert |
| Layers | 64 (layer 0 is a dense layer, the remaining 63 are MoE layers) | vLLM technical notes |
| Experts per layer | 256 routable experts + 1 shared expert | Each token selects 8 routable experts |
| Attention layout | 3 of every 4 layers use a 512-token sliding window, 1 uses global attention | 16 global layers in total |
| Context window | 1M tokens | Covers the system prompt, message history, tool returns, and the content still to be generated |
| Max output | 128K (Bedrock lists it as 131,072) | Reasoning traces count against this budget too |
| Input and output modalities | Text only | Images and screenshots need to be converted to text externally first |
For long contexts, Ergo mainly keeps costs down by splitting the work across attention layers. The sliding-window layers handle only local information, while the 16 global layers cover long-range access. By vLLM’s estimate, the KV cache for the long-range portion is only about a quarter of what an all-global-attention design would need. That said, weight downloads and the KV cache a session occupies are two separate resources, so how much concurrency a long-context workload can actually support still has to be measured on real hardware.

Amazon Ergo: Three Weight Formats and Self-Hosting
Hugging Face offers three weight formats: MXFP4 at roughly 626 GB, MXFP8 at roughly 1.17 TB, and BF16 at roughly 2.22 TB. According to vLLM, routed experts account for about 98% of all parameters, so “precision” here mainly refers to the format used for the expert portion. The attention layers and shared experts stay in BF16, while token embeddings and the output head use FP32. In other words, the same model can use multiple numerical precisions at once during loading and computation.
On the deployment side, vLLM has validated setups such as NVIDIA B300, GB200, and GB300, and provides a configuration for running the MXFP4 version on a single node with eight H200 GPUs. SGLang also offered support on launch day. Weight size is only a starting point for download and storage budgeting; actual VRAM requirements also need to account for KV cache, parallel communication, and the overhead of the inference service itself. If you need custom training, AWS points to SageMaker AI as the entry point.
Amazon Ergo API Interfaces and Invocation Constraints
AWS provides four interfaces for Ergo: Responses, Chat Completions, Converse, and InvokeModel, all invoked through bedrock-runtime. If you use the OpenAI-compatible approach, you need to access the /openai/v1 path under the corresponding regional endpoint and use Bedrock credentials. For direct invocation, the model ID must be the inference profile identifier — that is, global.amazon.ergo-1.0 or us.amazon.ergo-1.0. The unprefixed amazon.ergo-1.0 refers to the base model and cannot be used directly for invocation.
Ergo is a reasoning model, so even simple questions consume output budget for reasoning. According to the Bedrock coding tools guide:
- The reasoning effort in the example is set to
medium; if set tonone, the request returns HTTP 400. - Developer tools should be configured with at least 8,192 output tokens, which is the recommended value from the integration guide.
The model card also lists the following capabilities: streaming responses, explicit and implicit prompt caching, client-side tool calling, structured output, and reasoning summaries. The official client integration examples include:
- Codex CLI uses the Responses interface. In AWS’s example configuration, the client’s built-in server-side web search is disabled.
- OpenCode uses the Chat Completions interface.
- Claude Code connects through a local LiteLLM proxy.
Amazon Ergo Quick Start Code
The minimal example below calls Ergo on Bedrock directly through the OpenAI-compatible interface. For the exact format of the regional endpoint and the reasoning effort parameter, refer to the AWS documentation.
from openai import OpenAI
# Ergo is currently served through AWS Bedrock; the endpoint is /openai/v1 under bedrock-runtime in the selected region
client = OpenAI(
api_key="YOUR_BEDROCK_CREDENTIAL",
base_url="https://bedrock-runtime.<region>.amazonaws.com/openai/v1",
)
resp = client.chat.completions.create(
model="global.amazon.ergo-1.0", # Must use the inference configuration identifier
messages=[{"role": "user", "content": "为下面的限流函数补充单元测试:..."}],
max_tokens=8192, # The guide recommends dev tools reserve at least 8,192
reasoning_effort="medium", # Parameter name follows the Bedrock guide; setting it to none returns 400
)
print(resp.choices[0].finish_reason, resp.choices[0].message.content)
When doing integration testing, it’s a good idea to test Ergo and the model you’re currently using with the same set of samples, and to record finish_reason, the actual output token count, and elapsed time. The full code below sends a set of coding tasks to Bedrock and other OpenAI-compatible channels separately, and checks whether the results were truncated because the output budget ran out.
View the full comparison code
import time
from openai import OpenAI
PROVIDERS = {
# Ergo: direct AWS Bedrock connection
"bedrock": OpenAI(
api_key="YOUR_BEDROCK_CREDENTIAL",
base_url="https://bedrock-runtime.<region>.amazonaws.com/openai/v1",
),
# Baseline: APIYI unified interface, which can call the mainstream models listed on the platform
"apiyi": OpenAI(
api_key="YOUR_APIYI_KEY",
base_url="https://api.apiyi.com/v1",
),
}
# (channel, model name, extra params); for the baseline model name, choose from the APIYI model catalog
TARGETS = [
("bedrock", "global.amazon.ergo-1.0", {"reasoning_effort": "medium"}),
("apiyi", "YOUR_BASELINE_MODEL", {}),
]
SAMPLES = {
"plain": "用三句话解释令牌桶限流算法。",
"coding": "实现一个支持滑动窗口的 Python 限流类,并附 pytest 测试。",
"long_ctx": open("design_doc.md", encoding="utf-8").read()
+ "\n\n请根据以上设计文档列出需要修改的模块。",
}
def run(provider: str, model: str, prompt: str, extra: dict, max_tokens: int = 8192):
client = PROVIDERS[provider]
start = time.time()
resp = client.chat.completions.create(
model=model,
messages=[{"role": "user", "content": prompt}],
max_tokens=max_tokens,
**extra,
)
choice = resp.choices[0]
return {
"finish_reason": choice.finish_reason, # length means the output budget was exhausted
"output_tokens": resp.usage.completion_tokens,
"seconds": round(time.time() - start, 2),
"empty": not (choice.message.content or "").strip(),
}
if __name__ == "__main__":
for provider, model, extra in TARGETS:
for name, prompt in SAMPLES.items():
try:
r = run(provider, model, prompt, extra)
flag = "⚠ 可能被截断" if r["finish_reason"] == "length" or r["empty"] else "OK"
print(f"[{model}] {name}: {r} {flag}")
except Exception as e:
print(f"[{model}] {name}: 调用失败 {e}")
Tip: Ergo isn’t on the APIYI model list yet. You can start by using the APIYI apiyi.com unified interface and free trial quota to get the comparison samples, truncation detection, and timing logic above up and running. That way, no matter which compliant channel you eventually use to connect Ergo, you only need to change the base_url and model name to start comparing.
Amazon Ergo Speed: Vendor Specs vs Independent Measurements
“400 Tokens/s” comes from vendor specs. The original wording and the other speed figures need to be cited according to their own definitions:
| Figure | Source | Measurement definition |
|---|---|---|
| Over 400 output tokens/sec | Amazon FMR launch post (the AWS product page says 400) | Standard tier, running on Trainium3 in Bedrock |
| Up to 2,200 tokens/sec | Amazon chip launch post | Turbo tier, Trainium3 paired with a dedicated SRAM chip, in limited preview, pricing not yet announced |
| 235 tokens/sec | Artificial Analysis snapshot from December 2, 2026 | Bedrock end-to-end speed, calculated with total request time as the denominator, including time to first token |
| 20.26 seconds | Same as above | Wait time for the first answer token |
The gap between 235 and 400 comes mainly from measurement methodology: end-to-end speed includes both the inference phase and queueing time. For interactive coding tools, a wait of around 20 seconds for the first token often has a bigger impact on the experience than raw generation speed itself.
Amazon Ergo API Pricing
Below are AWS list prices in USD per million tokens. Standard, Flex, and Batch use the same rate card under the same routing.
| Billing item | Global cross-region inference | US cross-region inference | Other providers |
|---|---|---|---|
| Regular input | 1.00 | 1.10 | Not yet available on APIYI apiyi.com |
| Output | 3.00 | 3.30 | — |
| Cache read | 0.03 | 0.033 | — |
| 30-minute cache write | 1.25 | 1.375 | — |
All of these costs are AWS direct bills. Cache reads cost only 3% of regular input, so for agent tasks that repeatedly carry the same system prompt and codebase context, prompt cache hit rate will significantly affect total cost.
Amazon Ergo Benchmark Scores and Official Demos
| Task | Ergo Score | Baseline & Notes |
|---|---|---|
| DeepSWE | 74.2% | Kimi K3.1 Pro scores 77.9% in the same table; public benchmark run by Amazon |
| FrontierSWE v2 | 31.5 | Public benchmark run by Amazon |
| Terminal-Bench 4.0 | 46.2% | Public benchmark run by Amazon |
| AI SWE (Amazon internal holdout set) | 65.4% single-attempt pass rate | The highest among open-weight baselines is 58.6%; Opus 5.5 is 85.3%, GPT-6 Astra is 80.8% |
| AutomationBench-AA | 70.0 | Office tasks; labeled in the table as an independent public leaderboard |
| Terminal-Bench Science 0.1 | 21.3% | Lower than Kimi K3.1 Pro, Opus 5.5, and GPT-6 Astra in the table |
AWS’s seven-way coding comparison consists of four public benchmarks and three internal holdout items. Among the US open-weight models listed, Ergo ranks first on all seven; among all open-weight models listed, Ergo ranks first on four. The official announcement also included two demos:
- Engineering task: implement a rate-limiting library from a design document, including a token bucket, a sliding window, and middleware, passing 48 hidden tests.
- Office task: process 60 weekend support emails, with classification and urgency flags matching the answers provided by the publisher, and flag 7 messages that require escalation according to policy.
On the training side, FMR says it spent 11 months building infrastructure. Pretraining was done on AWS GPU clusters with 96% goodput (effective runtime ratio); post-training used a range of accelerators, including Trainium. FMR also published a training-efficiency comparison: using Kimi K2 Base as the baseline, it compared the compute required to reach the same loss on two deduplicated holdout sets, and the Ergo base model is 19.6× as efficient as the baseline on the code set and 5.9× on the document set. This data reflects training efficiency only and cannot be used to infer inference pricing or agent task completion rates.
Amazon Ergo Licensing and Data Protection
AWS says Bedrock’s managed deployment comes with zero data retention, no operator access, and automatic abuse detection — prompts and outputs aren’t used to train models. If you go the self-hosted route, logging and data protection are on you as the deployer. The open-weight license permits use, modification, redistribution, and conditional commercial use, provided you follow the acceptable use policy and stay within the $20 million revenue threshold mentioned earlier.
Amazon Ergo Analysis and Takeaways: How to Use These Specs and Prices

Read the spec numbers by use case, not by size. The 1.1 trillion total parameters set the storage and VRAM bar for self-hosting, while the roughly 55 billion active parameters are closer to what per-token compute actually costs. A 1M context window means you can drop a lot of code and docs in at once — but everything each tool call returns also keeps eating into that space. The more practical engineering habit: on every turn, record which design constraints and source snippets are still being carried, how much content the tools actually returned, and what you’ve set the output cap to. That’s far easier to verify than converting context into “how many pages of documents.”
On coding tasks, Ergo sits “near the top of open weights, still short of the best closed models.” Its 65.4% on the internal holdout set is about 7 points above open-weight baselines, but 15 to 20 points below Opus 5.5 and GPT-6 Astra. On the public DeepSWE benchmark, Ergo also trails Kimi K3.1 Pro. So if what you mainly need is data control, self-hosting, and the ability to keep training, Ergo is worth a serious look; if you only care about agent task completion rates, closed models still lead. These judgments rest on scores the publisher ran itself — third-party reproductions are still worth following up on.
The price advantage lives in caching, not the sticker price. At $1 per million input tokens and $3 per million output tokens, the list price isn’t exactly low. But coding agents tend to resend the same long prefixes over and over, and the $0.03 cache-read price cuts that cost down a lot. Keep in mind that Ergo reasons on every call, and that reasoning counts toward output tokens, so real cost depends more on output volume and reasoning intensity. When you rerun the comparison a month from now, log both the cache hit rate and the average output tokens per task.
Which teams should self-host, and which should just call the API. The MXFP4 build is about 626 GB and needs at least a single node of 8 H200s to run — and VRAM still has to cover the KV cache, so concurrency at long context may be fairly limited. For most teams, validating results through the managed API first and only then deciding whether to invest in hardware is the lower-risk path. For teams in China, Bedrock’s managed service doesn’t cover China, so the practical short-term options are: study the open weights, or get your evaluation pipeline in place on whatever channels you already have. Turbo-tier pricing and the general availability date are the variables worth watching next.
Amazon Ergo FAQ
Q1: Can Amazon Ergo’s 400 tokens/s actually be achieved in practice?
400 is the vendor-published spec for the Trainium3 Standard tier. Independent end-to-end benchmarks come in at around 235 tokens/second, with the first token taking roughly 20 seconds on average. The two figures use different measurement baselines, so when picking a model, benchmark against your own request patterns.
Q2: Can I call Amazon Ergo through APIYI right now?
Not yet—Ergo is currently not listed on APIYI. You can grab free test credits at APIYI apiyi.com first and build out your side-by-side evaluation workflow using the OpenAI-compatible interface. Once Ergo is listed, you’ll only need to swap the model name to add it to the comparison.
Q3: Why do I get an empty answer or a 400 error when calling Amazon Ergo?
A 400 usually happens because the reasoning effort was set to `none`. An empty answer is most likely the output budget being exhausted by the reasoning process—check the `finish_reason`, `status`, or `stopReason` fields, and set the max output to at least 8,192.
Q4: Can Amazon Ergo handle screenshots or design mockups?
No. The initial release supports text only for both input and output. Screenshots and charts need to be converted to text externally first, or handed to a model that supports image input, and then the text result can be placed in the conversation.
Q5: Can I use the open-weight Amazon Ergo commercially right away?
Yes, commercial use is allowed with conditions, subject to the acceptable use policy. If your business is model-as-a-service and your combined revenue with affiliates exceeds $20 million in any consecutive twelve-month period, you must first sign a separate written agreement with Amazon.
Q6: How can I prepare for migration in advance without Ergo?
Start by standardizing your system prompt, tool definitions, and acceptance criteria (compilation, tests, code diff), and run a baseline set of results with models already available on APIYI apiyi.com. Then when you bring in Ergo, just compare completion rate, output token count, and latency using the same set of samples.
Overall, Amazon Ergo’s value lies in combining open weights, a 1M context window, and an engineered integration approach designed for coding agents. But its speed figures need to be read with the measurement baseline in mind, its benchmark scores need to be attributed to whoever ran them, and its service regions and license terms need to be confirmed point by point. Before Ergo reaches more channels, it’s worth building a multi-model comparison workflow through a unified interface at APIYI apiyi.com—then when you add new models later, you can make decisions directly from the data you already have.
References
- Amazon FMR release post: launch-day specs, training design, and evaluation
- Link:
aboutamazon.com/amazon-ergo
- Link:
- Hugging Face – Amazon-FMR/Ergo model card: weight format, size, and knowledge cutoff
- Link:
huggingface.co/Amazon-FMR/Ergo
- Link:
- Bedrock Ergo-1.0 model card and coding tools guide: interface, model identifier, and inference budget
- Link:
docs.aws.amazon.com/bedrock/latest/userguide/model-card-amazon-ergo-1-0.html
- Link:
- AWS Ergo pricing page: unit prices for Global and US routing
- Link:
aws.amazon.com/products/ergo/pricing
- Link:
- vLLM technical note: layer structure, attention layout, and deployment hardware
- Link:
vllm.ai/blog/2026-12-01-amazon-ergo
- Link:
- Artificial Analysis: independently measured speed and time to first token
- Link:
artificialanalysis.ai/models/amazon-ergo
- Link:
- APIYI model catalog: models currently available
- Link:
docs.apiyi.com/models
- Link:
Author: APIYI Technical Team
Technical Inquiries: Feel free to reach out to us through the APIYI homepage — for more integration resources, visit the docs.apiyi.com documentation center.