How to Use Amazon Ergo 1.0: $1/$3 and the 8,192-Token Floor
OpenLux TeamPublished
Amazon Ergo 1.0 is cheap to call and easy to call wrongly. On Amazon Bedrock it costs $1.00 per million input tokens and $3.00 per million output through the global inference profile, according to the Bedrock model card read on 3 December 2026. But the model ID most people will copy first, amazon.ergo-1.0, returns a 400 error, so does a reasoning effort of none, and an output limit below 8,192 tokens can come back as an empty answer. This guide covers the three decisions that make a first call work: which inference profile, which API, and which output limit. Then it covers coding tools, cost and self-hosting.
Ergo 1.0 is not available on OpenLux; the OpenLux pricing API, read at 12:30 Beijing time on 3 December, lists no Amazon model. What Ergo scores on independent tests is covered in Amazon Ergo on Artificial Analysis. Compiled by the OpenLux Team from AWS and Hugging Face pages read on 3 December 2026.
What you are calling
Amazon launched Ergo 1.0 on 1 December 2026. The model card describes a mixture-of-experts model with 1.1 trillion total parameters and 55 billion active per token, built "for agentic coding and professional work". It takes text and returns text, with a 1M-token context window and a 128K (131,072-token) output limit. AWS quotes "over 400 output tokens per second" on Bedrock. The knowledge cutoff is May 2026 on the Bedrock card and June 2026 on the Hugging Face card; the two AWS-run pages disagree, so do not rely on either month for recent facts.
The weights are open under the Amazon Ergo Open-Weights License, which the Hugging Face card summarises as "free of charge. You can run, fine-tune, modify, and redistribute Ergo." On Artificial Analysis the model scores 38.0 on the Intelligence Index v5.0.2 at $1.67 per index task.
Pick an inference profile, not the model ID
Ergo 1.0 is only served through cross-Region inference. There is no in-Region option, which is why the base ID fails. You call one of two inference profile IDs instead.
global.amazon.ergo-1.0 can be called from any commercial AWS Region the model card lists. us.amazon.ergo-1.0 serves US Regions only: calls from us-east-1, us-east-2, us-west-1 and us-west-2 are all routed to us-east-2 (Ohio). The US profile costs 10% more on every line of the bill.
| Bedrock profile | Input / 1M | Output / 1M | Cache read / 1M | Cache write / 1M | 100M in + 20M out |
|---|---|---|---|---|---|
| global.amazon.ergo-1.0 | $1.00 | $3.00 | $0.03 | $1.25 | $160.00 |
| us.amazon.ergo-1.0 | $1.10 | $3.30 | $0.033 | $1.375 | $176.00 |
Cache writes have a 30-minute TTL. A handful of Regions, including Hong Kong (ap-east-1) and the Middle East Regions me-central-1, me-central-2 and me-south-1, show no availability at all on the model card, so check the Regional table before you pick a source Region.
Make the first call with the OpenAI SDK
Bedrock exposes Ergo through four APIs: Responses, Chat Completions, Converse and InvokeModel. If your code already uses the OpenAI SDK, the first two need only a base URL change. Create a long-term API key in the Bedrock console, store it as AWS_BEARER_TOKEN_BEDROCK, and point the client at the OpenAI-compatible path of the Bedrock runtime endpoint:
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": "Summarise this stack trace."}],
reasoning_effort="medium",
max_completion_tokens=8192,
)
print(resp.choices[0].message.content)
Two parameters in that call are not optional in practice. Ergo always reasons, and accepts low, medium, high, xhigh or max for reasoning_effort; none returns a 400. And the reasoning is paid for out of your output limit, so AWS tells you to set at least 8,192 tokens. Below that, the model can spend the whole budget thinking and return an empty answer with finish_reason: "length". If you use boto3, the Converse and InvokeModel APIs take the same global.amazon.ergo-1.0 string as modelId.
The model card also lists what works on top of a plain call: response streaming, implicit and explicit prompt caching, client-side tool use, a server-side web search tool, structured outputs, system prompts, invocation logs and Bedrock Guardrails. Four Bedrock features are marked as not supported for Ergo: Knowledge Bases, Intelligent prompt routing, Count tokens and Watermarking. If your pipeline estimates prompt size with Bedrock's Count tokens API before sending, you will need another way to count for this model.
Point a coding agent at it
AWS has published a setup page for coding tools, and each tool connects a different way.
Codex CLI uses the Responses API. You add a bedrock-runtime provider to ~/.codex/config.toml with the base URL above, wire_api = "responses", model_context_window = 1048568 and, importantly, web_search = "disabled", because Codex's built-in web search tool is not supported. Codex also needs AWS_REGION set in your shell; it does not read the Region from your AWS CLI profile.
OpenCode uses Chat Completions through an OpenAI-compatible provider in ~/.config/opencode/opencode.json. AWS's example sets the output limit to 131,072, but notes that "each request reserves its full output limit against your account's quota". With a 131,072 limit, each request reserves 16 times the quota of one capped at 8,192, so lower it if you hit throttling.
Claude Code speaks the Anthropic Messages API, which Bedrock does not offer for Ergo, so it needs a local LiteLLM proxy. The proxy translates Claude Code's requests into Bedrock Responses calls, and a launcher script sets ANTHROPIC_BASE_URL to the proxy and every model slot, including the subagent model, to global.amazon.ergo-1.0. If your ~/.claude/settings.json sets CLAUDE_CODE_USE_BEDROCK or ANTHROPIC_MODEL, those values override the launcher. Kiro is listed as compatible on the model card.
What a month costs
For 100M input and 20M output tokens with no caching, the global profile costs $160.00 and the US profile $176.00. Output is $60 of the $160, or 37.5%.
Coding agents resend the same repository context, so caching matters more. If 80M of the 100M input tokens are cache reads at $0.03, the global bill falls to $82.40 (20 + 2.40 + 60), and output becomes 72.8% of it. Writing to the cache costs $1.25 per million, 25% more than plain input, so explicitly caching the other 20M would add $5.00. Because Ergo always reasons, those reasoning tokens are part of the output line, and reasoning_effort is the control AWS gives you over them. For scale, AA's 38.0 comes at $1.67 per index task and about 8.1 minutes per task.
If you are comparing it with models you can already reach through OpenLux, two text models on sale there are useful reference points at list price for the same month: GLM-5.4 at $228.00 and MiniMax M3.1 Flash at $27.00. In OpenLux's Self-Deployed-1 group (ratio 0.3, "Attractive discount, suitable for general Q&A") those become $68.40 and $8.10. Neither is Ergo, and benchmark results differ; see GLM-5.4 vs GLM-5.3 and MiniMax M3.1 Flash vs Claude Haiku 5.5 before you treat them as substitutes.
Running the open weights yourself
The Hugging Face card publishes three checkpoints: MXFP4 at 626 GB, MXFP8 at 1.17 TB and BF16 at 2.22 TB. It says SGLang and vLLM support Ergo from day one, and the simplest launch is vllm serve "Amazon-FMR/Ergo". It gives no GPU count, so size the hardware from the download: even the 626 GB MXFP4 checkpoint has to fit in GPU memory alongside the KV cache for whatever context length you serve. The card recommends temperature 1.0 and top_p 0.99, and repeats that the model always reasons, which costs extra tokens on simple tasks.
Self-hosting makes sense when you need the weights inside your own environment or want to fine-tune. If you only need API access, Bedrock's $1.00 / $3.00 avoids provisioning hardware for a 626 GB checkpoint.
Errors you will probably see first
AWS lists the common ones. "Invocation of model ID amazon.ergo-1.0 with in-region isn't supported" means you used the base ID; switch to a global. or us. profile. "The provided model identifier is invalid" means an unsupported source Region or no model access. A 403 AccessDeniedException needs the IAM policy on the model card's setup page, which allows bedrock:InvokeModel and bedrock:InvokeModelWithResponseStream on both profiles and the foundation model. A 403 UnrecognizedClientException means the API key is missing or expired. A 429 means your quota is used up: retry later, lower the output limit, or request more quota. And an empty answer with a length stop reason means the output limit is below 8,192.
What to set before your first real job
Use global.amazon.ergo-1.0 unless you specifically need the US-only profile, in which case budget for the 10% premium on us.amazon.ergo-1.0. Set reasoning_effort to medium and max_completion_tokens to 8,192, then raise either only when answers are truncated or not good enough. Turn off web search in Codex, set AWS_REGION, and keep OpenCode's output limit near what you need so you do not burn quota on reservations. Track output tokens per finished task for a week; that number, not the $1/$3 rate card, decides what Ergo costs you. For other models and group prices on OpenLux, see /pricing.
OpenLux Team