Amazon Ergo: a 1.1T open-weight coding model at $1 in, $3 out. Where it fits and how to wire it into your agent

Amazon released Ergo on December 1: a 1.1-trillion-parameter mixture-of-experts model built for coding agents, with open weights on Hugging Face and Bedrock pricing of $1 in and $3 out per million tokens. It is the cheapest serious option for high-volume agent work. Self-hosting needs at least four GB300s or eight other Blackwell GPUs, so most teams will use Bedrock.

On this page
  1. What Amazon shipped
  2. Benchmarks, as Amazon reports them
  3. What it costs
  4. Wiring it into Codex, OpenCode, and Claude Code
  5. Running the weights yourself
  6. The license: open, with a cap for API resellers
  7. Limits and open questions
  8. Verdict
  9. Sources

Everything here comes from Amazon's Hugging Face model card, the Bedrock model card, Bedrock's coding tools guide, and the SGLang cookbook. We have not run Ergo ourselves, and every benchmark number below is Amazon's.

What Amazon shipped

Ergo comes from Amazon Frontier Model Research (FMR). The model card calls it "a frontier open-weights model for software engineering and agentic workflows" and lists a December 1, 2026 release date. It is text only: no images, screenshots, or diagrams in this release.

SpecValue
ArchitectureMixture-of-experts transformer, 256 routed experts (8 active per token) plus 1 shared
Parameters1.1T total, 55B active per token
Context window1M tokens (1,048,576)
Maximum output128K tokens (131,072)
WeightsMXFP4 (626 GB), MXFP8 (1.17 TB), BF16 (2.22 TB)
Speculative decoding draftErgo-dspark, 3.24B parameters, 6.48 GB
Bedrock speedOver 400 output tokens per second; a Turbo mode at 2,200 is in limited preview with pricing not yet announced
LicenseAmazon Ergo Open-Weights License (custom, see below)

The knowledge cutoff is listed as June 2026 on Hugging Face and May 2026 on the Bedrock card. Treat anything released in that window as something Ergo may not know about.

Benchmarks, as Amazon reports them

Amazon compares Ergo only with open-weight models. There is no row for Claude, GPT, or Gemini, so the table tells you where Ergo sits among open models and nothing about the closed frontier. Unmarked cells are Amazon's own runs. Cells marked * come from independently run public leaderboards, as the model card marks them.

BenchmarkErgoKimi K3.1 ProGLM 5.3Inkling 2 SmallMistral Large 4
DeepSWE (pass@1)74.277.969.567.359.1
FrontierSWE v231.529.330.2*25.9*15.8
Terminal-Bench 4.0 (pass@1)46.263.336.912.930.1
ProgramBench (almost resolved)23.524.114.812.212.7
FMR-Bench AI SWE (Amazon internal)65.458.644.351.339.4
FMR-Bench Ultra Long Horizon (internal)20.513.19.76.07.5

Read the public rows first. Kimi K3.1 Pro beats Ergo on DeepSWE, ProgramBench, and Terminal-Bench 4.0, where the gap is 17 points. Ergo wins FrontierSWE v2 by a narrow margin and wins clearly only on Amazon's internal FMR-Bench, which nobody outside Amazon can reproduce.

The model card is also candid about first attempts: Ergo "trails the strongest closed models," and Amazon recommends letting the agent test and verify its own changes on long tasks. That is the right setup for any model, but here it is a stated requirement.

What it costs

The Bedrock card lists the same price for the Standard, Flex, and Batch tiers. US-only routing costs 10% more. Here is how the global price compares with models developers already use for agents:

ModelInput / MTokOutput / MTokCache read / MTok
Amazon Ergo (Bedrock, global)$1.00$3.00$0.03
Amazon Ergo (Bedrock, US-only)$1.10$3.30$0.033
Claude Sonnet 5.5$2$10$0.10
Claude Opus 5.5$4$20$0.20
Gemini 4 Neon$3$15Not shown

Claude prices are from Anthropic's pricing page. Ergo's output tokens cost 30% of Sonnet 5.5's, but Ergo always reasons, so a simple task burns more output than it would on a model you can run without thinking. On a big agent run the comparison that matters is cost per merged change. Measure that on your own repos before you switch; our cost breakdown covers how.

Bedrock adds two operational details. Each request reserves its full output limit against your account quota, so a 128K max_tokens on every call will hit throttling sooner. And Amazon says Ergo on Bedrock runs with zero data retention and no operator access.

Wiring it into Codex, OpenCode, and Claude Code

Bedrock serves Ergo through the Responses, Chat Completions, Converse, and InvokeModel APIs. Call it through an inference profile, global.amazon.ergo-1.0 or us.amazon.ergo-1.0; the base model ID amazon.ergo-1.0 returns 400 when called directly. Authentication for the OpenAI-compatible route is a Bedrock API key in AWS_BEARER_TOKEN_BEDROCK.

Codex CLI

From the Bedrock coding tools guide, in ~/.codex/config.toml:

model = "global.amazon.ergo-1.0"
model_provider = "bedrock-runtime"
model_reasoning_effort = "medium"
web_search = "disabled"
model_context_window = 1048568

[model_providers.bedrock-runtime]
name = "Amazon Bedrock"
base_url = "https://bedrock-runtime.us-west-2.amazonaws.com/openai/v1"
env_key = "AWS_BEARER_TOKEN_BEDROCK"
wire_api = "responses"

Set AWS_REGION=us-west-2 in your shell too, because Codex does not read the region from your AWS CLI profile. web_search = "disabled" is required: Codex's built-in web search tool is not supported with Ergo on Bedrock. The guide says a startup warning about missing model metadata can be ignored.

OpenCode

OpenCode uses Chat Completions through @ai-sdk/openai-compatible. Add a provider in ~/.config/opencode/opencode.json with the same base URL, "apiKey": "{env:AWS_BEARER_TOKEN_BEDROCK}", and the model global.amazon.ergo-1.0. Keep limit.output close to what you need, for the quota reason above.

Claude Code

Claude Code speaks the Anthropic Messages API, so Amazon's guide puts a local LiteLLM proxy in front of Bedrock's Responses endpoint. The proxy config routes openai/global.amazon.ergo-1.0 to the Bedrock base URL and sets drop_params: true. You start it with:

uv tool run --from 'litellm[proxy]' litellm \
  --config ~/ergo-claude-code/litellm.yaml --host 127.0.0.1 --port 4000

A launcher script then points ANTHROPIC_BASE_URL at http://127.0.0.1:4000, sets ANTHROPIC_AUTH_TOKEN to the proxy's master_key, sets ANTHROPIC_MODEL, the Opus, Sonnet, and Haiku defaults, and CLAUDE_CODE_SUBAGENT_MODEL to Ergo, and unsets CLAUDE_CODE_USE_BEDROCK. Values for those variables in ~/.claude/settings.json override the launcher, so check that file first.

This is a translation layer with drop_params on, so parameters the proxy can't map are dropped rather than rejected. Features specific to Anthropic's API may not carry over, and we haven't tested which. Amazon's guide also names Kiro as a supported tool but gives no Kiro setup steps.

Running the weights yourself

The SGLang cookbook lists these minimum NVIDIA footprints. MXFP4 and MXFP8 need SM100 or newer GPUs (Blackwell or Vera Rubin), so H100 and H200 clusters are out for the quantized checkpoints.

CheckpointDownloadMinimum GPUs
MXFP4 (Amazon-FMR/Ergo)626 GB4× GB300, or 8× B200 / B300 / GB200 / Vera Rubin
MXFP8 (Amazon-FMR/Ergo-mxfp8)1.17 TB8× GB300 / B300 / GB200 / B200
BF16 (Amazon-FMR/Ergo-bf16)2.22 TB16× GB300 / B300 / GB200 / B200

SGLang ships an lmsysorg/sglang:ergo image and applies the ergo reasoning and tool-call parsers automatically, so don't pass --reasoning-parser or --tool-call-parser yourself. vLLM also supports Ergo from day one according to the model card. Amazon's recommended sampling is temperature 1.0 and top_p 0.99.

Self-hosting makes sense if you already run Blackwell capacity or have a data residency rule Bedrock can't meet. For everyone else, $3 per million output tokens is hard to beat with owned hardware.

The license: open, with a cap for API resellers

The Amazon Ergo Open-Weights License is free and lets you run, fine-tune, modify, redistribute, and sell the model, subject to an acceptable use policy. It is not an OSI license. Three clauses matter to developers:

  • Model-as-a-service cap. If you sell inference or fine-tuning access to Ergo as an API or hosted endpoint, and the aggregate gross revenue of you and your affiliates tops US$20 million in any consecutive 12 months, you need a separate agreement with Amazon. Internal use and research are exempt, as is Ergo powering features of your own product, but only when that product is not itself part of a model-as-a-service business.
  • No training-data reconstruction. You may not use Ergo to try to reverse engineer or reconstruct its training data.
  • Security clause. The policy bans using Ergo to violate the security of any system. Security teams running offensive tests should get their own legal read.

Limits and open questions

  • It always reasons. reasoning_effort of none returns 400 on Bedrock, and Amazon says to set the output limit to at least 8,192 tokens. Below that, the reasoning can consume the whole budget and you get an empty answer with a length stop reason.
  • Effort control is unclear. Bedrock's examples accept low through max. The Hugging Face card says Ergo uses fixed reasoning effort, and SGLang says there is no effort tier control. Until Amazon documents what the setting changes, don't budget around it.
  • Narrower focus. Amazon expects lower relative scores on general knowledge and science. Ergo trails Kimi K3.1 Pro on Terminal-Bench Science 0.1 (21.3 vs 35.7).
  • No safety report yet. Amazon says its Frontier Model Safety Report for Ergo is forthcoming.

Verdict

Ergo is worth a trial for high-volume, well-tested agent work: batch refactors, test generation, CI fix-up loops, anything where a test suite catches the misses. At $1/$3 it costs a fraction of Sonnet 5.5, and the Codex and OpenCode setup is a few lines of config. Run it on a slice of real tickets next to your current model and compare merged-change cost and review time.

Don't expect it to replace a frontier closed model on hard, first-try work; Amazon says as much. Among open weights, Kimi K3.1 Pro still leads most public coding benchmarks in Amazon's own table. For a model you can run on a laptop, see Inkling 2 Mini.

Sources

Researched and drafted by an AI agent from the linked sources. How posts are made.