Xing4.0-29B-A4B: Run a 29B model that uses only 4B of itself per word
Added · Updated
Made by XingChen-AGI
View profile on Hugging Face (opens in a new tab)Run a language model that plans several steps, calls tools and works through long coding or research tasks, using a context of 256,000 tokens.
It is for developers who host their own models for agents or want to train one further on their own data. Built by China Telecom’s AI company, it is a mixture-of-experts model (only a slice of the model works on each word): 29 billion parameters (learned settings) in total, about 4 billion active per word. It is published in the standard Transformers format. The creator says it is the first model at this scale trained entirely on Huawei’s Ascend chips.
Model details
Original model XingChen-AGI/Xing4.0-29B-A4B
Input Text Output Text
Ways to use it Run locally
One reviewed local configuration. Add My computer details to compare them.
BF16 vLLM on NVIDIA · vLLM · The pinned card provides vLLM and SGLang deployment framework support for its BF16 Transformers checkpoint. This record estimates one NVIDIA vLLM configuration at 4K.
How this configuration was checked
96 GB VRAM · reviewed estimate Source lists 62.4 GB (file-size). Estimate uses 62.44 GB exact BF16 checkpoint bytes, 2.349 GB 4K KV cache (40 attention layers × 32 KV heads × hidden-size/head-count width 112 × K/V × 2-byte values), 4 GB runtime buffers, and 27.211 GB remaining in the 96 GB VRAM tier.
BF16 · 4,096 token context · source context 262,144 tokens · batch size 1 · concurrency 1 · Single-user 4K comparison; the pinned card documents 256K context.
Source checked 2026-10-21 · revision 5f65c5895db48bc6144a467ecffe9c8a92e145e8. pinned card documents BF16 Transformers weights, vLLM deployment, and 256K context; exact shard bytes and config fields supply the estimate inputs
What it does
It is a mixture-of-experts model, meaning it holds a large amount of knowledge but only wakes a small part of itself for each word it reads or writes — 29 billion parameters in total, around 4 billion active. That keeps the running cost closer to a small model while keeping a large model’s breadth. The creator built it for tasks that run long: planning several steps, calling tools, and holding a chain of reasoning together over a context of 256,000 tokens, which it says can be stretched to 512,000.
How to use it
Download the weights from Hugging Face and start a server with vLLM, SGLang or KTransformers; the launch commands are in the creator’s GitHub repository. Then send chat requests through an OpenAI-compatible API, as in the source's example, choosing whether thinking mode is on. The reply comes back as ordinary chat text. The card recommends temperature 1.0 for reasoning and 0.8 for coding or agent work.
Common use cases
- Point an agent tool the creator says it has adapted for, such as OpenCode or Claude Code, at your self-hosted endpoint and give it a coding task; the model plans steps and calls the agent’s tools.
- Send a question with thinking mode switched on through the OpenAI-compatible API and get back a worked, step-by-step answer as chat text.
- Fine-tune it with LLaMA-Factory on your own labelled examples, such as support messages tagged by intent, to get a version that sorts new messages into those intents.
You could use it to…
- Hold a whole large codebase in one long context
- Run multi-step tool-calling tasks at a lower cost
- Use a 256,000-token window without paying full-size prices
Can I use this?
Requirements A machine that can serve the model with vLLM, SGLang or KTransformers; the model card does not list GPU or memory requirements. Python with the openai package for the example client. Fine-tuning uses LLaMA-Factory or MindFormers. The weights are not gated.
Caveat All benchmark scores are the creator’s own runs, and the model trails some comparison models on several of them. Serving instructions are not on the model page; they live in a separate GitHub repository.
Worth knowing The creator says this is the first model at this scale trained entirely on Huawei’s Ascend hardware, and the training-efficiency figures are its own. Most of the detail lives in a separate repository rather than on the model page. Context can be stretched to 512,000 tokens, according to the creator. Licensed under Apache License 2.0.
Why it's here
Not trending this week
Last seen on the Hugging Face trending list on 28 September 2026. It stays on BuildTube so you can still find it.
- 1,865 people have liked it on Hugging Face.
- It was downloaded 5,293 times in the last 30 days.
Numbers checked on 8 November 2026; not refreshed since.
Behind it
View model pageBuildTube has not run or verified this project. Everything above is written from what the creator published.
Made this?
Quick questions
- What is Xing4.0-29B-A4B?
- It is a mixture-of-experts model, meaning it holds a large amount of knowledge but only wakes a small part of itself for each word it reads or writes — 29 billion parameters in total, around 4 billion active.
- What can I use Xing4.0-29B-A4B for?
- Point an agent tool the creator says it has adapted for, such as OpenCode or Claude Code, at your self-hosted endpoint and give it a coding task; the model plans steps and calls the agent’s tools; Send a question with thinking mode switched on through the OpenAI-compatible API and get back a worked, step-by-step answer as chat text; Fine-tune it with LLaMA-Factory on your own labelled examples, such as support messages tagged by intent, to get a version that sorts new messages into those intents
- Can I run Xing4.0-29B-A4B on my computer?
- It runs on your own hardware with a model runtime. A machine that can serve the model with vLLM, SGLang or KTransformers; the model card does not list GPU or memory requirements. The creator says this is the first model at this scale trained entirely on Huawei’s Ascend hardware, and the training-efficiency figures are its own.
- What do I need to use Xing4.0-29B-A4B?
- Published in the standard Transformers format; the creator lists vLLM, SGLang and KTransformers among the serving tools that work, and names LLaMA-Factory for fine-tuning. A GPU server is the realistic requirement.
- What license does Xing4.0-29B-A4B use?
- Licensed under Apache License 2.0.
More from this week
- Idol Turn one picture of an object into a 3D Gaussian splat
Idol turns one photo, render or generated image of an object into a 3D Gaussian splat file.
- P-H3-Image-Comfy Make and edit 8-megapixel images in ComfyUI
Turn short text requests into 8-megapixel images and edit pictures on your own graphics card.
- agent-desktop Let AI agents read and click desktop apps
For developers building computer-use agents: agent-desktop lets an AI agent read and operate desktop apps on Mac, Windows or Linux from a command line.
Explore by topic
Post this
Download share imageFor makers
Made this? Show it’s on BuildTube — add the badge to your README or embed the card on your site.
README badge (Markdown)
[](https://buildtube.app/p/hf-xingchen-agi-xing4-0-29b-a4b/)Embed card (HTML)
<iframe src="https://buildtube.app/embed/hf-xingchen-agi-xing4-0-29b-a4b/" width="560" height="240" style="border:0;max-width:100%" loading="lazy" title="Xing4.0-29B-A4B on BuildTube"></iframe>