Amazon Ergo needs a full node of datacenter GPUs, and eight H200s are the smallest Hopper box that runs it. The default checkpoint is 626 GB of MXFP4 expert weights. Eight 80 GB H100s run out of memory before the KV cache gets a byte, and there is no GGUF, Ollama or Mac build yet. We rented an 8x H200 node and served Ergo with vLLM’s dedicated image. You get 158 to 178 tokens per second for one user and about 800 tokens per second across 64.
Below are the hardware requirements for each checkpoint, the exact vLLM command for H200, the router step the rendered recipe misses, and a concurrency sweep from one to 64 users. It ends with the number you probably came for: the cost against Amazon Bedrock. We ran every command and measurement here on Ergo 1.0 in December 2026, on eight H200 141 GB cards with 2 TB of RAM.
Amazon Ergo hardware requirements
Ergo is a 1.1 trillion parameter mixture-of-experts model with 55 billion parameters active per token. Speed scales with the active part, but memory scales with all of it. Every one of the 256 routed experts has to sit in GPU memory, because any token can pick any eight of them. Amazon ships three precisions on Hugging Face. Only the routed experts are quantized in the smaller two, while attention, the shared expert and the embeddings stay at BF16 or FP32 in all of them:
| Repository | Experts | Download | Smallest node that serves it | Engines |
|---|---|---|---|---|
| Amazon-FMR/Ergo | MXFP4 | 626 GB | 8x H200 (vLLM only), 8x B200, 4x GB300 | vLLM, SGLang (Blackwell only) |
| Amazon-FMR/Ergo-mxfp8 | MXFP8 | 1.17 TB | 8x B200 or B300 | vLLM, SGLang |
| Amazon-FMR/Ergo-bf16 | BF16 | 2.22 TB | 8x B300 (experts cast to MXFP8 at load) or 16x Blackwell | vLLM, SGLang |
| Amazon-FMR/Ergo-dspark | Draft model | 6.5 GB | Loads beside any of the above | vLLM, SGLang |
If you have Hopper GPUs, the MXFP4 repo is your only option, and only through vLLM’s Marlin kernels. SGLang’s Ergo cookbook requires Blackwell (SM100 or newer) for both quantized checkpoints, so on H200 you use vLLM. On our node the model took 82.4 GiB per GPU including the DSpark draft, leaving about 50 GiB per card for KV cache. That is why eight H100s fail: at 80 GB each, the weights alone would fill the cards.
Workstations are mostly out for now. SGLang documents a pair of DGX Station machines serving MXFP4 with experts backed by host memory, capped at a 32K context, and nothing smaller. As of this writing, no GGUF or Ollama build of Ergo exists. llama.cpp support sits in an unmerged pull request tested on eight RTX PRO 6000 cards, and Apple Silicon has no MLX port. Our guides on how much VRAM a model needs and the best GPUs for local LLMs cover models that do fit at home, and our open source LLM comparison lists the download size and memory floor of every open-weight family next to Ergo. For a sense of what CPU offload does to a model this size, our Kimi K3 local run managed 0.10 tokens per second on four A100s with experts in system RAM. If you need Ergo today without eight datacenter GPUs, use it through Bedrock, which our Ergo on Bedrock guide sets up with Claude Code, Codex and OpenCode.
Prepare the GPU node
Ergo support is not in a released vLLM yet. The model pull request is still open, so the project publishes a dedicated container image, vllm/vllm-openai:amazon-fmr-ergo, with a development build of vLLM and the Ergo parsers inside. We picked it as the template image on a GPU cloud, and every command below runs from a shell inside that container. On your own host, start the image with the GPUs and a /models volume attached and a shell as the entrypoint. These are the specs of the node we rented:
- 8x NVIDIA H200 141 GB, driver 595.91.07, CUDA 13.2
- 192 vCPUs and 2 TB of system RAM
- 900 GB of local disk, enough for MXFP4 plus the draft
- A 9 Gbps network link
The network link matters more than people expect. The cheapest 8x H200 listing we found, at $29.14 an hour, sat behind a 97 Mbps uplink, which turns a 626 GB download into more than 14 hours while the GPUs bill. We paid $42.11 an hour for a node with a 9 Gbps link instead, and it was the cheaper choice by a wide margin. H200 NVL nodes were listed from $26.67 an hour, but they are the PCIe variant with NVLink only between bridged groups of two or four cards, so the preset’s eight-way expert traffic crosses PCIe. The recipe’s H200 preset was not qualified on NVL and we did not test it. Check the GPUs before downloading anything:
nvidia-smi --query-gpu=index,name,memory.total,driver_version --format=csv
All eight cards should report about 140 GB each:
index, name, memory.total [MiB], driver_version
0, NVIDIA H200, 143771 MiB, 595.91.07
1, NVIDIA H200, 143771 MiB, 595.91.07
2, NVIDIA H200, 143771 MiB, 595.91.07
3, NVIDIA H200, 143771 MiB, 595.91.07
4, NVIDIA H200, 143771 MiB, 595.91.07
5, NVIDIA H200, 143771 MiB, 595.91.07
6, NVIDIA H200, 143771 MiB, 595.91.07
7, NVIDIA H200, 143771 MiB, 595.91.07
A card missing from this list, or one showing less memory, means a hardware or passthrough problem on the host, and no vLLM flag will work around it.
Download the Ergo weights
The repos are not gated, so no Hugging Face token or license click-through is needed. The image ships the hf CLI with the Xet backend, which pulls shards in parallel. Download the MXFP4 checkpoint and the DSpark draft model into a local directory, and time it so you know what a restart from scratch costs:
mkdir -p /models
time hf download Amazon-FMR/Ergo --local-dir /models/Ergo
hf download Amazon-FMR/Ergo-dspark --local-dir /models/Ergo-dspark
The 77 files took 8 minutes 40 seconds, a sustained 1.2 GB per second:
real 8m40.026s
user 27m58.635s
sys 24m17.942s
On disk that is 584 GiB for Ergo and 6.1 GiB for the draft. At 1 Gbps the same transfer takes about an hour and 25 minutes, so on a slower node start the download before anything else and do your reading while it runs.
Serve Ergo with vLLM on 8x H200
vLLM’s Ergo recipe has a tuned preset for this hardware, h200_dep2_tp4. It splits the node into two data-parallel ranks of four GPUs each for attention, while the routed experts spread across all eight cards (expert parallel 8) on the Marlin MoE backend. Each rank gets its own API server, on ports 8100 and 8101, and a router in front balances sessions between them. Save the launch command as a script so you can restart it the same way:
vim /root/serve-ergo.sh
This is the recipe’s H200 command with two changes: local paths instead of Hugging Face IDs, and --served-model-name ergo so clients can use a short name:
#!/bin/bash
export VLLM_USE_RUST_FRONTEND=1
export VLLM_ENGINE_READY_TIMEOUT_S=1800
export NCCL_CUMEM_ENABLE=1
export VLLM_ALLREDUCE_USE_SYMM_MEM=0
vllm serve /models/Ergo \
--served-model-name ergo \
--max-model-len 1048576 \
--override-generation-config '{"max_new_tokens": 131072}' \
--enable-prefix-caching \
--async-scheduling \
--enable-expert-parallel \
--port 8100 \
--tensor-parallel-size 4 \
--data-parallel-size 2 \
--data-parallel-size-local 2 \
--data-parallel-multi-port-external-lb \
--moe-backend marlin \
--all2all-backend allgather_reducescatter \
--attention-backend FLASHINFER \
--max-num-seqs 32 \
--enable-auto-tool-choice \
--tool-call-parser ergo \
--tool-strict-level function \
--reasoning-parser ergo \
--speculative-config '{"method":"dspark","model":"/models/Ergo-dspark","num_speculative_tokens":8,"attention_backend":"FLASH_ATTN","draft_sample_method":"probabilistic","rejection_sample_method":"block"}' \
--draft-kv-pool
The parser flags are what make Ergo usable by agents. --reasoning-parser ergo moves the model’s thinking into a separate reasoning field, and --tool-call-parser ergo turns its tool-call tokens into OpenAI-style tool_calls. Our vLLM cheat sheet explains the other serve flags. The speculative config loads the DSpark draft, which proposes eight tokens at a time for Ergo to verify. Start it in the background and follow the log:
chmod +x /root/serve-ergo.sh
nohup /root/serve-ergo.sh > /root/serve.log 2>&1 &
tail -f /root/serve.log
Our engine took 6 minutes 28 seconds from launch to ready. Loading the weights took only about 20 seconds per rank, because the files were still in the page cache from the download. The other five minutes went to profiling, allocating the KV cache, compiling and warming up. These are the lines to look for:
(Worker_DP0_TP0_EP0 pid=4832) INFO 12-01 22:50:51 [model_runner.py:459] Model loading took 82.41 GiB memory and 22.335082 seconds
(Worker_DP0_TP0_EP0 pid=4832) INFO 12-01 22:51:50 [gpu_worker.py:846] Available KV cache memory: 50.82 GiB
(EngineCore_DP0 pid=4458) INFO 12-01 22:55:49 [kv_cache_utils.py:1138] GPU KV cache size: 2,025,493 tokens, Maximum concurrency for 1,048,576 tokens per request: 1.93x
(EngineCore_DP0 pid=4458) INFO 12-01 22:55:49 [core.py:450] init engine (profile, create kv cache, warmup model) took 298.12 s (compilation: 36.79 s)
(RustFrontend pid=4459) INFO 12-01 22:55:51 [server/src/lib.rs:375] OpenAI server is ready to accept requests bind_address="0.0.0.0:8100" scheme="http" model="ergo"
Read the KV line before you plan capacity. Each rank holds about two million tokens of cache, enough for 1.93 conversations at the full 1M-token context. Ergo can afford that because only 16 of its 64 layers keep a full-length cache; the other 48 use a 512-token sliding window. In practice your limit is --max-num-seqs 32 per rank long before memory runs out.
Two things in the log look alarming and aren’t. FlashInfer prints [MNNVL] FABRIC handles failed on this host; using POSIX file descriptors instead with CUDA_ERROR_NOT_PERMITTED for every rank. That only means the container has no IMEX channel for multi-node NVLink, and it falls back on its own. The five-minute warmup also shrinks on later starts: when we relaunched on the same node (without the draft model), initialisation took 44 seconds because the torch.compile cache from the first start was reused. Run pkill -f "vllm serve" from a local shell to stop it. Inside a remote one-liner that contains the same text, it kills your SSH session too. Our router died with the engine too, so after any restart check curl localhost:8000/v1/models and start the router again if it doesn’t answer.
Start the router in front of both ranks
With two API servers on 8100 and 8101 you need something on port 8000 that sends each session to one rank and keeps it there, so later turns hit that rank’s prefix cache. The recipe page’s rendered router command lists only http://localhost:8100, which leaves the second rank and four of your GPUs idle. Use the version from the preset’s runbook, which names both workers. The sticky_least_loaded policy needs vllm-router 0.1.17 or newer:
pip install "vllm-router>=0.1.17"
nohup vllm-router --worker-urls http://localhost:8100 http://localhost:8101 --host 0.0.0.0 --port 8000 --policy sticky_least_loaded --request-timeout-secs 14400 --disable-retries --worker-startup-timeout-secs 1800 > /root/router.log 2>&1 &
The router keys sessions on an X-Session-ID header, so send one per conversation from your client. Without it, requests are still served but lose the cache affinity. Confirm the model is reachable through the router:
curl -s localhost:8000/v1/models
The model shows up under its served name with the full context length:
{"object":"list","data":[{"id":"ergo","object":"model","created":1796166437,"owned_by":"vllm-frontend-rs","root":"/models/Ergo","parent":null,"max_model_len":1048576}]}
Nothing on this stack asks for a key, and all three listeners bind to every interface. The router uses the --host 0.0.0.0 above, which we needed so a second machine could reach it, and the log’s bind_address="0.0.0.0:8100" shows the engine ranks do the same. For anything longer than a test, add --host 127.0.0.1 to the vllm serve command and the router. Then reach port 8000 through an SSH tunnel such as ssh -N -L 8000:127.0.0.1:8000 [email protected] (add -p with the SSH port a GPU cloud gives you) or an authenticating reverse proxy, or at minimum firewall ports 8000, 8100 and 8101. vllm serve also takes --api-key if clients must connect directly. Our rented node mapped 8000 to a public port by default, which is the opposite of what you want.
Test tool calling and reasoning
A coding agent is useless if tool calls come back as raw text, so you should test that before anything else. Send one request with a single function defined:
curl -s localhost:8000/v1/chat/completions -H "Content-Type: application/json" -H "X-Session-ID: tooltest-1" -d '{"model":"ergo","max_tokens":8192,"messages":[{"role":"user","content":"What is the disk usage of /var/log on web01?"}],"tools":[{"type":"function","function":{"name":"run_command","description":"Run a shell command on a host","parameters":{"type":"object","properties":{"host":{"type":"string"},"command":{"type":"string"}},"required":["host","command"]}}}]}' | python3 -m json.tool
A working parser returns finish_reason: "tool_calls" with clean JSON arguments, and the reasoning arrives as readable text in its own field:
"message": {
"role": "assistant",
"content": null,
"tool_calls": [
{
"id": "call_8968d31899744811af2b1cdb",
"type": "function",
"function": {
"name": "run_command",
"arguments": "{\"host\": \"web01\", \"command\": \"df -h /var/log\"}"
}
}
],
"reasoning": "My plan is to respond to the user asking for the disk usage of /var/log on web01. Should I inspect the environment, which likely has remote host access via ssh? The only tool I have is run_command, with a host parameter and a command parameter. Should I determine the host? Perhaps web01 is an accessible host alias? I need to execute df -h /var/log, perhaps ssh web01? I need to use the tool. I should be careful not to assume. The user expects a direct check. I have the run_command tool with a host parameter. Could I run it on host web01? The schema's host string likely means the target host. I can invoke the command \"df -h /var/log\" with host \"web01\". I'll do that."
},
"finish_reason": "tool_calls",
That raw reasoning text is something Bedrock does not give you by default. Through Bedrock’s Converse API the same model’s reasoning arrives as redacted bytes, and Chat Completions returns only a token count; Bedrock lists a summarized-reasoning option, but not the raw text. Self-hosting is how you read exactly why Ergo did what it did, which is worth a lot when you’re debugging an agent that keeps picking the wrong tool.
Measure single-user speed
If you’re one developer driving one agent, this is the number that matters. We sent a single streaming request three times with fresh sessions, a coding prompt asking for a duration parser plus five pytest tests. Each run produced 2,000 to 4,700 tokens of reasoning plus answer, and the first token arrived in about a tenth of a second or less:
| Run | Output tokens | Total time | Time to first token | Decode speed |
|---|---|---|---|---|
| 1 | 2,229 | 14.2 s | 0.10 s | 158 tokens/s |
| 2 | 4,155 | 23.4 s | 0.09 s | 178 tokens/s |
| 3 | 4,674 | 27.9 s | 0.08 s | 168 tokens/s |
About 170 tokens per second is fast enough that a reasoning model feels responsive, since a 4,000-token answer including its thinking arrives in under half a minute. It is still roughly half of what the same prompt got from Bedrock, where we measured 280 to 400 tokens per second end to end on Amazon’s Trainium fleet. Amazon tuned Ergo for its own chips, and a rented H200 node does not close that gap even with the DSpark draft model enabled.
We also pointed OpenCode at the node with an OpenAI-compatible provider and gave it the job from our Bedrock tests: fix a ten-line Python module with two failing pytest cases. It ran the tests, edited the file, re-ran them and finished in 12.6 seconds, against 20.6 seconds for the identical task on Bedrock. That is one run each, and since Bedrock decodes faster, the difference most likely comes from per-request overhead and time to first token on an idle node rather than raw speed. The provider block we used is below; we pointed baseURL at the node’s address, and through an SSH tunnel it becomes the local port:
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"ergo-vllm": {
"npm": "@ai-sdk/openai-compatible",
"name": "Ergo on vLLM",
"options": {
"baseURL": "http://127.0.0.1:8000/v1"
},
"models": {
"ergo": {
"name": "Ergo (self-hosted)",
"limit": { "context": 1048576, "output": 32768 }
}
}
}
},
"model": "ergo-vllm/ergo"
}
Save it as opencode.json in the project folder, or merge the provider into ~/.config/opencode/opencode.json, and OpenCode picks Ergo as the default model.
Benchmark Ergo under concurrent load
To see how the node holds up for a team, we ran vllm bench serve through the router at five concurrency levels, each request carrying a 4,000-token prompt and generating exactly 1,000 tokens. Random prompts are the standard vLLM load test, but they are hard on speculative decoding because the draft model can’t guess random text. Treat these numbers as a floor for real coding traffic:
vllm bench serve --backend openai --base-url http://localhost:8000 --endpoint /v1/completions --model ergo --tokenizer /models/Ergo --dataset-name random --random-input-len 4000 --random-output-len 1000 --ignore-eos --max-concurrency 16 --num-prompts 48
We changed --max-concurrency per run and sent three times as many prompts as the concurrency level (eight at the lowest). With the DSpark draft enabled, as in the recipe, the node produced:
| Concurrent requests | Requests sent | Output tokens/s (node) | Median time per token | Median first token | p99 first token |
|---|---|---|---|---|---|
| 1 | 8 | 92 | 8.3 ms | 538 ms | 559 ms |
| 4 | 12 | 199 | 17.7 ms | 549 ms | 987 ms |
| 16 | 48 | 405 | 32.7 ms | 616 ms | 2,644 ms |
| 32 | 96 | 630 | 41.6 ms | 663 ms | 4,571 ms |
| 64 | 192 | 802 | 65.5 ms | 1,606 ms | 11,013 ms |
Throughput keeps climbing all the way to 64 requests, the point where both ranks hit their --max-num-seqs 32 limit, but each user pays for it. At 16 concurrent requests every user still gets about 30 tokens per second (33 ms per token), which is a comfortable team size for interactive agents. At 64 the per-user rate drops to about 15 tokens per second and the slowest first tokens take 11 seconds, which is fine for batch jobs and painful for anyone waiting at a prompt. DSpark’s mean acceptance length was 3.4 tokens at one user and 1.6 to 1.9 under load. Random text is hard to predict, so real code completions should do somewhat better than this table.
Compare self-hosting with Bedrock on cost
Self-hosting Ergo does not save money at these prices. At 64 concurrent requests the node produced 802 output tokens and 3,214 prompt tokens per second, which is 2.9 million output and 11.6 million input tokens an hour. At the global profile’s prices Bedrock would charge $8.67 for that output and $11.57 for that input, about $20.24 (or $22.26 on the US-only profile), before any prompt-cache discount. The node cost $42.11 for the same hour. Even the cheapest 8x H200 NVL offer we saw, at $26.67 an hour, loses to Bedrock running flat out, and real agent traffic is nowhere near flat out.
Prompt caching helps both sides differently. Coding agents resend the same repository context every turn. Bedrock bills that cached input at $0.03 per million instead of $1.00. vLLM’s prefix cache, enabled in our serve command and the reason the router pins sessions, skips recomputing it, which buys back GPU time rather than dollars. Our random-prompt benchmark never hit that cache, so real agent traffic would get more out of the node than the table shows, but not enough to close a 2x gap. Run Ergo yourself when the reason is control, not cost:
- Code or data that may not leave your network or your cloud account
- Raw reasoning text for debugging agents, which Bedrock does not return
- Fine-tuning on your own codebase, which the license allows
- Fixed GPUs you already own and would otherwise leave idle
The license is generous for all four. It permits commercial use, modification and redistribution. The only cap applies to a company running a model-as-a-service business with more than $20 million in total gross revenue over any 12 months, which needs a separate agreement before offering Ergo to customers. For everyone else, use Bedrock for daily work and rent a node like this one when you need to see inside the model. Our SGLang vs vLLM comparison is worth reading before you commit to an engine on Blackwell hardware, where both can serve Ergo.