Xing4.0 29B-A4B

29B-A4B

Xing

A 29B mixture-of-experts text model from XingChen-AGI under Apache 2.0 that reads about 4B parameters per token. Attention is DeepSeek-style MLA with a compressed cache of about 46 KB per token, so context is cheap next to the weights: at Q4_K_M a 32K window adds only 1.4 GB. At Q4_K_M it needs about 21.2 GB at 4K, tight on a 24 GB card. IQ4_XS needs about 19.0 GB at 4K, comfortable on a 24 GB card. Q3_K_M needs about 17.0 GB at 4K, comfortable on a 20 GB card. Q2_K needs about 13.6 GB at 4K, comfortable on a 16 GB card. The full 262,144-token window at Q4_K_M needs about 33.3 GB at 256K. Each GGUF file also carries a 1.7B-parameter multi-token-prediction block that llama.cpp skips unless speculative decoding asks for it, so real use is about 1 GB under these figures at Q4_K_M. Sizes come from bartowski's GGUF files, and no per-level quality loss has been published.

⬇ 3.7K HF downloads♥ 1 likesbartowski/XingChen-AGI_Xing4.0-29B-A4B-GGUF· stats from 11/11/2026
Consumer GPUMac / Apple SiliconCPU / VPS

262K

Max Context

9

Quant Variants

GGUF Q8_0

Best Quality

—

Perplexity rise (best build)

Quantization Variants

Per-quant VRAM, quality loss, and inference speed on RTX 4090

Measured = run on this site · Estimated = not run here: calculated, or a figure this site has not verified · Community = public reports

FormatLevelBPWVRAMPPL LossSpeedSourceActions
GGUFQ8_08.5134.9 GB——Estimated
CalcHF
GGUFQ6_K6.9728.6 GB——Estimated
CalcHF
GGUFQ5_K_M6.1525.3 GB——Estimated
CalcHF
GGUFQ4_K_M5.1421.2 GB——Estimated
CalcHF
GGUFIQ4_XS4.6119.0 GB——Estimated
CalcHF
GGUFQ3_K_M4.1217.0 GB——Estimated
CalcHF
GGUFIQ3_XXS3.715.3 GB——Estimated
CalcHF
GGUFQ2_K3.2913.6 GB——Estimated
CalcHF
GGUFIQ2_XXS2.6411.0 GB——Estimated
CalcHF

Which file each size is for

A file size is not a memory figure: the VRAM column is the calculator's total at 4K context — weights plus KV cache plus a 10% activation buffer. Units differ on purpose: file sizes are decimal GB, as Hugging Face lists them; the VRAM column is GiB (1024³ bytes) with 2% added to the weights, so 7.12 GB of file counts as about 6.8 GiB there. A vision projector (mmproj), where the repo ships one, is a separate download and is in neither number.

Running Xing4.0 29B-A4B locally

At Q4_K_M and 4K of context, Xing4.0 29B-A4B needs about 21.2 GB — 19.1 GB of weights, 0.18 GB of KV cache and a 1.9 GB activation buffer. The smallest cards in this index that clear that comfortably are 32 GB ones — 4 of them, from the RTX 5090 up — and 26 of the 78 cards here do. These are calculated figures, not measurements: the estimate stops counting a card as comfortable at 88% of its VRAM, which is roughly the room a desktop session needs.

What longer context costs

Going from 4K to 32K adds about 1.23 GB, taking the total to 22.5 GB. Weights do not move with context — only the KV cache does, and it grows linearly, so this is the number to watch when planning for long documents. The model's native window is 256K; holding all of it at Q4_K_M would need about 33 GB.

Which build to download

This index only tracks Xing4.0 29B-A4B in GGUF, across 9 levels (Q8_0, Q6_K, Q5_K_M, Q4_K_M, IQ4_XS, Q3_K_M, IQ3_XXS, Q2_K, IQ2_XXS). No per-level perplexity sweep has been published for this model, so the quality column is empty rather than estimated — within one model, more bits per weight is the only ordering the data supports. No throughput has been measured for this model on this site's hardware. GGUF runs on llama.cpp and Ollama across NVIDIA, AMD and Apple silicon; AWQ and GPTQ target vLLM on CUDA and ROCm; EXL2 is ExLlamaV2 — CUDA only, and now archived, so local use rather than serving.

Common questions

How much VRAM does Xing4.0 29B-A4B need?
About 21.2 GB at Q4_K_M with 4K of context and batch 1, rising to roughly 22.5 GB at 32K. That figure is weights plus KV cache plus a 10% activation buffer, calculated from the model's architecture rather than measured on a card.
Will Xing4.0 29B-A4B run on a 32GB GPU?
Yes — at Q4_K_M and 4K context it needs about 21.2 GB, which leaves 10.8 GB spare on a RTX 5090, or on any of the other 32 GB cards here (4 in all). That is the smallest size in this index that clears it comfortably; 26 of 78 do.
Which quantization of Xing4.0 29B-A4B should I use?
No published quality comparison exists for this model, so pick by footprint: Q4_K_M is the level most people run, and a higher bits-per-weight level is more faithful. All 9 levels in the index are Q8_0, Q6_K, Q5_K_M, Q4_K_M, IQ4_XS, Q3_K_M, IQ3_XXS, Q2_K, IQ2_XXS. Note this is a mixture-of-experts model — all parameters must be resident even though only a fraction are active per token, so the memory cost follows the total, not the active count.

Where this model fits

Sized at Q4_K_M with a 4K context window, smallest card first. Comfortable means the estimate uses at most 88% of the memory.

Ships in
GGUF

This page's figures change when the model or the runtime does.Last updated 2026-11-11 RSS → /feed.xml