M5 Ultra 512 - CVQ - Amazon Ergo 1.1T
Amazon Ergo 1.1T-A55B in CVQ (Ciru Vector Quantization), sized to run on one Apple M5 Ultra with 512 GiB of unified memory.
The expert weights are stored at 3.252 bits per weight instead of the native 4.25. The whole model, a 288K-token context and the speculative drafter fit in 454 GiB of resident memory, with 53 GiB left for macOS. On the latest engine build it decodes at about 20 tok/s on one stream, up to 32 tok/s with lossless speculative decoding, and prefills a 32K prompt at 872 tok/s.
- Why CVQ, with charts: CVQ launch page
- The engine that runs it: Ciru RCS setup guide and downloads
- Smaller sibling: M5 Ultra 256 - CVQ - Inkling 2 Mini
CVQ is a format for one machine and one engine. These weights load in Ciru RCS on Apple M5 Ultra. They do not load in Transformers, MLX or llama.cpp.
At a glance
| Source model | Amazon-FMR/Ergo at revision 5700ec7d |
| Parameters | 1.1 trillion (64 layers, 256 experts per layer, 8 active per token) |
| Expert precision | 3.252 bits per weight (native release: 4.25) |
| Download size | 453.74 GiB in 65 .safetensors shards |
| Resident memory | 454.06 GiB with 288K context and drafter loaded |
| Headroom on 512 GiB | 53.4 GiB |
| Context | 294,912 tokens |
| Minimum hardware | Apple M5 Ultra, 512 GiB |
Benchmarks
Measured on one Apple M5 Ultra (80-core GPU, 512 GiB) running Ciru RCS. Updated 3 December 2026.
There are two columns because there are two engine builds reading these same weights. The first qualified build passed the full qualification suite. The latest build is a day of engine work newer and still in qualification.
Speed and serving
| Measurement | First qualified build | Latest build |
|---|---|---|
| Decode, one stream | 13.8 to 14.4 tok/s | 20.0 to 20.9 tok/s |
| Decode, one stream, speculative | 17.8 to 23.6 tok/s | 20.8 to 32.3 tok/s |
| Decode, 4 streams | 29.73 tok/s | 45.73 tok/s |
| Decode, 8 streams | 34.77 tok/s | 56.91 tok/s |
| Prefill, 32K prompt | 509.9 tok/s | 871.8 tok/s |
| Prefill, 265K prompt | 340 to 346 tok/s | not re-run yet |
| Prefix cache, 3 interleaved sessions | 98.5% cached, 0.69 s to first token | 98.5% cached, 0.62 to 0.64 s |
| Speculative output vs plain output | bit-identical (matching SHA-256) | bit-identical on all 5 test prompts |
| Resident memory | 454.06 GiB at 288K context | 446.9 GiB at 64K context |
Speculative decoding uses Amazon's drafter, Amazon-FMR/Ergo-dspark, which is a separate download.
Accuracy against Amazon's native 4-bit release
The reference is the full 64-layer model with Amazon's native MXFP4 weights and a BF16 KV cache. Scores are teacher-forced over 100 positions.
| Test | First qualified build | Latest build |
|---|---|---|
| Mean KL divergence | 0.02443 (p95 0.089, max 0.126) | 0.02471 (p95 0.078, max 0.165) |
| Perplexity | 3.2816 → 3.2997 (+0.55%) | 3.2816 → 3.3542 (+2.21%) |
| Top-1 / top-10 token agreement | 93.0% / 100.0% | 91.0% / 100.0% |
| Math reasoning | 100% top-1 | 100% top-1 |
| Tool calling | 100% top-1 (KL 0.03581) | 100% top-1 (KL 0.03495) |
| Plain decode path, one token at a time | 100% top-10 (KL 0.03794) | 100% top-1 (KL 0.03313) |
| 2K needle | exact recall | exact recall |
| 265,066-token needle at 37% depth | pass | not re-run yet |
| 265,064-token needle at 73% depth | pass | not re-run yet |
The latest build is faster everywhere it was measured. Its perplexity change on the 100-position set is larger than the first build's, while mean KL divergence is level. Both builds read the files in this repository unchanged, so the weights do not change when the engine does.
What is in this repository
config.json
cvq_pack_plan.json which 16 layers store their output projection at 4.125 bits
codebook256.u8
SHA256SUMS one line per shard
model.safetensors.index.json
model-00001-of-00065.safetensors … model-00065-of-00065.safetensors
tokenizer.json, tokenizer.model, tokenizer_config.json, chat_template.jinja
LICENSE.md Amazon Ergo Open-Weights License
All 65 shards are listed in SHA256SUMS.
Verify a download:
shasum -a 256 -c SHA256SUMS
The format on disk
Everything is standard .safetensors. Nothing is encrypted or obfuscated.
| Tensor | Storage |
|---|---|
cvq.codebook256 |
uint8 [256, 4]. One 256-entry codebook of 4-weight shapes, shared by every layer. |
*.up_proj.cvq_vq4 |
12 bytes per 32 weights: eight 8-bit codebook indices and 32 sign bits. |
*.up_proj.cvq_tiers |
1 byte per 64 weights: two 4-bit gain tiers. |
*.up_proj.cvq_sc |
float32 scale per row. |
*.down_proj.cvq_vq4_pk |
200 bytes per 512 weights (3.125 bits per weight). 47 layers. |
*.down_proj.cvq_g4_pk |
264 bytes per 512 weights (4.125 bits per weight). The 16 most sensitive layers. |
*.down_proj.cvq_sc |
float32 scale per neuron. |
| Attention, shared experts, embeddings, output head | Lossless BF16. |
The 16 layers that get the extra bit are 5, 9, 10, 16, 18, 19, 20, 24, 25, 26, 38, 40, 42, 44, 50 and 60. That is 12.7% of the expert matrices and it removes 28.3% of the total quantization error.
Running it
- Get Ciru RCS from the setup guide and downloads page. You need a build with CVQ support; the guide says which builds have it.
- Download the weights:
hf download jcbtc/M5-Ultra-512-CVQ-Amazon-Ergo-1.1T --local-dir ~/Models/M5-Ultra-512-CVQ-Amazon-Ergo-1.1T
- Load the model in Ciru RCS as the guide describes. Ciru RCS serves an OpenAI-compatible API on
http://127.0.0.1:18753/v1.
License and attribution
This is a quantized copy of Amazon Ergo. It is distributed under the Amazon Ergo Open-Weights License, including its Acceptable Use Policy. The tokenizer and chat template are Amazon's, unchanged. Only the storage format of the weights was changed.
Quantized and published by Ciru. Ciru is not affiliated with Amazon.