News icon

Batch Inference is now generally available on Runpod Serverless

How to Run Amazon Ergo on Runpod: Setup and Benchmarks

This guide takes you from an empty Runpod account to a working OpenAI-compatible endpoint on four B300s, then shows what Ergo built, how long each task took and how much power it drew.

How to Run Amazon Ergo on Runpod: Setup and Benchmarks

Six of Ergo's 14 tasks (More details on the experiments below)

Amazon Ergo is an AI model built to work as a coding agent, one that writes and runs code on its own. It's open-weights, so you can download it and run it yourself, and on Runpod that takes four NVIDIA B300 GPUs. We gave it 14 tasks, from a chess game to an iPhone app, and ran seven of them three times each. Every result we counted worked on the first answer, checked by script or against the codebase for some and by eye for the rest. The median of our 21 repeated runs took 4.8 minutes.

This guide takes you from an empty Runpod account to a working OpenAI-compatible endpoint on four B300s, then shows what Ergo built, how long each task took and how much power it drew.

Ergo writes out its reasoning before every answer, and that's 64% of its output across the seven tasks we repeated (59% across all 28 runs). So tokens per second, how fast it writes, tells you little, and minutes per task tells you a lot.

TL;DR (prices are Secure Cloud list rates as of December 2, 2026)

  • How to run it: deploy our template on four B300 GPUs (the only setup we tested) and call its OpenAI-compatible API.
  • How it did: the median of our 21 repeated runs took 4.8 minutes, $3.32 of pod time and about 147 watt-hours of GPU power, like a 100-watt bulb left on for an hour and a half.
  • Before you build: the model card warns that an agent that can run commands can also delete files or expose credentials. The template sets no API key, so anyone who finds your Pod's address can use it. Run the agent in a sandbox and add authentication.

What is Amazon Ergo?

Amazon Frontier Model Research released Ergo on December 1, 2026. The weights are open, under a license that's free and allows commercial use within an acceptable use policy.

The model card describes a mixture-of-experts model, which sends each token through a small part of the network: 1.1 trillion parameters in total, 55 billion of them active on any one token, a 1M-token context window (about 750,000 words) and up to 128K tokens of output. Only 55 billion parameters do the work on each token, but all 1.1 trillion have to sit in GPU memory. We ran the MXFP4 build, a compact 4-bit version that's a 626 GB download.

In its own runs, Amazon reports 74.2% on DeepSWE and 46.2% on Terminal-Bench 4.0, two coding-agent benchmarks, scored on the first attempt (pass@1). Both numbers are on the model card and in Amazon's announcement. The card lists the limits too: Ergo is text only, always thinks before answering, can write code that looks right and fails, and is weaker outside coding and agent work.

How to run Amazon Ergo on Runpod: the 4x B300 template

A template is a saved Pod setup: the container image, startup command, ports and disk size, already filled in. You don't install anything. Click the template below, choose 4x B300 and deploy, and Runpod starts a Pod that serves Ergo through an OpenAI-compatible API. The table is the one template we built and tested.

TemplateGPUContextPick it for
Ergo SGLang - 4xB3004x B300 (288 GB each)1M tokensAgent work with a long context

We just added a batch of B300s that you can deploy on demand, with no reservation or sales call. They're $10.49 per GPU per hour on Secure Cloud, so four cost $41.96 an hour, and they're limited-time capacity, expected through around the end of the year.

How fast is Amazon Ergo, and which GPUs does it need?

There's no small-card option: the 4-bit weights alone are 626 GB. We ran Ergo on four NVIDIA B300 GPUs (1,152 GB of memory), and that's the only setup we tested.

GPUVRAMPriceTemplateMedian tokens/sCost per 1M output tokensMeasured
4x B3001,152 GB$41.96/hrSGLang, MXFP4 weights125.5$92.87Dec 1

That's one request at a time, counting thinking tokens. Cost per million output tokens is the hourly price divided by tokens per hour, for a Pod that's busy all hour. The measurement details are in "How we measured" below.

Amazon Ergo benchmarks: how long a real task takes

Tokens per second only tells part of the story, because Ergo thinks before every answer. So we timed whole tasks, from the first prompt to a finished result. We gave each task to OpenCode, an open-source coding agent running on a laptop, and judged the first thing it handed back. Seven tasks ran three times each.

TaskFirst answerMedian minutes (range)Reasoning shareMedian peak contextPod costGPU Wh (above idle)
Chess vs. a computer3 of 3 (one OpenCode error)16.0 (10.8 to 16.7)49%112k$11.16447 (184)
Black hole ray tracer3 of 311.4 (10.5 to 21.8)68%100k$7.99337 (149)
Explain the Flask web framework's code (1M-token window)3 of 310.0 (7.1 to 11.1)77%254k$7.01324 (158)
Design doc to feature3 of 33.7 (3.5 to 4.8)72%69k$2.62116 (54)
Support inbox triage, 60 emails3 of 33.6 (2.7 to 3.8)53%46k$2.49110 (51)
Expense policy violations3 of 33.3 (2.2 to 4.8)68%154k$2.32108 (53)
Fix failing tests3 of 30.6 (0.5 to 0.7)59%15k$0.4319 (9)
Amazon Ergo minutes to finish one task, median of 3 runs, with the range as whiskers

Each bar is the median of three runs, and the line marks the fastest and slowest run. Reasoning share is the part of the output spent thinking. Peak context is the most tokens held at once. GPU Wh is watt-hours the GPUs drew, with idle draw subtracted in brackets.

Small, checkable jobs finish in minutes. Chess, the black hole and the Flask read-through take 10 to 16, and the seven showcase builds took 4 to 12. Thinking makes up half to three quarters of the output, so plan around minutes per task. Context was never a limit: no response hit a length cap, and the biggest run used 269k tokens of the 1M window.

How we measured

  • Speed: we sent 15 requests (5 prompts, 3 runs each) from inside the Pod and measured output tokens per second after the first token, counting thinking tokens. The median was 125.5 tokens per second, and every request landed between 125.1 and 125.5.
  • First answer: scripts checked triage (60 of 60 emails), the design-doc feature (hidden acceptance tests passed, the full suite passed, the old code untouched), the expense check (all 25 planted violations) and the failing tests (three bugs fixed, tests untouched). A person judged the chess, black hole and showcase builds by eye. For the Flask task, a script checks that every file Ergo cites exists and every cited line number falls inside the file. One chess run stopped on an OpenCode error after Ergo's own tests passed, because OpenCode sent it an image (see the tips).
  • Cost and energy: pod cost is an estimate, minutes at $41.96 an hour. Energy is what the GPUs drew, and the bracketed figure subtracts the 248 W each GPU uses sitting idle.

The full method, prompts and scoring scripts are in the repo.

Deploy Amazon Ergo on a Runpod Pod with the 4x B300 template

You need a Runpod account.

  1. Open the template link, choose 4x B300 and deploy. The template runs SGLang, open-source server software, and sets a 1,000 GB container disk. Your Pod ID is on the Pod's card in the console, and the Pods docs cover the deploy page.
  2. Wait for the server to load, and expect to pay for that time. One cold boot took about 12 minutes before the server was healthy. On another Pod we didn't catch the ready time, and it was still warming up (capturing CUDA graphs) at 15 minutes. To check, call GET /health on the Pod's address. It returns 200 when the server is ready.
  3. Add authentication. The template sets no API key and we didn't test one, so anyone who can reach the endpoint can use it, and the TCP address is plain HTTP. Put a proxy that checks an API key in front of it before you send anything sensitive, and add the key to the samples below.
  4. Terminate the Pod when you're done. If you only stop it, GPU charges end but the container disk is erased, so the 626 GB downloads again on restart. A volume disk, if you add one, keeps billing while the Pod is stopped.

Call the Amazon Ergo API

Replace <POD_ID> with your Pod's ID. The model card recommends temperature 1.0 and top_p 0.99. We ran these samples against the Pod's TCP address with only the host changed, so if the proxy URL fails for your Pod, use the TCP address (see the tips).

curl https://<POD_ID>-30000.proxy.runpod.net/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "Amazon-FMR/Ergo",
    "messages": [{"role": "user", "content": "Write a haiku about GPUs."}],
    "max_tokens": 2000,
    "temperature": 1.0,
    "top_p": 0.99
  }'

With the OpenAI Python SDK (pip install openai; no key is set, so any string works):

from openai import OpenAI

client = OpenAI(base_url="https://<POD_ID>-30000.proxy.runpod.net/v1", api_key="none")
r = client.chat.completions.create(
    model="Amazon-FMR/Ergo",
    messages=[{"role": "user", "content": "What is 17 * 23? Answer with just the number."}],
    max_tokens=2000,
    temperature=1.0,
    top_p=0.99,
)
m = r.choices[0].message
print(m.content)                    # 391
print(m.reasoning_content)          # the model's reasoning

The model's thinking comes back in a separate reasoning_content field, and the answer in content. Ergo always thinks, and thinking counts against max_tokens: the haiku used 930 of its 948 tokens on thinking, so leave room. Tool calling worked in our test: a get_weather tool and the prompt "What's the weather in Paris?" returned finish_reason: tool_calls with the arguments {"city": "Paris"}.

Tips for agentic use

  • Set the model's input to text. In one chess run, OpenCode sent Ergo a screenshot and the server returned a 400 error, because Ergo is text only. Adding "capabilities": { "tools": true, "input": ["text"] } to the model entry in OpenCode's config fixed it.
  • Use a TCP port for agents. The HTTP proxy times out after 100 seconds with a 524 error, and in our runs the server returned each answer only when it finished, so a long file write left the connection silent past 100 seconds. One arcade-game run looped on connection resets until we switched to a TCP port, and we count the rerun. After that, a long-write test ran nine minutes without a reset.
  • Finding the TCP address. The template exposes port 30000 as HTTP only, so we used a Pod with 30000 exposed as both HTTP and TCP. To do the same, add 30000 as a TCP port when you create the Pod (see the docs). We set ours through the API. The address is under Direct TCP Ports in the Connect menu, as http://<PUBLIC_IP>:<PUBLIC_PORT>, and the port changes when the Pod resets. On that Pod the proxy URL returned 404 while the TCP address worked.
  • Sandbox the agent. Our harness ran on a laptop with the Pod serving only the model, so the sandbox is wherever your harness runs.

What we built with Amazon Ergo

Each build started from one prompt that described the result, told the model not to ask questions and set a finish line. Here is the chess prompt:

Build a complete chess game in the browser where I play white against a computer opponent. Enforce every rule: legal moves only, check, checkmate, stalemate, castling, en passant, promotion with a piece choice, and the fifty-move and threefold repetition draws. Include a move list in algebraic notation, undo, and three difficulty levels. Use plain HTML, CSS, and JS with no build step and no backend. Do not ask me questions. Only stop when you have played a full game against it, checked the special moves work, and it's open in my default browser.

Amazon Ergo builds. Left: the chess game, mid-game with a check. Right: the black hole page, with lensing, a Doppler-brightened disk and orbit controls
Chess and the black hole ray tracer, three runs each. All six passed on the first answer.

We built seven more things once each, and every one passed on its first answer, judged by eye. The weakest results were the car demo, where auto-rotate spins too fast and dragging is oversensitive, and the iPhone app, whose creation sheet runs past the screen edges.

BuildWhat Ergo madeMinutes, reasoning share, GPU Wh
DashboardA GPU cloud operations dashboard with interactive charts, date filtering and light and dark mode, on labeled sample data9.2 min, 37%, 281 Wh
Marketing siteA single-page site for a fictional coffee subscription ("Ember & Oak"): hero, pricing, testimonials, FAQ, scroll animations4.0 min, 32%, 123 Wh
Arcade gameA canvas arcade game with a title screen, rising difficulty, a saved high score, sound and particle effects12.3 min, 44%, 335 Wh
Sprite-stacked carA sports car built from stacked flat pixel slices, which you drag to rotate11.3 min, 61%, 343 Wh
SVG comicA six-panel lighthouse story as one hand-written SVG file (vector graphics), with no raster images4.7 min, 39%, 143 Wh
Blender previzA rough animated preview (previz) of a 10-second neon-alley chase, scripted in Python and rendered by Blender7.0 min, 56%, 204 Wh
iPhone habit trackerA SwiftUI app with check-ins, streaks and a weekly view, built with xcodebuild and run in the Simulator9.4 min, 59%, 247 Wh
Left: the GPU dashboard in dark mode. Right: the top of the Ember & Oak marketing site
The dashboard and the marketing site, in plain HTML, CSS and JavaScript.
Left: the arcade game mid-wave. Right: the sprite-stacked car with its rotate and tilt controls
The arcade game, which we judged fun and difficult, and the sprite-stacked car.
Left: the lighthouse comic, all six panels. Right: a frame from the Blender chase
Left: the comic, one hand-written SVG. Right: a Blender frame, re-rendered at 1080p.
Three screens of the SwiftUI habit tracker: Today, Progress and Settings
The habit tracker running in the iOS Simulator.

The prompts, scoring scripts, methods and built outputs for all 28 runs are at github.com/Kilo-Loco/ergo-agent-bench, under Apache-2.0, if you want to rerun them.

More to build with Amazon Ergo

These are variations on what we ran, that you can build with your own data, repo or product.

  • A landing page or dashboard for your own product or data.
  • A browser game or a board game with a computer opponent.
  • A short illustrated story as SVG, where every panel is code you can edit.
  • A scripted 3D shot in Blender, or a native iPhone app that runs in the Simulator.
  • Triage and policy checks over a pile of text: support emails, expense reports, contracts.
  • Test repair in a repo of your own, and architecture write-ups of a large codebase.

When Amazon Ergo fits

In our tests Ergo handled self-contained builds and checks against a document or policy, and it read a large codebase without hitting a limit. It's text only, it can write code, and an agent that can run commands can also delete files, so keep a person in the loop. You pay by the hour, so deploy when you have a batch of work and terminate the Pod when it's done.

Start building

Deploy the 4x B300 template and try one of the prompts above. Rates are on the pricing page, setup is in the Pods docs, and you deploy from the Runpod console. For a first Pod, see our guide to trying open-source models without installing anything. Tell us how it went. In the Runpod Discord, post what you're running in #built-on-runpod, or ask there if a launch fails in a way this guide doesn't cover. r/RunPod suits longer write-ups, like benchmark numbers and cost breakdowns.

Sources: Amazon Ergo model card · Amazon announcement · Runpod Pod pricing · Runpod proxy limits. Our speed, context and agent tests, December 1 and 2, 2026.

Build what’s next.

Build, train, and scale AI workloads on Runpod with cloud GPUs, Serverless, and Clusters.

Star field background