What Is Amazon Ergo? The Open-Weights Model Explained

Amazon Ergo is Amazon's first open-weights model: a 1.1T mixture-of-experts coding model with a 1M-token context, on Bedrock at $1/$3 per million tokens. Here's what it is and how to call it.

Ashley Innocent

Ashley Innocent

2 December 2026

What Is Amazon Ergo? The Open-Weights Model Explained

Apidog for Enterprise

On-Premises Deploy

SSO & RBAC

SOC 2 Compliant

Explore Apidog Enterprise

Amazon Ergo is Amazon’s first open-weights model, released December 1, 2026: a 1.1 trillion parameter mixture-of-experts model with 55 billion active parameters, a 1M-token context window and a focus on coding agents. You can download the weights from Hugging Face or call it on Amazon Bedrock at $1 per million input tokens and $3 per million output tokens.

What is Amazon Ergo?

Amazon Ergo is an open-weights agentic reasoning model from Amazon Frontier Model Research (FMR), built for software engineering and long-running agent work. It’s a text-only mixture-of-experts transformer that runs at over 400 output tokens per second on Amazon Bedrock, and its weights ship under a free license that allows commercial use and fine-tuning.

Amazon pitches it as “fast, cost-effective” rather than the smartest model on every chart. The launch post says it ranks first among U.S. open-weights models on all seven coding benchmarks Amazon reports, and first or second among all the open-weights models it compared.

Here are the core specs from the Hugging Face model card and the Bedrock model card:

Spec Amazon Ergo
Developer Amazon Frontier Model Research (FMR)
Release date December 1, 2026
Parameters 1.1T total, 55B active per token
Experts 256 routed (8 active per token) plus 1 shared, per layer
Context window 1M tokens
Max output 128K tokens (131,072)
Modalities Text in, text out
Bedrock model ID amazon.ergo-1.0 (profiles global. and us.)
License Amazon Ergo Open-Weights License
Knowledge cutoff May 2026 per Bedrock, June 2026 per Hugging Face

How Amazon Ergo is built

Ergo is a conventional sparse mixture-of-experts transformer. Its published config.json lists 64 layers, a hidden size of 8,192, a 262,144-token vocabulary and sigmoid top-k routing across 256 experts. Two details matter if you plan to run it:

It also always reasons: you can’t switch thinking off, which shapes your bill and your max_completion_tokens setting.

Amazon Ergo benchmarks

Amazon compared Ergo with seven open-weights models. Here are the two closest rivals. Most cells are Amazon’s own runs; † marks an independent public leaderboard.

Ergo doesn’t sweep the board: Kimi K3.1 Pro leads on DeepSWE and Terminal-Bench 4.0. Ergo’s case is speed and cost: on AI SWE, Amazon reports an average of 14.3 minutes and $1.41 per task, 50% faster than Kimi K3.1 Pro at about 10% lower cost.

For the rivals, see our explainers on Kimi K3.1 Pro and GLM-5.3. Rerun your own tasks before switching.

Amazon Ergo pricing and where to run it

Amazon Bedrock. These are the on-demand prices per million tokens from the Bedrock model card, checked December 2, 2026:

Inference profile Input Output Cache read Cache write (30 min TTL)
Global cross-Region (global.amazon.ergo-1.0) $1.00 $3.00 $0.03 $1.25
US cross-Region (us.amazon.ergo-1.0) $1.10 $3.30 $0.033 $1.375

Standard, Flex and Batch tiers bill at the same rate. In-Region inference isn’t supported, so use a cross-Region profile. Bedrock runs Ergo with zero data retention on the AWS Nitro System. A Turbo mode reaching 2,200 output tokens per second is in limited preview, pricing to be announced.

Your own hardware. SGLang and vLLM support Ergo from day one. Plan for serious storage: the MXFP4 download is 626 GB, MXFP8 is 1.17 TB, and BF16 is 2.22 TB.

Schema: Amazon Ergo reaches your app two ways, through Amazon Bedrock's global or US cross-Region profiles behind one OpenAI-compatible endpoint, or as open weights from Hugging Face served on your own GPUs with vLLM or SGLang

For hosted versus direct pricing, see our Bedrock vs OpenRouter comparison.

The license terms that matter

The Amazon Ergo Open-Weights License is free and allows running, fine-tuning, modifying, redistributing and commercial use. Three clauses deserve a read before you build on it:

  1. If your company runs a “Model as a Service” business and earns over US$20 million in a 12-month period, you need a separate agreement with Amazon before serving Ergo to third parties. Internal use and features inside your own product are exempt.
  2. You can’t use Ergo to try to reverse engineer its training data.
  3. The acceptable use policy bans intentionally circumventing its safety measures or alignment. Check that with your legal team if you plan to fine-tune.

How to call the Amazon Ergo API

Bedrock exposes Ergo through the Responses, Chat Completions, Converse and InvokeModel APIs on the bedrock-runtime endpoint. The quickest path is the OpenAI SDK pointed at Bedrock’s OpenAI-compatible base URL, with a Bedrock API key you generate in the console:

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://bedrock-runtime.us-west-2.amazonaws.com/openai/v1",
    api_key=os.environ["AWS_BEARER_TOKEN_BEDROCK"],
)

resp = client.chat.completions.create(
    model="global.amazon.ergo-1.0",
    messages=[{"role": "user", "content": "Write a Python function that reverses a string."}],
    reasoning_effort="medium",      # low | medium | high | xhigh | max
    max_completion_tokens=8192,     # reasoning shares this budget
)
print(resp.choices[0].message.content)

Three gotchas come straight from AWS’s sample code:

Sequence: your code sends a Chat Completions request with a Bedrock API key to bedrock-runtime, which routes the global profile to Ergo; Ergo reasons and replies; a missing or malformed key gets a 401 access_denied before any tokens are billed

Ergo also plugs into coding harnesses. AWS lists Codex, Kiro and OpenCode, plus Claude Code through a LiteLLM proxy.

Schema: coding harnesses that AWS lists for Amazon Ergo: Codex, Kiro and OpenCode call the Bedrock endpoint directly, while Claude Code goes through a LiteLLM proxy first

Let your coding agent preflight Ergo with Apidog CLI

Before you wire Ergo into a product, confirm your base URL, region and model ID. Your coding agent can build that check with Apidog CLI, and it needs no Bedrock key to start. Apidog Free covers up to 4 users.

npm install -g apidog-cli@latest
apidog auth login --with-token <YOUR_TOKEN>
apidog skill install

Then give your agent one prompt:

In Apidog project <projectId>, create a test scenario called "Amazon Ergo
Bedrock preflight". Step 1: POST Chat Completions on bedrock-runtime
us-west-2 /openai/v1 with model global.amazon.ergo-1.0 and no key; assert
401 and "Authorization header is missing". Step 2: POST the Responses API
on us-east-1 with us.amazon.ergo-1.0 and a malformed key; assert 401 and
error.code access_denied. Validate the payloads against the CLI schema,
then run it and summarize the result.

The agent checks the schema, writes the scenario, adds the steps and runs it:

apidog cli-schema validate test-scenario-create --file scenario.json
apidog test-scenario create --project <projectId> --file scenario.json
apidog test-scenario update <scenarioId> --project <projectId> --file steps.json
apidog run -t <scenarioId> --project <projectId> -e <envId> -r cli
Apidog CLI running a sandbox scenario against both Amazon Bedrock routes for Ergo: Chat Completions with no key and the Responses API with a malformed key each return 401, 4 of 4 assertions pass

Both routes answer and reject the call at the auth layer, so the URLs and regions resolve. Once your key is ready, have the agent store it as an environment variable and flip the assertions to status 200 with a non-empty choices[0].message.content. The same apidog run line with -r junit drops into a pipeline, as our Apidog CLI CI/CD guide shows. For agent setup, see Apidog CLI in Claude Code.

When your team runs several of these agent checks across models, Sharkly lets you hand them out as tasks to coding agents running on your own computers with your own Claude Code, Codex or OpenCode plans, and review what each one ships before it merges. It’s free to start.

Amazon Ergo limitations

Amazon’s model card is upfront about where Ergo falls short:

If you self-host, the safety layer is yours to build.

FAQ

Is Amazon Ergo free? The weights are free to download and use under the Amazon Ergo Open-Weights License, but you pay for the hardware to run them. On Bedrock you pay per token, from $1 per million input tokens and $3 per million output tokens.

Is Amazon Ergo open source? It’s open weights, not open source. Amazon publishes the weights and allows commercial use and fine-tuning, but not the training data or code, and the license adds an acceptable use policy plus a clause for large model-hosting businesses.

Can I run Amazon Ergo locally? Yes, with SGLang or vLLM, but the smallest download is 626 GB of MXFP4 weights. That’s multi-GPU server territory, not a laptop.

Which coding tools work with Amazon Ergo? AWS lists Codex, Kiro and OpenCode, plus Claude Code through a LiteLLM proxy, all calling Ergo on Bedrock.

How fast is Amazon Ergo? Amazon reports over 400 output tokens per second on Bedrock, served on AWS Trainium3, and up to 2,200 in the Turbo preview.

Wrapping up

Amazon Ergo is a large open-weights coding model with a fast, cheap hosted option. It isn’t the top scorer everywhere, but its speed and pricing earn it a test on your own tasks. Start with a keyless preflight, add your key, and compare it with the model you run today.

Explore more

What Is Soma-1X Lite? The 2B Open OCR Model That Reads Handwriting and African Languages

What Is Soma-1X Lite? The 2B Open OCR Model That Reads Handwriting and African Languages

Soma-1X Lite is Amini's 2B open OCR model: located block output, strong African-language diacritics, self-hosted on one GPU. What it does, what its benchmarks mean, and how to serve and test it.

1 December 2026

Is ML-KEM Safe After Anthropic's Lattice Cryptography Findings?

Is ML-KEM Safe After Anthropic's Lattice Cryptography Findings?

Anthropic's quantum algorithm targets the module lattices behind ML-KEM, but reviewers put its cost far beyond 2^1000 operations. Here's what it means for your API's post-quantum TLS.

1 December 2026

Google Workspace API Terms for AI Agents: What Changes in 2027

Google Workspace API Terms for AI Agents: What Changes in 2027

Google's Workspace AI Tools Addendum moves AI agents onto Workspace MCP servers or the CLI from February 1, 2027, caps derived data at 30 days, bans training and adds user confirmations. Here's what it says and what to change.

1 December 2026

Practice API Design-first in Apidog

Discover an easier way to build and use APIs

What Is Amazon Ergo? The Open-Weights Model Explained