LLMBOTTLENECK.COM
XingChen-AGI / xing4_0

Xing4.0-29B-A4B

31.2 billion parameters, routing 4 of 64 experts per token.

Open in the calculator →

Architecturepublished data
Quick answer
Xing4.0-29B-A4B needs about 20.3 GB at Q4_K_M — the format most people download — with 8,192 tokens of context. It fits entirely on 12 of 18 common devices, starting with the NVIDIA GeForce RTX 4090 (24 GB). What else fits in 24 GB. No hardware for it? Rent a GPU that runs it, priced live.

Sized at 8,192 tokens of context with the whole model in device memory, across 18 common devices. Speeds are estimates, not benchmarks.

Latent (MLA) attention with a 64-expert mixture, published under the publisher's own modelling module. The hyper-connection parameters it adds beside the decoder are a few hundred thousand weights against 29B and do not change the cache. Licence declared on the repository: apache-2.0.

Weight-file size by format

FormatSizeRangeBasis
FP1662.5 GB43.7 GB – 63.1 GBsize range
Q8_033.2 GB23.2 GB – 34.4 GBsize range
Q6_K25.6 GB17.9 GB – 27.0 GBsize range
Q5_K_M22.3 GB15.0 GB – 27.0 GBsize range
Q5_021.8 GB15.0 GB – 27.0 GBsize range
Q4_K_M19.2 GB12.3 GB – 27.0 GBsize range
Q4_018.2 GB12.3 GB – 27.0 GBsize range
Q3_K_M15.6 GB9.39 GB – 27.0 GBsize range
Q2_K12.4 GB7.17 GB – 27.0 GBsize range

A file size is not the memory a run needs: the KV cache and the runtime reserve come on top, and the calculator adds both.

What the labels mean
published data
Read from a published source — a file's byte count, a model's configuration or a manufacturer's specification — or exact arithmetic on such values. Not a measurement on a machine.
reconstructed size
Weight size reconstructed from the pinned architecture, because no published file exists.
size range
Only a lower and an upper bound are claimed for this weight size.

Hardware ladder

Q4_K_M at 8,192 tokens · 12 of 18 devices hold it entirely
DeviceMemoryVerdictDecodeCalculator
NVIDIA GeForce RTX 507020.3 GB of 12 GB18 layers on system RAM~50 tok/s with offloadOpen →
AMD Radeon™ RX 9070 XT20.3 GB of 16 GB10 layers on system RAM~75 tok/s with offloadOpen →
NVIDIA GeForce RTX 408020.3 GB of 16 GB10 layers on system RAM~74 tok/s with offloadOpen →
NVIDIA GeForce RTX 508020.3 GB of 16 GB10 layers on system RAM~81 tok/s with offloadOpen →
NVIDIA GeForce RTX 5070 Ti20.3 GB of 16 GB10 layers on system RAM~79 tok/s with offloadOpen →
NVIDIA GeForce RTX 5060 Ti 16GB20.3 GB of 16 GB10 layers on system RAM~63 tok/s with offloadOpen →
NVIDIA GeForce RTX 409020.3 GB of 24 GBfits~264 tok/sOpen →
AMD Radeon™ RX 7900 XTX20.3 GB of 24 GBfits~288 tok/sOpen →
NVIDIA GeForce RTX 309020.3 GB of 24 GBfits~245 tok/sOpen →
NVIDIA GeForce RTX 509020.3 GB of 32 GBfits~469 tok/sOpen →
NVIDIA RTX 6000 Ada Generation20.3 GB of 48 GBfits~251 tok/sOpen →
Apple M4 Pro20.3 GB of 64 GBfits~63 tok/sOpen →
Apple M5 Pro20.3 GB of 64 GBfits~68 tok/sOpen →
AMD Ryzen AI Max+ 395 with Radeon 8060S20.3 GB of 128 GBfits~77 tok/sOpen →
Apple M3 Max20.3 GB of 128 GBfits~79 tok/sOpen →
Apple M4 Max20.3 GB of 128 GBfits~93 tok/sOpen →
NVIDIA DGX Spark20.3 GB of 128 GBfits~71 tok/sOpen →
Apple M2 Ultra20.3 GB of 192 GBfits~109 tok/sOpen →

Decode is a calibrated estimate from the published calibration; capacity is the manufacturer's published ceiling, not guaranteed free memory. Fitting in memory is not the same as loading: whether the runtime and version you have supports this architecture and format on that machine has not been tested here. Offloaded rows assume there is enough system RAM for the overflow — the calculator checks that against the RAM you declare. Each “Open” link keeps this model, format and context.

Run it in the cloud

Rent a GPU that runs Xing4.0-29B-A4B

Every rentable machine that holds the whole model, from Vast.ai and RunPod, with this site's speed estimate for each and the provider's own price, read live. Cheapest first; sort by cost per token or speed instead, or switch the format.

Prices · 18:30 UTC, 22 Sept
26 configurations in stock · 7 out of stock
MachineSpeedPer hourPer M tokensWhereRent
2× RTX 306024 GBcheapest~164 tok/sFaster than you read$0.11$0.18Vast.aiMarketplace · 98.0% reliableRent on Vast.ai
1× RTX 309024 GBrecommendedbest value~244 tok/sFaster than you read$0.12$0.14Vast.aiMarketplace · 99.5% reliableRunPod $0.50/h Rent on Vast.ai
1× RTX 3090 Ti24 GB~263 tok/sFaster than you read$0.19$0.20Vast.aiMarketplace · 99.6% reliableRunPod $0.27/h Rent on Vast.ai
2× RTX 407024 GB~230 tok/sFaster than you read$0.19$0.23Vast.aiMarketplace · 99.8% reliableRent on Vast.ai
2× RTX 4060 Ti 16GB32 GB~131 tok/sFaster than you read$0.22$0.47Vast.aiMarketplace · 99.7% reliableRent on Vast.ai
1× L424 GB~78 tok/sFaster than you read$0.26$0.91Vast.aiMarketplace · 98.9% reliableRunPod $0.49/h Rent on Vast.ai
2× RTX 5060 Ti 16GB32 GB~204 tok/sFaster than you read$0.26$0.35Vast.aiMarketplace · 99.5% reliableRent on Vast.ai
1× RTX 6000 Ada48 GB~251 tok/sFaster than you read$0.26$0.29Vast.aiMarketplace · 99.9% reliableRunPod $0.84/h Rent on Vast.ai

First time renting a GPU? How it works, in four steps
  1. Create an account and add credit. Both providers are prepaid: $10 is enough to try any card on this page for hours. A new RunPod account that arrives through a referral link gets a one-time $5 credit when it first adds $10.
  2. Pick the card and the count shown here, and a template: llama.cpp or vLLM for an OpenAI-compatible API, or one with a web chat if you only want to talk to the model. “How to launch it” below gives the exact image and command.
  3. Wait for the download. The weights are fetched on the machine; tens of gigabytes take a few minutes on a data-centre connection. You pay by the second from the moment it starts.
  4. Stop it when you are done. A running machine bills even when idle. A stopped one costs nothing per hour, though its disk is usually still billed until you delete it.
How to launch it

No Q4_K_M file of Xing4.0-29B-A4B is catalogued here, so there is no exact command to vouch for. Start the machine from the llama.cpp server image ghcr.io/ggml-org/llama.cpp:server-cuda and point -hf at a Q4_K_M build from the publisher or a quantizer you trust — search Hugging Face for one. Check its file size against the memory figure on this page before you rent.

Every machine holds the whole model at Q4_K_M and 8,192 tokens of context, no offload. Speeds are this site’s single-stream decode estimates; prices are what each provider’s own API quoted, on-demand, for the whole machine. Vast hosts below 98% measured reliability are left out.

Referral links Vast.ai, RunPod and Novita pay us a share of what you spend if you sign up through these buttons. It costs you nothing, and it never decides an order or a recommendation: both are computed from the live price and the speed, and options that pay us nothing are listed and recommended on the same terms. How we rank

Buying a card instead, or paying by the token? Compare a year of Xing4.0-29B-A4B three ways →

Under the hood

Architecture, read from the publisher’s file

The numbers every figure above is computed from, with the file they came from.

Architecture

✓ Architecture read from the published config.json

Retrieved 2026-09-20 at pinned commit baae3c3e813c; parameter count from the safetensors index at the same revision.

Architecture
xing4_0
Layers
40
Hidden size
3,584
Attention heads
32
KV heads
32
Feed-forward width
9,216
Vocabulary
131,072
Context ceiling
262,144
RoPE theta
10,000
Experts
64
Experts / token
4
Expert width
1,024
Shared experts
1
Latent KV rank
512

Where the memory goes

tokenembedding× 40 decoder blocksLatent attentioncompressed KV rankfull contextRouted experts4 of 64 per tokenall residentoutputprojectiongrows with contextcapacity ≠ traffic

Latent attention projects keys and values into a compressed rank before caching them, which is why its KV cache is a fraction of a comparable dense model.

Use this answer in your own product

As JSON, from the API
curl -s https://llmbottleneck.com/v1/analyze \
  -H "Authorization: Bearer $LLMB_KEY" -H "content-type: application/json" \
  -d '{"model":"xingchen-agi-xing4-0-29b-a4b","quantization":"Q4_K_M","context":8192,"hardware":"nvidia-geforce-rtx-4090"}'

Same engine, same evidence, every field sourced. Free key in one step →

On your page, as a widget
<script src="https://llmbottleneck.com/widget.js"
  data-model="xingchen-agi-xing4-0-29b-a4b" data-quantization="Q4_K_M"
  data-hardware="nvidia-geforce-rtx-4090" data-context="8192"></script>

No key needed. Unbranded, with your own buy button, on Pro and Business →

Citing this page

LLM Bottleneck. “Xing4.0-29B-A4B VRAM and hardware requirements.” Architecture from XingChen-AGI/Xing4.0-29B-A4B at revision baae3c3e813c, retrieved 2026-09-20. https://llmbottleneck.com/models/xingchen-agi-xing4-0-29b-a4b

Every figure above is either the published value or a reconstruction whose measured error is on the accuracy page.

llmbottleneck
catalogue 2026-10-03models 327devices 135