nex-agi · vision language · mixture of experts

Nex-N2-Pro

nex-agi/Nex-N2-Pro

Nex-N2-Pro at Q4_K_M is exactly 241,805,932,352 bytes (225.20 GiB / 241.81 GB) — an effective 4.875 bits per weight, not the nominal 4. Its KV cache at 32K is 0.94 GiB.

From the file· summed from 7 file(s)From the file· KV per layer
Parameters
397B
total, not active
Architecture
qwen35moe
60 layers
Context
262,144
native (config.json)
License

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ1_S3 shards76.16 GiB81,778,029,9521.649bartowski
IQ1_M3 shards85.09 GiB91,360,966,0161.842bartowski
IQ1_M5 shards90.02 GiB96,656,717,3761.949paragon-of-brah
IQ2_XXS3 shards99.01 GiB106,314,708,3202.143bartowski
IQ2_XS3 shards110.33 GiB118,465,607,0082.388bartowski
IQ2_S4 shards112.23 GiB120,510,870,9762.430bartowski
IQ3_XXS4 shards116.31 GiB124,889,073,1332.518tarruda
IQ2_M4 shards123.99 GiB133,131,531,7442.684bartowski
Q2_K4 shards129.92 GiB139,499,484,6722.813bartowski
Q2_K_L4 shards130.84 GiB140,492,764,6402.833bartowski
IQ2_M9 shards132.87 GiB142,670,035,0402.876paragon-of-brah
IQ3_XXS9 shards147.24 GiB158,100,650,0483.188paragon-of-brah
IQ3_XXS5 shards154.67 GiB166,077,412,9603.348bartowski
Q3_K_S5 shards161.06 GiB172,934,919,7763.487bartowski
IQ3_XS5 shards168.98 GiB181,444,114,0483.658bartowski
Q3_K_M5 shards169.03 GiB181,491,299,9683.659bartowski
Q3_K_L5 shards176.46 GiB189,477,516,8963.820bartowski
IQ3_M5 shards176.54 GiB189,560,092,2563.822bartowski
IQ3_M10 shards176.93 GiB189,981,784,2243.830paragon-of-brah
IQ4_XS6 shards197.66 GiB212,233,205,5044.279bartowski
IQ4_NL6 shards209.10 GiB224,515,241,6964.527bartowski
Q4_06 shards209.96 GiB225,439,037,1204.545bartowski
Q4_K_S6 shards216.85 GiB232,835,692,2244.694bartowski
Q4_K_M7 shards225.20 GiB241,805,932,3524.875bartowski
Q4_K_L7 shards225.90 GiB242,560,825,1524.890bartowski
Q4_17 shards231.99 GiB249,095,042,9125.022bartowski
Q5_K_S7 shards255.18 GiB273,994,331,9685.524bartowski
Q5_K_M8 shards263.80 GiB283,257,518,0805.711bartowski
Q6_K9 shards318.87 GiB342,387,325,0246.903bartowski
Q8_011 shards392.56 GiB421,507,364,8968.498bartowski

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.12 GiB0.47 GiB4.00×15 / 0 / 45
8,1920.23 GiB0.94 GiB4.00×15 / 0 / 45
16,3840.47 GiB1.88 GiB4.00×15 / 0 / 45
32,7680.94 GiB3.75 GiB4.00×15 / 0 / 45
65,5361.88 GiB7.50 GiB4.00×15 / 0 / 45
131,0723.75 GiB15.00 GiB4.00×15 / 0 / 45

45 of 60 layers use linear attention, which keeps a fixed-size recurrent state instead of a per-token cache. Those layers do not grow with context at all — treating them as ordinary attention, as a flat formula does, overstates this model's cache by roughly 4.0× at long context.

Compare with

same modality, comparable size

Will it run on your card?

full quant x context sweep

Why other calculators give a different number

A parameters × bits ÷ 8 estimate puts Q4_K_M at roughly 207.87 GiB. The real file is 225.20 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
60
Attention heads
32
KV heads
2
Head dim
256
Hidden size
4096
Vocab
248,320
Sliding window
none
SWA period
MLA
no
Experts
512
Experts per token
10
use_sliding_window

Questions people ask

How much VRAM does Nex-N2-Pro need?
Q4_K_M is exactly 241,805,932,352 bytes (225.20 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Nex-N2-Pro's KV cache?
0.94 GiB at 32K context with an f16 cache, computed per layer. Quantizing the cache to q8_0 roughly halves it, which is often the difference between a context length fitting and not.
Is Nex-N2-Pro a mixture-of-experts model?
Yes — 512 experts, 10 routed per token. Every expert must be resident, but only the routed ones are read per token, which is why its memory requirement and its speed behave very differently.
Which quantization of Nex-N2-Pro should I use?
Q4_K_M is the usual default. Pick the largest quantization that fits your card at the context you actually need — the table above gives exact sizes for every one published.