Apex-3
The next peak of intelligence. A 21B mixture-of-experts chat model, trained from scratch and now released.
- Status
- Released · Hugging Face, 2026-10-28
- Parameters
- 20.99B total · 3.36B active
- Architecture
- MoE, 64 experts top-4 + 1 shared · 30 layers
- Training
- 70B pretraining tokens, then SFT → DPO → RLVR
- Mode
- No-think chat
- Context
- 8,192 tokens
- Hardware
- GH200, up to three via DiLoCo
We’re releasing Apex-3, the first model in our Apex 3 family. It is a 21-billion-parameter mixture-of-experts chat model, trained from scratch on GH200 superchips, with its weights, code and training logs open.
Apex-3 is the largest model we have trained, and the first whose every step was open while it learned. It has 20.99B parameters, of which 3.36B are active for each token, and it started from no external weights. We pretrained it on 70B tokens of real data with a SuperBPE tokenizer, then post-trained it with SFT, DPO and RLVR. It answers directly, without a reasoning block. Expect a capable small model for math word problems, short code and everyday questions, not a frontier model. The weights are on Hugging Face under Apache 2.0.
The plan was 1.1T pretraining tokens. We shortened the run to 70B, 59B at a constant learning rate and 11B of decay, to fit the budget.
Here is what is new in Apex-3:
Architecture. 20.99B parameters, 3.36B active for each token. Thirty layers with 64 routed experts (top-4) and one shared expert, grouped-query attention with 25 sliding-window and 5 global layers, an 8,192-token context and a 204,800-token vocabulary.
Pretraining. Three stages. Stage 1 (0 to 4B tokens, October 6–9) ran on one GH200 in BF16, with a warmup to a learning rate of 4e-4. Stage 2 (4B to 59B, October 9–24) ran on two to three GH200s with DiLoCo, in FP8, at a constant 4e-4. Stage 3 (59B to 70B, October 24–26) ran on three GH200s and decayed the learning rate linearly to zero while the data mix moved toward code and math.
Post-training. All of it ran on a single GH200. SFT used 0.958B tokens of mostly reasoning-style conversations (1,811 steps). DPO used 3,608 preference pairs in the no-think form (122 steps). RLVR was 120 steps of GRPO on code, with rewards from running the tests in a sandbox.
No-think. Apex-3 has no thinking mode. In our tests the reasoning mode of the SFT model often failed to finish and looped until the 8K limit, so DPO and RLVR were run without it. The chat template starts every conversation with the system message /no_think.
Efficiency. The entire FP32 training state, 238.5 GiB, lives in Grace CPU memory, where GPU kernels update it directly over NVLink-C2C. In pretraining on real data, each GPU sustained 48.9–49.1% MFU against the BF16 dense peak at a 700 W power cap, or an estimated 47.6–47.8% once synchronization is counted.
Scale-out. GPU A trained from the first step, and a second GH200, GPU B, joined through DiLoCo at 4B tokens. At 35B tokens B branched off for the Apex-2.5 experiment while A continued alone; a third GH200, GPU C, joined A at 42B, and B rejoined at 44B, so the run used three GPUs with DiLoCo from 44B on. Each GPU trains the full model, and the workers exchanged pseudo-gradients every billion global tokens. Shortly before the end, B’s process failed. The last synchronization, at 70B tokens, therefore averaged A and C only, and B’s last interval was discarded; that final 1B-token interval covers about two thirds of the planned tokens.
Openness. Everything above can be checked: the code at commit 1d491e2, the step-by-step training logs, and the paper, which also reports what did not work. We also publish the raw training state at 59B tokens, the end of the constant-learning-rate phase, as Apex-3-59B-stable, for continued pretraining and research.
Apex-3
The next peak of intelligence.
All numbers were measured by us on the final checkpoint, in BF16, as a single run. The generation benchmarks use the no-think prompt and greedy decoding. We looked at several of these benchmarks while choosing the post-training settings, so they are development scores, not untouched test results. Prompts, shot counts, answer extraction and generation limits differ between reports, so we do not rank Apex-3 against other models.
Log-likelihood tasks
| acc | acc_norm | |
|---|---|---|
| HellaSwag10,042 examples | 44.5 | 58.9 |
| ARC-Challenge1,172 examples | 39.2 | 42.4 |
| ARC-Easy2,376 examples | 73.3 | 71.9 |
| PIQA1,838 examples | 73.7 | 74.5 |
| WinoGrande1,267 examples | 60.5 | — |
| LAMBADA (OpenAI)5,153 examples | 55.0perplexity 12.0 | — |
Zero-shot, full evaluation sets, no chat template (lm-evaluation-harness 0.4.13). acc_norm divides each answer’s log-likelihood by its length in characters. WinoGrande uses partial scoring. SuperBPE tokens can cross word boundaries, so treat LAMBADA as a check between checkpoints of this model, not a number to compare across tokenizers. Documents overlapping the evaluation sets were removed from the pretraining data by 13-gram matching, which is a lower bound; the FLAN data in the decay stage may contain the training splits of ARC and HellaSwag.
Generation tasks
| Score | Stopped at the limit8,192 new tokens | |
|---|---|---|
| GSM8K1,319 problems | 35.6pass@1 | 0.2% |
| MATH-500500 problems | 28.4pass@1 | 3.0% |
| HumanEval+164 problems | 26.8pass@1 | 1.2% |
| MBPP+378 problems | 43.4pass@1 | 0.0% |
| IFEval520 prompts | 12.9prompt-level | 17.7% |
| LiveCodeBench v5300-problem subset | 7.0pass@1 | 0.0% |
The prompt is the benchmark question in a chat turn after the system message /no_think, with greedy decoding. “Stopped at the limit” is the share of answers cut off by the 8,192-token limit. Math is graded by a checker on the final answer, and code is run against the benchmark tests in a sandbox without network access. IFEval is our own implementation of the instruction checks: 520 of the 541 prompts are used, because the other 21 exceed our runner’s prompt-length limit. LiveCodeBench is a fixed 300-problem subset of the 878 v5 problems with tests, not the full benchmark and not the official harness.
Standard harnesses (EvalPlus, lm-evaluation-harness)
| Score | New-token limit | At limit | |
|---|---|---|---|
| HumanEvalbase tests | 28.0pass@1 | 768 | 7.9% |
| HumanEval+EvalPlus | 22.6pass@1 | 768 | 7.9% |
| MBPPbase tests | 45.0pass@1 | 768 | 10.1% |
| MBPP+EvalPlus | 38.1pass@1 | 768 | 10.1% |
| GSM8KCoT 0-shot, flexible extract | 34.4 | 256 | 13.9% |
| GSM8KCoT 0-shot, flexible extract | 35.3 | 2,048 | 0.3% |
| MATH-5000-shot, math_verify | 18.2 | 256 | 65.8% |
| MATH-5000-shot, math_verify | 25.6 | 2,048 | 3.6% |
| IFEval541 prompts, strict | 16.6 · 29.1prompt · instruction level | 1,280 | 23.3% |
| IFEval541 prompts, loose | 18.1 · 30.8prompt · instruction level | 1,280 | 23.3% |
Chat prompts with the system message /no_think, greedy, zero-shot, with EvalPlus 0.3.1 and lm-evaluation-harness 0.4.13. These runs use each harness’s own answer extraction and generation limit, and some limits are short, so read the “At limit” column: at 256 new tokens, 65.8% of MATH-500 answers are cut off. No response in these runs opened a reasoning block.
Validation loss by domain
| Apex-355.0B tokens · stable phase | Apex-360.0B tokens · in decay | Apex-370.0B tokens · end of decay |
|---|
Validation cross-entropy (nats per token) on held-out data from each domain, from GPU A’s main_phase1.log; lower is better. The run validated every 5B tokens during the constant-learning-rate phase and every 1B from 60B on. There is no check exactly at 59B, where the decay began, so the middle column is the first one, 1B into the decay, and the first column is the last check before it. The Top-quality web and Instruction sets were added to validation at 60B and are blank before. Instruction loss keeps falling through the decay, while most of the other domains drift up slightly.
The training run, final log rows
| GPU Afrom 0 tokens | GPU Bjoined at 4B · branched at 35B · back at 44B tokens | GPU Cjoined at 42B tokens |
|---|
Final row of each log, final logs extracted 2026-10-26 05:31 UTC. B’s last rows were discarded at the final synchronization, so its log stops earlier than A’s and C’s. MFU is per GPU against the BF16 dense peak of 989 TFLOPS, even for FP8 stages; counting attention only within documents lowers it by about 1.6 points.
Availability
Questions
Why no reasoning (think) mode?
The tokenizer still has the think tokens, and the first supervised data contained long reasoning traces, but in our tests the reasoning mode of the SFT model often failed to finish and looped until the 8K limit (44% of GSM8K and 76% of MATH-500 answers), while the no-think mode scored higher on code, MATH-500 and IFEval. DPO and RLVR were therefore run in no-think mode only, and the chat template starts every conversation with the system message /no_think.
What can I run it on?
Apex-3 loads with transformers 4.53 or newer and trust_remote_code=True. The BF16 weights take 39.1 GiB, so use a GPU with 48 GB or more; layers that do not fit are offloaded to CPU memory, which is slow. The Transformers code is a simple reference implementation, and vLLM and SGLang cannot load this architecture yet. The quick start is on the model card.
What are its limits?
It is a small-budget model, with 3.36B active parameters and 70B pretraining tokens. Knowledge is limited and it hallucinates, especially on facts, names and numbers. Instruction following is weak, math is school level, code is modest, and the context is 8,192 tokens. It is English-centric, and it had no safety tuning, so do not rely on it to refuse harmful requests.
How is MFU measured?
Model FLOPs per token times tokens per second, divided by the BF16 dense peak of 989 TFLOPS, even though about 47% of FLOPs run in FP8. Benchmark and real-training figures are kept separate; the paper explains every number.
How does it relate to Apex-2?
Apex-3 is a new model trained from scratch with its own code base. Apex-2, our 3.87B MoE, is a separate release with its own results.