ARGONAUT LABS

ARGODRIVE DS4 / AMAZON ERGO

Amazon Ergo on a MacBook Pro: 1.1T parameters at 2.4 tokens per second.

Amazon’s released 4-bit Ergo weights occupy 583 GiB. We ran them on a MacBook Pro M5 Max with 128 GB of unified memory by reading experts from NVMe as the model selected them.

With the expert cache fixed at 56 GiB, adding two Thunderbolt 5 SSDs took generation from 1.40 to 2.32–2.33 tok/s. With the same drives and a 60 GiB cache, the two cold runs reached 2.40 and 2.41 tok/s.

Two silver, finned SSD enclosures cabled to a closed MacBook Pro.
The two ribbed enclosures each hold a WD_BLACK SN8100. The MacBook’s internal SSD supplies the third read path. Photo by Argonaut Labs.
Tokens per second · 3 December 2026 · MacBook Pro M5 Max, 128 GB, Apple Metal · one chat from a cold start, greedy · each figure measured twice
Storage setupPrompt tok/sDecode tok/s
The internal SSD2.51.40
The internal SSD and one Thunderbolt NVMe drive3.31.90–1.91
The internal SSD and two Thunderbolt NVMe drives4.12.32–2.33
The same three drives, 60 GiB of experts in memory4.12.40–2.41
One token whose experts are already in memory—5.4

The prompt is 65 tokens and the reply 47, the same chat in every run. The first three rows keep 56 GiB of experts in memory, which is the default on this machine. 60 GiB was the most the machine could lock; with 48 GiB the same three drives gave 2.20. The last row is not a run of the chat: it is a single token, 0.19 seconds, once nothing has to be read. Every run gave the same output and the same hash of the computed streams.

On two RTX PRO 6000: 7.0 tok/s (evening update).

The same engine, ported to CUDA, runs Ergo on a workstation with two RTX PRO 6000 Blackwell Max-Q cards (96 GB each), with the model on a RAID 0 of three PCIe 5 NVMe drives. The cards hold the 39 GiB every token needs and about 147 GiB of experts between them; the rest are read from the drives as the router picks them, as on the Mac. In the fastest mode both cards work on every token: each computes its half of the rows of every dense product and holds only those rows, and each expert lives on one of the two cards.

Tokens per second · 3 December 2026 · two RTX PRO 6000 Blackwell Max-Q · the same chat as on the Mac · cold start / the same request repeated in the same process
SetupPrompt tok/sDecode tok/s
One card6.7 / 7.02.9 / 3.1
Two cards, the layers split between them6.7 / 8.55.1 / 5.7
Two cards, both on every token6.7 / 8.55.3 / 6.0
The same, a second copy of the model on a fourth NVMe drive, and the model’s drafter8.3 / 10.76.1 / 7.0
A 2,947-token prompt, two cards / one card76.0 / 51.5—

The prompt is 65 tokens and the reply 47. A repeated request still reads from the drives: it passes more experts through the cards than they can hold. Every mode prints the same tokens and the same hash of the computed streams as one card does. The drafter is Amazon’s Ergo-dspark; the model checks its proposals in one pass and keeps only what plain decoding would have produced, and it submits only as many drafts as their expected value justifies. Reading is still 75–88 % of a generated token; the cards need 7–30 ms of it. The best setup reads 3.8 GiB from the drives for each token it writes.

A 583 GiB model on a 128 GB laptop.

Amazon released Amazon-FMR/Ergo on 1 December 2026. The engine reads the 65 safetensors shards as published. Each token uses 55 billion of the model’s 1.1 trillion parameters.

Ergo has 64 layers. 63 of them have 256 routed experts and one shared expert, and a token uses 8 of the 256. The routed experts are 535 GiB of the 583, 34 MiB each. So a token touches a small part of the file, and which part is not known until each layer’s router has chosen.

The engine keeps in memory the 39 GiB that every token needs, the attention weights and the shared experts among them. It does not copy them. The GPU works on the mapped files, and their pages are locked so that the system does not give them away between tokens.

A routed expert is read from its shard when a router first picks it, and then it stays in a pool in memory. The pool is 56 GiB by default on this machine, and it is locked too. When it is full, the expert that gives up its place is chosen by how often and how recently it was used.

The pool holds a small part of the experts, so most tokens need some that are not in it. On three drives a generated token reads 206 to 235 of its 504 experts from disk, depending on the size of the pool. That is about 7 GiB for every token, and it is why the drives decide the speed.

What makes it faster.

The first measurement was 0.093 tokens per second, with most of the model on a USB SSD. This is how the same test moved from there.

The same test after each change · writing the reply, tokens per second
ChangeTokens per second
Most of the model on a USB SSD0.093
All the shards on the internal drive0.75–0.83
+ a GPU keep-alive1.02
+ the experts in memory computed while the others are read1.12
+ a larger pool, and a better rule for which expert leaves it1.26
+ reader threads for each drive, and the prompt handed to the GPU in batches1.36–1.38
+ a second drive1.87
+ a third drive2.16–2.26
+ 56 GiB of experts in memory2.32–2.33
+ 60 GiB of experts in memory2.40–2.41

Several drives read a layer’s experts together. Each further drive holds a copy of the shards. The reads for a layer are one list of pieces, every drive has reader threads of its own, and each thread takes the next piece from the list when it is free. So each drive reads as fast as it can at that moment, no rates are set, and the drives finish together. Measured alone with scattered reads, the internal drive gives 12.8 GiB/s and each WD_BLACK SN8100 in its Thunderbolt 5 enclosure 6.6 GiB/s. The three together give 26 GiB/s.

The GPU does not wait for a layer’s last read. The shared expert and the experts already in memory are computed while the others are being read, and each expert that had to be read is computed as soon as it has arrived.

A GPU that gets its work in pieces, with waits between them, is taken for idle by its power manager, which lowers its clocks. A small job that does only arithmetic, on a queue of its own, keeps the clocks up. This keep-alive comes from our Kimi K3 engine on Metal. It took the test from 0.75–0.83 to 1.02 tokens per second.

The prompt is processed a layer at a time for all its tokens. Token by token, the same experts were read again and again as they passed through the pool. A layer at a time, an expert is read once for all the tokens that use it. Each token’s arithmetic is unchanged, and both orders give the same hash. The prompt is read at 2.5 tokens per second from one drive, 3.3 from two and 4.1 from three.

The engine can stay up between the turns of a chat. It keeps the experts in memory and the attention state of the positions it has computed, and for a new message it computes only the new positions. In a two-turn chat on two drives, the 18 new prompt tokens of the second message took 8.3 seconds with the 112 positions before them kept. A fresh engine given the same conversation took 28.6 seconds, after 15 seconds of starting up. The tokens and the hash were the same.

Where a token’s time goes.

On three drives a generated token spends 70 to 75 % of its time waiting for reads and 18 to 21 % on the GPU. A token whose experts are all in memory takes 0.19 seconds, which is 5.4 tokens per second. That is what the engine takes when nothing has to be read.

So more memory for experts means fewer reads and a faster reply. With 48 GiB of experts in memory the three drives gave 2.20 tokens per second, with 56 GiB 2.32 to 2.33, and with 60 GiB 2.40 to 2.41. 60 GiB was the most this machine could lock.

Faster reading does the rest: 1.40 from the internal drive, 1.90 to 1.91 with one Thunderbolt drive beside it, 2.32 to 2.33 with two.

Tried and left out.

Three ideas were measured and are not in the engine.

  • A list of hot experts made beforehand. A fixed list, made from another chat, kept 36 to 37 % of a token’s experts in memory. The pool that learns during the chat keeps 46 to 51 %.
  • Reading a layer’s experts ahead of its router. On one drive, a guess made before the layer’s attention names 77 % of the experts the layer then needs, and 68 % of what it reads is used. The drive is the limit here, so a wasted read costs its full time and a right one gains little.
  • The model’s own drafter. The drafter proposes 8 tokens at a time, and the model accepts 4.6 of them on average. But on this machine checking 8 tokens at once reads more from the drives for each token. In a replay of a chat’s routes it read 9.4 to 9.7 GiB a token against 8.3 to 9.1 one token at a time, even with every drafted token accepted. A drafter saves GPU time, not reads. It is for a machine that holds the experts in memory.

What is not built yet, and what is not checked.

  • The engines are separate programs so far, ds4-ergo on Apple Metal and ds4-ergo-cuda on NVIDIA cards. They are not yet a model family of the main ds4 program.
  • The drafter is in the CUDA engine only.
  • Both engines are checked against our own CPU reference, which follows the published transformers implementation; we have not compared them with a run of Amazon’s own implementation. On one test reply the Metal engine parts from the reference at a word where the reference’s choice is clear (it ranks the Metal engine’s word fourth); the CUDA engine agrees with the reference there. We are looking into it.
  • These figures are one short chat on one machine. The speed of a long prompt is not measured.

Run it.

You need a Mac with Apple silicon and 128 GB of memory, the Xcode command line tools, Python 3, and the 4-bit build of the model from Hugging Face (Amazon-FMR/Ergo, 583 GiB) on a fast drive.

make ergo-ref ds4-ergo
python3 tools/ergo/ergo_chat.py MODEL_DIR "What is the capital of France?"

On Linux with NVIDIA cards, make ds4-ergo-cuda builds the CUDA engine, and --engine ./ds4-ergo-cuda points the chat command at it; the two-card modes and the drafter are in the README’s CUDA section.

MODEL_DIR is the directory with the 65 shards and the tokenizer. Add --mirror DIR for a second copy of the shards on another drive. The reply is printed as it is generated. The commands that work with token ids, every switch and all the measurements are in the README.

If you are writing about this.

You are welcome to. A few things will keep the piece accurate.

  • Give the speed its machine and its drives. 2.4 tokens per second is a MacBook Pro M5 Max with 128 GB and three NVMe drives, on 3 December 2026. From the internal drive alone it is 1.40.
  • It is a short chat from a cold start. The prompt is 65 tokens and the reply 47. A long prompt has not been measured.
  • The files are the released ones. It is the 4-bit build as published, read where it is. Nothing is converted.
  • 5.4 is not a chat speed. It is one token whose experts are already in memory.
  • This is our engine, not Amazon’s. Its tokens agree with our CPU reference, which follows the published transformers implementation. It has not been compared with a run of Amazon’s own.

Argonaut Labs ran Amazon Ergo, a mixture-of-experts model of 1.1 trillion parameters, on a MacBook Pro M5 Max with 128 GB of memory. Its engine on Apple Metal, built on Salvatore Sanfilippo’s ds4, reads the released 4-bit files (583 GiB) as they are: 39 GiB stay in memory, and the routed experts are read from NVMe as the router picks them. On 3 December 2026 a chat reply was generated from a cold start at 2.40 to 2.41 tokens per second with the internal SSD and two Thunderbolt 5 NVMe drives, and at 1.40 from the internal SSD alone. Every run gave the same output. The engine is a separate Metal program so far, with no CUDA port and no drafter.

A paragraph you can use as it stands. To cite the page: Argonaut Labs, “Amazon Ergo on a MacBook Pro: 1.1T parameters at 2.4 tokens per second”, 3 December 2026, https://argonautlabs.ai/research/ergo-m5-max.html

Download the hardware photo · Credit: Argonaut Labs.

For questions and corrections, open a discussion on GitHub.

SOURCES

Where each figure comes from.

This engine builds on Salvatore Sanfilippo’s ds4; ds4’s acknowledgements to llama.cpp and GGML are preserved. The model and its drafter are Amazon’s work. Argonaut Labs develops the Ergo engine and the storage experiments with assistance from Claude and ChatGPT, with human-led testing and review.