A mason measures the one keystone that fits, with discarded attempts below.
3 min readby

Amazon Ergo Can Write 400 Tokens a Second. What Does a Passing Patch Cost?

Amazon put Ergo-1.0 on Bedrock on 1 December 2026. The number I circled was $3 per million output tokens. At the global on-demand rate, a coding agent can write 10,000 tokens for three cents. A patch that fails its tests costs three cents to write, too. Amazon Bedrock model card and pricing

What does one Amazon Ergo coding run cost?

Take a small maintenance ticket. Across the whole run, the agent sends 60,000 uncached input tokens and produces 10,000 output tokens. At $1 per million in and $3 per million out, that’s six cents to read and three cents to write. Nine cents in model charges. Use Bedrock’s US cross-region profile and the same run comes to 9.9 cents. The routing choice already changes the bill before you touch the prompt. Bedrock inference profiles and rates

Now give it ten tickets with that same token budget. Suppose six patches pass review on the first try. The other four each need a second nine-cent run, and two of those retries pass. You spent $1.26 for eight accepted patches, or about sixteen cents apiece. Two tickets are still on somebody’s desk. That’s a worked example. The pass rate is the number you have to supply from your own repository.

Where do 400 tokens a second go?

Amazon reports over 400 output tokens per second on Bedrock. At 400, generating those 10,000 output tokens takes about 25 seconds. Suppose the agent also waits three minutes for CI. Even doubling generation speed would save only twelve and a half seconds on that run. A patch that passes the first time saves a whole second trip through the queue. Amazon Ergo model card

I’d give Ergo and the current default the same set of closed tickets, the same tools and the same time limit. Keep the accepted fix out of the agent’s context. Record the invoice, elapsed time and whether a reviewer would merge the diff. Keep failed runs in the total. Dropping them is how a model that needs three attempts starts looking cheap. The harness matters enough to hold it steady. Earlier analysis of coding-agent harnesses

What do the open weights buy you?

Amazon published the Ergo weights on Hugging Face. That gives a team with its own inference hardware a second deployment option. It also changes the arithmetic. On Bedrock an idle hour costs nothing in on-demand tokens. On a dedicated cluster somebody still pays for that hour. I’d use the same eight accepted patches as the denominator and put the cluster hours, including idle time, in the numerator. Amazon’s Ergo weights and model card

My first question after a trial would be which two tickets were left on the desk. If both needed a maintainer to untangle a subtle regression, that review time will matter more to the team than a few cents either way.

More writing

Like what you read?

Stay in the loop.

New articles on engineering, architecture, and building software that lasts. Straight to your inbox.

or follow