Ship a Full-Stack App with One Prompt

Copy this prompt into your AI coding agent, or open it in one below.

Give this to your AI Create a to-do list app using Puter.js

Coding manually? see the guide

Blog

Amazon Ergo 1.0 Review: Fast Coding Answers at a Lower Cost

On this page

Ergo 1.0 is Amazon's new reasoning model for software engineering and agentic workflows. Its launch post calls it "one of the fastest and lowest-cost models available today" and compares it with Kimi K3.1 Pro on time and cost per task. We tested that comparison with the same coding prompts on both models.

In our tests, both models passed every check on every run. Ergo 1.0 finished each prompt 3 to 8 times sooner than Kimi K3.1 Pro and cost 47% less across the test. It also used about twice as many output tokens on the hardest prompt, and its speed varied from run to run, with one chess run taking five times as long as the other two.

What Amazon Claims

Amazon measures speed and cost on AI SWE, part of its internal FMR-Bench suite. The launch post says Ergo "averages 14.3 minutes and $1.41 per task" there. The chart below that sentence gives 21.7 minutes and $1.58 for Kimi K3.1 Pro, which is 1.52 times Ergo's time and 1.1 times its cost.

The Amazon Bedrock model card adds a throughput figure. It says Ergo "runs at over 400 output tokens per second" on Bedrock.

On quality, Amazon's charts put Kimi K3.1 Pro ahead of Ergo on DeepSWE (77.9 against 74.2) and Ergo ahead on AI SWE (65.4 against 58.6).

AI SWE isn't public and its tasks are long agent sessions, so we wrote single-turn coding prompts with automated checks and compared Ergo with Kimi K3.1 Pro, the model Amazon compares against.

How We Tested

We wrote four prompts, from a one-sentence answer to a full chess move generator. The launch post shows Ergo writing a chess game from a single prompt, so the hardest prompt asks for the part of a chess program that can be checked exactly.

A short question. This one measures how long a simple answer takes on a model that uses reasoning on every request:

In one sentence, what is the difference between == and === in JavaScript?

A bug fix. The function has four planted bugs. It sorts numbers as strings, it doesn't merge touching intervals, it can shrink a merged interval, and it modifies its input.

This function should merge overlapping or touching intervals and return them sorted by start, without modifying its input. It has bugs. Return the corrected function in one JavaScript code block. Keep the name mergeIntervals.

function mergeIntervals(intervals) {
    if (intervals.length === 0) return [];
    intervals.sort();
    const merged = [intervals[0]];
    for (let i = 1; i < intervals.length; i++) {
        const last = merged[merged.length - 1];
        const cur = intervals[i];
        if (cur[0] < last[1]) {
            last[1] = cur[1];
        } else {
            merged.push(cur);
        }
    }
    return merged;
}

An expression evaluator. A small parser with operator precedence and error handling:

Write a JavaScript function evaluate(expr) that evaluates an arithmetic expression given as a string and returns a number.

It must support integers and decimals, the operators + - * / ^, unary minus, parentheses, and whitespace between tokens. The ^ operator is exponentiation. It is right-associative and binds tighter than unary minus, so -2^2 is -4 and 2^3^2 is 512.

Throw an Error for invalid input, including an empty string, unbalanced parentheses, a missing operand, and division by zero. Do not use eval or the Function constructor.

Return one JavaScript code block that defines evaluate, with no dependencies.

A chess move generator. Perft counts every legal move sequence of a given depth from a position. The correct counts for standard test positions are published, so one wrong rule for castling, en passant, promotion, or pins shows up as a wrong number.

Write a JavaScript function perft(fen, depth) with no dependencies. It takes a chess position as a FEN string and returns the number of legal move sequences of exactly that depth from the position (the standard perft node count).

Move generation must be fully legal. Handle castling rights, en passant, promotions to all four pieces, checks, and pins.

Return one JavaScript code block that defines perft.

Each model ran each prompt three times on default settings with no system prompt, for 24 runs in total. We ran the code from every answer against checks the models didn't see. There were 8 for the bug fix, 26 for the evaluator (16 values and 10 inputs that must throw), and 20 for the chess prompt (six standard positions at depths 1 to 4, up to 197,281 positions).

For each run we recorded the time until the first visible text of the answer, the time until the answer finished, the output tokens (which include reasoning), and the cost.

Correctness

Prompt Checks per run Amazon Ergo 1.0 Kimi K3.1 Pro
Bug fix 8 3/3 runs passed all 3/3 runs passed all
Expression evaluator 26 3/3 runs passed all 3/3 runs passed all
Chess move generator 20 3/3 runs passed all 3/3 runs passed all

Both models passed all 162 checks. Every chess answer returned the published count at every depth for all six positions, including the positions built around en passant pins and promotions. Both models fixed all four bugs in every run and wrote close to the same function.

All 18 code answers were a single code block with no text around it, as the prompts asked. The chess answers were 346 to 449 lines from Ergo and 382 to 436 lines from Kimi K3.1 Pro.

These prompts didn't separate the two models on quality.

Time to Answer

Median of three runs Amazon Ergo 1.0 Kimi K3.1 Pro
Short question 1.5 s 8.7 s
Bug fix 4.3 s 16.9 s
Expression evaluator 62 s 187 s
Chess move generator 85 s 689 s

Ergo's median time was 5.8 times shorter on the short question, 3.9 times on the bug fix, 3.0 times on the evaluator, and 8.1 times on the chess prompt. Across all 12 runs per model, Ergo took 15 minutes in total and Kimi K3.1 Pro took 46.

Both models use reasoning before they answer, so most of each run was a wait before any of the answer appeared. On the chess prompt, the first line of code arrived after a median of 84 seconds from Ergo and 637 seconds from Kimi K3.1 Pro.

Ergo's times were less consistent than Kimi's. Two of its chess runs finished in 78 and 85 seconds and the third took 444 seconds. One evaluator run took 160 seconds against 52 and 62 for the other two. Kimi K3.1 Pro's three chess runs took 628, 689, and 764 seconds. Ergo's slowest chess run was still faster than Kimi's fastest.

Tokens per Second

We divided each run's output tokens, reasoning included, by the time between the first output and the end of the answer. This table covers the three coding prompts, since the short answers are too small for a rate to mean much.

Tokens per second Amazon Ergo 1.0 Kimi K3.1 Pro
Bug fix, median 377 43
Expression evaluator, median 132 41
Chess move generator, median 428 26
Range across 9 runs 51 to 442 26 to 47

Three of Ergo's nine coding runs were above the 400 tokens per second on the Bedrock model card (421, 428, and 442). The other six ranged from 51 to 377. All three evaluator runs were at 140 or below, and the slow chess run was at 96. Kimi K3.1 Pro stayed between 26 and 47.

Output Tokens and Cost

Average per answer Amazon Ergo 1.0 Kimi K3.1 Pro
Short question 139 tokens, 0.05¢ 251 tokens, 0.27¢
Bug fix 859 tokens, 0.29¢ 640 tokens, 0.69¢
Expression evaluator 7,814 tokens, 2.4¢ 7,222 tokens, 7.3¢
Chess move generator 36,788 tokens, 11.4¢ 18,319 tokens, 18.4¢
Total, 12 answers 136,801 tokens, $0.42 79,300 tokens, $0.80

Ergo's output price is about a third of Kimi K3.1 Pro's. Our Ergo runs were billed at $1.10 per million input tokens and $3.30 per million output tokens, the US rate on the Bedrock model card, which is 10% above the $1.00 and $3.00 global rate. Kimi K3.1 Pro costs $2 and $10.

On three of the four prompts the two models used a similar number of output tokens, so Ergo cost 58% to 81% less per answer. On the chess prompt Ergo used twice as many tokens as Kimi K3.1 Pro and cost 38% less. The code itself was about the same length from both models, so the extra tokens were reasoning. Across the whole test Ergo used 1.7 times as many output tokens and cost 47% less.

Amazon's own figures put Ergo's cost per task about 10% below Kimi K3.1 Pro's. The gap in our runs was larger. Our prompts are single answers, and Amazon's tasks are agent sessions with many steps, so the two measurements aren't the same thing.

What to Expect

  • Correct code on well-specified tasks. Ergo passed every check on all three coding prompts in every run, including a legal chess move generator. Kimi K3.1 Pro did the same.
  • Much shorter waits than Kimi K3.1 Pro. Ergo finished 3 to 8 times sooner at the median. The gap was wider than the 1.52 times Amazon reports for agent tasks.
  • Speed that varies between runs. The same prompt took 78 seconds in one run and 444 in another. Throughput reached the 400 tokens per second Amazon lists in three of nine coding runs. Set timeouts for the slow case.
  • A wait before the answer starts. Reasoning is always on. A hard prompt took over a minute before the first line of code, so show progress in interactive apps.
  • More tokens on hard problems. Ergo used twice as many output tokens as Kimi K3.1 Pro on the chess prompt. The lower price still made it cheaper, but compare cost per answer on your own prompts instead of per-token prices.

We ran three runs per prompt per model on four prompts of our own, all single-turn and all in JavaScript. Both models passed everything, so this test says nothing about which one is better on harder work. It doesn't cover the long agent sessions Amazon built Ergo for, where Amazon's own charts show Kimi K3.1 Pro ahead on some benchmarks.

Try It Yourself

Puter.js lets you call Amazon Ergo 1.0 from the browser without a backend or API key. Users cover their own usage costs under the User-Pays Model. You can run the same prompts against both models by changing the model value.

Script tag:

<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        puter.ai.chat(
            `Write a JavaScript function perft(fen, depth) with no dependencies. It takes a chess position as a FEN string and returns the number of legal move sequences of exactly that depth from the position (the standard perft node count).

Move generation must be fully legal. Handle castling rights, en passant, promotions to all four pieces, checks, and pins.

Return one JavaScript code block that defines perft.`,
            { model: "amazon/ergo-1.0" }
        ).then(response => {
            puter.print(response.message.content, { code: true });
        });
    </script>
</body>
</html>

npm:

// npm install @heyputer/puter.js
import { puter } from "@heyputer/puter.js";

puter.ai.chat(
    `Write a JavaScript function perft(fen, depth) with no dependencies. It takes a chess position as a FEN string and returns the number of legal move sequences of exactly that depth from the position (the standard perft node count).

Move generation must be fully legal. Handle castling rights, en passant, promotions to all four pieces, checks, and pins.

Return one JavaScript code block that defines perft.`,
    { model: "amazon/ergo-1.0" }
).then(response => {
    console.log(response.message.content);
});

To compare, run the same prompt with moonshotai/kimi-k3.1-pro. From the starting position, perft should return 20, 400, 8,902, and 197,281 at depths 1 to 4. The Amazon Ergo tutorial has more examples, including streaming and tool calling.

FAQ

What is Amazon Ergo 1.0?

Amazon Ergo 1.0 is a reasoning model from Amazon for software engineering and agentic workflows, released on December 1, 2026. It takes text input and returns text output, supports tool calling, and uses reasoning on every request, according to Amazon's launch post and model card.

How much does Amazon Ergo 1.0 cost?

Amazon Ergo 1.0 costs $1.00 per million input tokens and $3.00 per million output tokens on Amazon Bedrock's global rate, and $1.10 and $3.30 on the US rate, per the Bedrock model card. In our tests it cost 0.05¢ for a one-sentence answer and about 11¢ for a chess move generator.

What is the Amazon Ergo 1.0 context window?

Amazon Ergo 1.0 has a 1-million-token context window and a maximum output of 128K tokens (131,072), per the Bedrock model card. Reasoning counts toward the output limit.

How fast is Amazon Ergo 1.0?

Amazon Ergo 1.0 runs at over 400 output tokens per second on Amazon Bedrock, according to Amazon. In our nine coding runs it ranged from 51 to 442 tokens per second, with three runs above 400. A short answer took a median of 1.5 seconds.

How does Amazon Ergo 1.0 compare with Kimi K3.1 Pro?

Amazon Ergo 1.0 was 3 to 8 times faster than Kimi K3.1 Pro in our tests and cost 47% less, and both models passed every coding check. In Amazon's results, Kimi K3.1 Pro scores higher on DeepSWE (77.9 against 74.2) and Ergo scores higher on AI SWE (65.4 against 58.6). Kimi K3.1 Pro also accepts image and video input, which Ergo doesn't.

How does Amazon Ergo 1.0 compare with Claude Opus 5.5 and GPT-6 Astra?

Amazon Ergo 1.0 scores 65.4 on AI SWE in Amazon's results, against 85.3 for Claude Opus 5.5 and 80.8 for GPT-6 Astra. On DeepSWE, Amazon reports 74.2 for Ergo, 71.3 for Opus 5.5, and 71.2 for GPT-6 Astra. These are Amazon's own numbers. We didn't test these models against each other in this review.

Does Amazon Ergo 1.0 support image input?

Amazon Ergo 1.0 is text-only. It doesn't accept images, screenshots, or other files as input, per the Bedrock model card.

Where can I use Amazon Ergo 1.0?

Amazon Ergo 1.0 is available on Amazon Bedrock through the inference profile IDs global.amazon.ergo-1.0 and us.amazon.ergo-1.0, according to Amazon's model card. Developers can also call it through Puter.js with the model ID amazon/ergo-1.0.

Ship a Full-Stack App with One Prompt

Give this to your AI Create a to-do list app using Puter.js

Coding manually? see the guide