Editorial

Amazon Ergo Agent Cost: $0.81 a Bedrock Session

Ergo bills a $0.03 cache read on Bedrock, so a 60-turn agent session costs $0.81 against $2.92 on Kimi K3.1 Pro. Setup notes too.

JJyoti Ranjan SwainUpdated
Amazon Ergo agent session cost on Bedrock: $0.81, against $1.25 on Step 5 and $2.92 on Kimi K3.1 Pro

Amazon released Ergo on 1 December 2026, an open-weights coding and agent model with 1.1 trillion parameters, 55 billion of them active per token. On Amazon Bedrock it costs $1.00 per million input tokens, $3.00 for output and $0.03 for a cache read. That cache read is the number to look at. Kimi K3.1 Pro, the model Amazon compares itself against most often, charges $0.20 for the same thing.

I ran our standard 60-turn agent session through the official Bedrock table. Ergo comes to $0.81. Kimi K3.1 Pro comes to $2.92 on the same token mix. Amazon's own launch post says Ergo is only about 10% cheaper per task than Kimi. Both figures are right, and the gap between them tells you how to budget for it.

Table of Contents

Ergo prices on Bedrock

Inference profileInputOutputCache readCache write (30 min TTL)
Global (global.amazon.ergo-1.0)$1.00$3.00$0.03$1.25
US Geo (us.amazon.ergo-1.0)$1.10$3.30$0.033$1.375

Prices are per million tokens. The Standard, Flex and Batch tiers all bill the same rate, so on Ergo, Batch saves you nothing. Bedrock serves Ergo only through those two cross-Region profiles. If you call the base model ID amazon.ergo-1.0 directly, you get a 400 error saying in-Region invocation isn't supported.

The US profile costs 10% more on every line. If your data has to stay in the US, add that to your budget. If it doesn't, use the global profile.

Other specs from the Bedrock model card: a 1M-token context window (Amazon's coding-tools guide sets 1,048,568 as the usable limit), 128K max output (131,072 tokens), text in and text out only. Amazon quotes over 400 output tokens per second on Trainium3. A Turbo mode reaching 2,200 tokens per second is in limited preview, and Amazon hasn't priced it yet.

One agent session on Ergo and four rivals

This is the same workload we use for every model: 60 turns, a 120,000-token prefix written to cache once and read on the next 59 turns, plus 3,000 new input tokens and 1,500 output tokens per turn.

LineTokensErgo (global)Ergo (US)Kimi K3.1 ProClaude Sonnet 5.5Step 5
Cache write120,000$0.150$0.165$0.240$0.300$0.120
Cache reads7,080,000$0.212$0.234$1.416$0.708$0.708
New input180,000$0.180$0.198$0.360$0.360$0.180
Output90,000$0.270$0.297$0.900$0.900$0.243
Session$0.81$0.89$2.92$2.27$1.25

One 60-turn agent session: Ergo $0.81, Ergo US $0.89, Step 5 $1.25, Sonnet 5.5 $2.27, Kimi K3.1 Pro $2.92

On Kimi, cache reads are 48.6% of the bill. On Ergo they shrink to 26.1%, and output becomes the biggest line at 33.2%. That changes which knob you turn. On most models a better cache hit rate is the main saving. On Ergo, the output tokens are, and Ergo always reasons.

At four sessions a workday for 20 days, Ergo costs $64.99 a month on the global profile and $71.49 on the US one. Kimi K3.1 Pro costs $233.28 for the same month. You can rerun these with your own token counts in the API Cost Calculator, which lists Ergo from today.

Amazon's 10% figure against our 72%

On list prices, the session above is 72.1% cheaper on Ergo than on Kimi K3.1 Pro. Amazon's launch post, measured on its internal AI SWE benchmark, says Ergo averages $1.41 a task against $1.58 for Kimi K3.1 Pro. That's 10.8% cheaper. Ergo also finished faster, at 14.3 minutes a task against 21.7.

Both numbers can be true at once because they hold different things fixed. Our session holds the token count fixed and changes only the price. Amazon's figure is per finished task, so it includes however many tokens each model burned to get there. The rates are about 3.6x apart, so a 10.8% gap means Ergo used roughly three times the tokens of Kimi on those tasks. Amazon doesn't publish the token counts, so that's my inference from its two numbers, not a measured figure.

The model card gives the likely reason. Ergo has a fixed reasoning effort and always reasons, which "uses more output tokens on simple ones." It also says first-attempt accuracy trails the strongest closed models and recommends letting the agent test and verify its own changes. Verification loops add turns.

Here is what happens to the session as output per turn grows:

Output per turnErgo sessionKimi K3.1 Pro sessionKimi / Ergo
1,500$0.81$2.923.59x
3,000$1.08$3.823.53x
6,000$1.62$5.623.46x
12,000$2.70$9.223.41x

The ratio barely moves when both models produce the same output. What closes the gap is Ergo needing more turns or more tokens than Kimi for the same job. Budget from your own logs, not from either headline. Run ten real tasks on both, add up usage per task, and multiply by the rates above.

Prompt caching rules on Ergo

Bedrock lists Ergo with both implicit and explicit prompt caching. The explicit limits are different from Anthropic's on the same platform:

Amazon Ergo-1.0Claude Sonnet 5.5 on Bedrock
Minimum tokens per checkpoint1,024512
Max checkpoints per request44
TTL30 minutes5 minutes, 1 hour
Fields that take checkpointssystem and toolssystem, messages, tools

Ergo cache checkpoints go in system and tools only; the growing message history relies on best-effort implicit caching

Two of those rows change how you build an agent.

The 30-minute TTL is generous. On Kimi's default 5-minute cache, four coffee breaks in a session meant four prefix rewrites and a $3.78 session. On Ergo, a break under 30 minutes costs nothing. Even four rewrites only take the session from $0.81 to $1.40, because the write rate is $1.25 rather than Kimi's $2.00.

The other row is the catch. Explicit checkpoints only go in system and tools. The conversation history, which grows every turn in a coding agent, can't carry a checkpoint, so its reuse depends on implicit caching. Bedrock's prompt caching page calls implicit caching best effort: an identical prompt isn't guaranteed a hit. Put your repo map, instructions and tool schemas in the system prompt where you can pin them. Then check the cached-token count on the first few turns instead of assuming the model above.

The bill swings fast when the cache misses. If every one of the 59 prefix reads missed, the session would cost $7.68 billed at the plain input rate, or $9.45 if each miss were billed as a fresh cache write. Bedrock doesn't spell out which one applies to a missed implicit read on Ergo, so treat $7.68 to $9.45 as the range.

Running Ergo in coding agents

Amazon's coding-tools guide covers four harnesses. All of them use a Bedrock API key stored as AWS_BEARER_TOKEN_BEDROCK, and the IAM identity behind it needs bedrock:InvokeModel and bedrock:InvokeModelWithResponseStream on both inference profiles.

Codex CLI talks to Bedrock directly over the Responses API. This is the guide's ~/.codex/config.toml:

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"

web_search = "disabled" is required. Codex errors out otherwise, because Bedrock doesn't support its built-in server-side tools there. Codex also ignores your AWS CLI profile's Region, so set AWS_REGION=us-west-2 in your shell profile to match the base_url.

Claude Code needs a translator. It speaks the Anthropic Messages API, so Amazon's guide runs a local LiteLLM proxy on port 4000 that converts each request into a Bedrock Responses call.

Claude Code sends Messages API calls to a LiteLLM proxy on 127.0.0.1:4000, which calls Bedrock's OpenAI-style endpoint

The launcher script points ANTHROPIC_BASE_URL at the proxy and maps every model slot, the subagent included, to global.amazon.ergo-1.0. Two lines in it are easy to break. ANTHROPIC_AUTH_TOKEN must match the proxy's master_key, which is any string you choose, not your AWS key. And if ~/.claude/settings.json already sets CLAUDE_CODE_USE_BEDROCK or ANTHROPIC_MODEL in its env block, those win over the launcher. Start Claude Code with --setting-sources project,local to skip user settings.

Three limits apply in every harness:

  • Reasoning effort none returns a 400. The guides use medium.
  • Set the output limit to at least 8,192 tokens. Below that, Ergo can spend the whole budget reasoning and return an empty answer with finish_reason: "length".
  • Each request reserves its full output limit against your account quota. A 131,072-token limit on every call runs into ThrottlingException (429) sooner, so set the limit near what your turns actually use.

Ergo also can't read images or screenshots in this release. If your agent pastes UI screenshots, route those turns to another model.

One small mismatch: the Hugging Face card gives a June 2026 knowledge cutoff, and the Bedrock card says May 2026.

Self-hosting the open weights

The weights are free under the Amazon Ergo Open-Weights License, which allows commercial use and fine-tuning under an acceptable use policy. They aren't small. The MXFP4 repo is a 626 GB download, MXFP8 is 1.17 TB and BF16 is 2.22 TB. The vLLM recipe's default setup is four GB300 GPUs, and its H200 preset fills a whole 8x H200 node.

The KV cache, on the other hand, is light for a model this size. Three of every four layers use a 512-token sliding window, so only 16 of the 64 layers keep full-length KV. With 8 KV heads of dimension 128, that's 64 KiB per token in BF16:

ContextKV cache, 16 global layersIf all 64 layers kept full KV
128K tokens8 GiB32 GiB
1M tokens64 GiB256 GiB

The windowed layers add a fixed 96 MiB on top. That's my arithmetic from the published config.json, and it ignores engine overhead and the separate DSpark draft model. The AI VRAM Calculator now has an Ergo preset set to those 16 global layers, if you want to try other context lengths or quantizations.

FAQ

Is Amazon Ergo free to use commercially?

Yes for the weights. Amazon says the license is free of charge and allows running, fine-tuning, modifying, redistributing and building Ergo into commercial products, as long as you follow the acceptable use policy. Bedrock usage is billed at the rates above.

Does Amazon keep my prompts on Bedrock?

No, according to the model card. Ergo runs on Bedrock with zero data retention and zero operator access, and Amazon says prompts and outputs aren't used for training.

Is Batch inference cheaper for Ergo?

No. The Bedrock card says Standard, Flex and Batch all bill at the same rate for Ergo.

Which regions can call Ergo?

Any commercial Region that supports the global profile, plus the four US Regions for the US Geo profile. The model card lists no Global support in Hong Kong, the UAE, Saudi Arabia or Bahrain.

Sources

  • Amazon Bedrock User Guide, Amazon Ergo-1.0 model card (docs.aws.amazon.com, read 2 December 2026): prices for both profiles, cache write and TTL, service tiers, model IDs, context, max output, knowledge cutoff, supported features, Regions.
  • Amazon Bedrock User Guide, Use Amazon Ergo-1.0 with coding tools (read 2 December 2026): IAM policy, Codex, OpenCode and Claude Code setup, reasoning and output-limit notes, troubleshooting table.
  • Amazon Bedrock User Guide, Prompt caching (read 2 December 2026): implicit caching is best effort, Ergo and Claude checkpoint limits, TTLs and fields.
  • Hugging Face, Amazon-FMR/Ergo model card and config.json (read 2 December 2026): parameters, experts, layers, attention heads, download sizes, license, limitations, June 2026 cutoff.
  • Amazon, "Introducing Amazon Ergo" (aboutamazon.com/amazon-ergo, published 1 December 2026): benchmark tables, $1.41 vs $1.58 per task and 14.3 vs 21.7 minutes on AI SWE, Turbo mode.
  • vLLM Recipes, Amazon-FMR/Ergo (read 2 December 2026): sliding window on 3 of every 4 layers, 512-token window, GB300 and H200 deployments.
  • Kimi API Platform, Model Inference Pricing (platform.kimi.ai/docs/pricing/chat, read 2 December 2026): Kimi K3.1 Pro rates.
  • Claude Sonnet 5.5 and Step 5 rates as listed in the ToolMintX API Cost Calculator, last checked against Anthropic's and StepFun's pricing pages.
  • Session costs, monthly totals, ratios and KV cache sizes are calculated by ToolMintX from those figures.

Tools In This Article

Browser-based, no sign-up. Try them while the topic is fresh.

More From ToolMintX

Other Blog Posts