Four DGX Sparks serve my 4-bit quant of apex-flash-1 at about 105 tokens a second for one coding request at a time, with a context window of one million tokens.
That matters when your code or your findings cannot leave the building. apex-flash-1 is a model that Cantina Security built for security work, and it is a free download on Hugging Face. It is far too big for one DGX Spark, which is a small AI computer from NVIDIA that fits on a desk.
Three measurements stand behind that sentence, all on hardware I own: the quant that fits, its speed under two loads, and how well it codes.
A 4-bit quant makes the model fit on four machines
The model did not fit on one machine, so the first job was a quant. I quantized it, which means I stored its numbers less precisely until it fit on four DGX Sparks. The quant I kept stores the expert sub-networks at 4 bits. Building it took at least seven quants of apex-flash-1 on those four machines.
One request gets about 105 tok/s on four machines and 67 on two
A quant that fits is only useful if it answers fast enough to work in, so speed came next. Speed depends on how many requests run at once, and I measured both ends, on my 203 coding tasks and on short requests.
| Machines | Requests at once | Speed of each request | Context window |
|---|---|---|---|
| 4 | 1, coding tasks | 103 to 108 tok/s, median | 1 million tokens |
| 4 | 8, short requests | about 33 tok/s | 1 million tokens |
| 2 | 1, coding tasks | 67 to 68 tok/s, median | 1 million tokens |
The middle of that range, about 105 tok/s, is the figure in the title. With eight short requests at once each request is slower, and the four machines write more in total.

- Four DGX Sparks serve the quant with a context window of 1 million tokens.
- With one coding request at a time, four machines answer at 103 to 108 tok/s, the median on my coding tasks.
- With eight short requests at once, each request gets about 33 tok/s, and the four machines write more in total.
- Two DGX Sparks answer one coding request at a time at 67 to 68 tok/s, the median, with the same window.
See what 105, 67 and 33 tok/s look like
A speed in tok/s is hard to picture, so the box below writes sample text at the three speeds of the table.
The demonstration needs JavaScript. The three speeds of the table are:
- 105 tok/s: 4 DGX Sparks, 1 request
- 33 tok/s: 4 DGX Sparks, 8 requests at once
- 67 tok/s: 2 DGX Sparks, 1 request
The quant solves about 92 in every 100 of my coding problems
Speed means nothing if the quant codes badly, so the last test was coding. On four DGX Sparks it solves about 92 in every 100 of my 203 coding problems, on average over five context sizes. For scale, Opus 4.6 solved about 96% of the coding problems through Anthropic's API, which is a different setup. Two DGX Sparks serve the same quant with the same window at a lower speed. I also compared what the two setups solve. At about 900,000 tokens, on a sample of 60 of the 203 problems, two machines solved 55 and four solved 58.

- The last test was coding, on my 203 coding problems.
- On four DGX Sparks the quant solves about 92 in every 100, on average over five context sizes.
- On a different setup, Opus 4.6 solved about 96% of the coding problems through Anthropic's API.
- At about 900,000 tokens, on a sample of 60 of the 203 problems, two machines solved 55 and four solved 58.
The full video is "Fitting apex-flash-1 on DGX Sparks" on the Hacker Hermanos channel.