
Build your own holiday photo-to-cartoon app with MiniMax H3 on Runpod
Build an app that turns any holiday photo into a cartoon in under a minute: a GPU Pod running MiniMax H3-Image in ComfyUI and a small web app you run on your laptop.
Blog
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.

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)
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.
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.
| Template | GPU | Context | Pick it for |
|---|---|---|---|
| Ergo SGLang - 4xB300 | 4x B300 (288 GB each) | 1M tokens | Agent 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.
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.
| GPU | VRAM | Price | Template | Median tokens/s | Cost per 1M output tokens | Measured |
|---|---|---|---|---|---|---|
| 4x B300 | 1,152 GB | $41.96/hr | SGLang, MXFP4 weights | 125.5 | $92.87 | Dec 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.
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.
| Task | First answer | Median minutes (range) | Reasoning share | Median peak context | Pod cost | GPU Wh (above idle) |
|---|---|---|---|---|---|---|
| Chess vs. a computer | 3 of 3 (one OpenCode error) | 16.0 (10.8 to 16.7) | 49% | 112k | $11.16 | 447 (184) |
| Black hole ray tracer | 3 of 3 | 11.4 (10.5 to 21.8) | 68% | 100k | $7.99 | 337 (149) |
| Explain the Flask web framework's code (1M-token window) | 3 of 3 | 10.0 (7.1 to 11.1) | 77% | 254k | $7.01 | 324 (158) |
| Design doc to feature | 3 of 3 | 3.7 (3.5 to 4.8) | 72% | 69k | $2.62 | 116 (54) |
| Support inbox triage, 60 emails | 3 of 3 | 3.6 (2.7 to 3.8) | 53% | 46k | $2.49 | 110 (51) |
| Expense policy violations | 3 of 3 | 3.3 (2.2 to 4.8) | 68% | 154k | $2.32 | 108 (53) |
| Fix failing tests | 3 of 3 | 0.6 (0.5 to 0.7) | 59% | 15k | $0.43 | 19 (9) |

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.
The full method, prompts and scoring scripts are in the repo.
You need a Runpod account.
GET /health on the Pod's address. It returns 200 when the server is ready.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 reasoningThe 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"}.
"capabilities": { "tools": true, "input": ["text"] } to the model entry in OpenCode's config fixed it.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.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.

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.
| Build | What Ergo made | Minutes, reasoning share, GPU Wh |
|---|---|---|
| Dashboard | A GPU cloud operations dashboard with interactive charts, date filtering and light and dark mode, on labeled sample data | 9.2 min, 37%, 281 Wh |
| Marketing site | A single-page site for a fictional coffee subscription ("Ember & Oak"): hero, pricing, testimonials, FAQ, scroll animations | 4.0 min, 32%, 123 Wh |
| Arcade game | A canvas arcade game with a title screen, rising difficulty, a saved high score, sound and particle effects | 12.3 min, 44%, 335 Wh |
| Sprite-stacked car | A sports car built from stacked flat pixel slices, which you drag to rotate | 11.3 min, 61%, 343 Wh |
| SVG comic | A six-panel lighthouse story as one hand-written SVG file (vector graphics), with no raster images | 4.7 min, 39%, 143 Wh |
| Blender previz | A rough animated preview (previz) of a 10-second neon-alley chase, scripted in Python and rendered by Blender | 7.0 min, 56%, 204 Wh |
| iPhone habit tracker | A SwiftUI app with check-ins, streaks and a weekly view, built with xcodebuild and run in the Simulator | 9.4 min, 59%, 247 Wh |




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.
These are variations on what we ran, that you can build with your own data, repo or product.
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.
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.
Blog Posts