alt.freeweights.text / Xing4.0-29B-A4B
From: XingChen-AGI <huggingface.co/XingChen-AGI>Newsgroups: alt.freeweights.textSubject:

Xing4.0-29B-A4B

Date: 2026-11-15Commit: acbdebfSigned: 2DC28CC7B26A283B ✓

Text generation model with 31.2B parameters. Safetensors weights, 62.4 GB in all. Published by XingChen-AGI under Apache-2.0.

31.2B params62.4GBXing4.0-29B-A4Bsafetensorspermissive
FactsParams31.2BSize62.4 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get XingChen-AGI/Xing4.0-29B-A4B
# manifest sha256 e4d31d2d8edf… · 62.4 GB · 25 files
$ fw verify ./Xing4.0-29B-A4B XingChen-AGI/Xing4.0-29B-A4B
From sourceHosted (signed)XingChen-AGI/Xing4.0-29B-A4BLast check: 2026-11-15 02:49 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Overview

Size
62.4 GB
Weights
62.4 GB (safetensors)
Parameters
31.2B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
25, each with a sha256
Publisher
XingChen-AGI
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 02:49 UTCpassed

Model card

From the publisher at commit acbdebf. Shown as plain text with links; images open at the publisher.

Xing4.0-29B-A4B#

From "answering questions" to "getting things done" — an agentic MoE flagship with 29B total / 4B active parameters and a native 256K context.

🦉 GitHub • 🤗 Hugging Face Org • 🤖 ModelScope • 🪐 Modelers • ⚡ vLLM Plugin • ☁️ Tianyi AI Platform

Parameters Context SWE-bench Verified License

Pick a build:&nbsp; BF16 (this repo) • FP8 • GGUF (2–8-bit, 11–34 GB, runs in llama.cpp) • W8A8


Contents#

Introduction#

Xing4.0-29B-A4B is a next-generation large language model in the Xing series (formerly TeleChat), developed by China Telecom Artificial Intelligence Technology Co., Ltd. With 29B total parameters and only 4B activated per token, it natively supports a 256K context length, extensible to 512K. It was trained end-to-end on a fully in-house stack — from silicon to software — and is deeply optimized for complex engineering tasks: long-context planning, multi-step reasoning, tool calling, and structured output.

For full project documentation, deployment guides, and fine-tuning recipes, visit the GitHub repository.

Model at a Glance#

Total parameters29B
Activated parameters per token4B (~13.8% activation)
ArchitectureMoE · mHC + MLA + MTP
Context length256K native, extensible to 512K
Training corpus1.5 trillion high-quality bilingual (ZH/EN) tokens
Open weightsBF16 (this repo) • FP8 • GGUF
LicenseApache 2.0

Highlights#

  • Agent-oriented architecture — built on the mHC + MLA + MTP architecture, supporting multi-step planning, tool calling, and complex reasoning-chain execution, ensuring task coherence and execution stability under long contexts.
  • Deep software–hardware co-optimization — adapted to domestic NPU clusters with a fully in-house training framework, including mHC feature adaptation and fused-operator development, enabling stable and efficient training at scale.
  • ~96% training throughput gain — fine-grained MoE communication optimization, selective recomputation, automatic graph–operator fusion, and hand-tuned fused mHC kernels lifted overall training throughput by approximately 96% over out-of-the-box performance.
  • Native in the open ecosystem — fine-tuning via ms-swift and LLaMA-Factory merged upstream; serving via SGLang mainline (#39793) and the official vLLM plugin; local GGUF inference via llama.cpp mainline (#31589, b12174+); format-aligned with agent frameworks such as OpenCode, Claude Code, OpenClaw, and Hermes for out-of-the-box workflows.
  • Easy adaptation for domain scenarios — lightweight customization on proprietary data for intent classification, table understanding, contract auditing, and knowledge-based QA, for rapid and low-cost domain capability deployment.

Architecture#

Xing4.0-29B-A4B
Parameters29B (4B active)
Number of Layers40
Hidden Size3584
Dense FFN Intermediate Size9216
Expert Intermediate Size1024
Attention TypeMLA
Number of Routed Experts64
Active Experts per Token4
Number of Shared Experts1
Context Length256K (extensible to 512K)

Benchmarks#

Head-to-head with same-class open agentic models:

BenchmarkXing4.0-29B-A4BGemma4-26B-A4BQwen3.6-35B-A3B
IFBench69.6772.6765.50
AIME202690.0088.3092.70
AA.LCR61.0066.0062.00
Tau3-Bench64.6358.9067.20
Claw-Eval76.5571.4974.54
SWE-bench Verified75.0053.0076.00
Terminal-Bench 2.157.5030.0051.50
SWE-bench Multilingual66.0051.0067.20
DeepresearchBII60.8039.3059.70

Bold marks the best score in each benchmark.

  • Coding agent — 75.0 on SWE-bench Verified (approaching Qwen3.6-35B-A3B's 76.0, far ahead of Gemma4-26B-A4B's 53.0), 66.0 on SWE-bench Multilingual, and a clear lead on Terminal-Bench 2.1 (57.5 vs 51.5 / 30.0).
  • General agent — best in this comparison on Claw-Eval (76.55) and DeepresearchBII (60.80), with 64.63 on Tau3-Bench.

Quickstart#

Inference#

Xing4.0-29B-A4B can be accessed via an OpenAI-compatible API.

from openai import OpenAI

client = OpenAI(
    base_url="your-base-url",
    api_key="your-api-key",
)

completion = client.chat.completions.create(
    model="Xing4.0-29B-A4B",
    messages=[{"role": "user", "content": "Briefly explain the basic principles of quantum computing."}],
    temperature=1.0,
    top_p=0.95,
    extra_body={
        "repetition_penalty": 1.05,
        "skip_special_tokens": False,
        "spaces_between_special_tokens": False,
        "chat_template_kwargs": {
            "enable_thinking": True,  # Set to False to disable thinking
        },
    },
)

print(completion.choices[0].message.content)
Serving & Ecosystem#

Xing4.0-29B-A4B runs across serving stacks with different integration levels (as of 2026-11-10):

StackXing4.0 supportSinceHow to run
SGLangNative — mainline (#39793)2026-11-05Any recent mainline release; plugin for older versions
llama.cppNative GGUF — mainline (#31589)2026-11-05Stock build b12174+ on CPU / CUDA with Xing4.0-29B-A4B-GGUF
vLLMOfficial out-of-tree plugin—XingChen-AGI/xing4-vllm-plugin
TensorRT-LLM · KTransformersPR under upstream review—Install from the PR branch (see the GitHub README)

Prebuilt container images and step-by-step deployment guides are listed in the GitHub repository.

Scenariotemperaturetop_prepetition_penalty
Complex reasoning / general tasks1.00.951.05
Coding / agent tasks0.80.951.05

Evaluation Details#

  • SWE-bench Verified: We evaluate Xing4.0-29B-A4B using the SWE-agent harness with temperature=1.0, top_p=0.95, repetition_penalty=1.05 and a 210K context window.
  • Terminal-Bench 2.1: We evaluate in terminus-2 with temperature=0.8, top_p=0.95, repetition_penalty=1.05, max_tokens=64K and a 24-hour timeout. We report the average score over 3 runs.
  • SWE-bench Multilingual: We evaluate Xing4.0-29B-A4B using the SWE-agent harness with temperature=1.0, top_p=0.95, repetition_penalty=1.05 and a 210K context window.
  • Claw-Eval: We evaluate using the official harness with temperature=0.8, top_p=0.95, repetition_penalty=1.05, max_tokens=16384 and a 256K context window. We report the average score over 3 runs.
  • Tau3-Bench: We evaluate using the official harness with temperature=0.8, top_p=0.95, repetition_penalty=1.05, max_tokens=16384. We report the average pass^1 over 4 runs.
  • DeepresearchBII: We evaluate using the OpenCode harness with temperature=0.8, top_p=0.95, repetition_penalty=1.05, max_tokens=32768 and a 256K context window, with Exa MCP server enabled.
  • AIME2026: We evaluate with temperature=1.0, top_p=0.95, repetition_penalty=1.05, max_tokens=131072. We report the average score over 5 independent runs.
  • IFBench: We evaluate with temperature=0.8, top_p=0.95, repetition_penalty=1.05, max_tokens=81920.
  • AA.LCR: We evaluate with temperature=1.0, top_p=0.95, repetition_penalty=1.05, max_tokens=65536. We report the average score over 3 runs.

Citation#

@misc{liu2025trainingreporttelechat3moe,
      title={Training Report of TeleChat3-MoE}, 
      author={Xinzhang Liu and Chao Wang and Zhihao Yang and Zhuo Jiang and Xuncheng Zhao and Haoran Wang and Lei Li and Dongdong He and Luobin Liu and Kaizhe Yuan and Han Gao and Zihan Wang and Yitong Yao and Sishi Xiong and Wenmin Deng and Haowei He and Kaidong Yu and Yu Zhao and Ruiyu Fang and Yuhao Jiang and Yingyan Li and Xiaohui Hu and Xi Yu and Jingqi Li and Yanwei Liu and Qingli Li and Xinyu Shi and Junhao Niu and Chengnuo Huang and Yao Xiao and Ruiwen Wang and Fengkai Li and Luwen Pu and Kaipeng Jia and Fubei Yao and Yuyao Huang and Xuewei He and Zhuoru Jiang and Ruiting Song and Rui Xue and Qiyi Xie and Jie Zhang and Zilu Huang and Zhaoxi Zhang and Zhilong Lu and Yanhan Zhang and Yin Zhang and Yanlei Xue and Zhu Yuan and Teng Su and Xin Jiang and Shuangyong Song and Yongxiang Li and Xuelong Li},
      year={2025},
      eprint={2512.24157},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2512.24157}, 
}

@misc{wang2025technicalreporttelechat2telechat25,
      title={Technical Report of TeleChat2, TeleChat2.5 and T1}, 
      author={Zihan Wang and Xinzhang Liu and Yitong Yao and Chao Wang and Yu Zhao and Zhihao Yang and Wenmin Deng and Kaipeng Jia and Jiaxin Peng and Yuyao Huang and Sishi Xiong and Zhuo Jiang and Kaidong Yu and Xiaohui Hu and Fubei Yao and Ruiyu Fang and Zhuoru Jiang and Ruiting Song and Qiyi Xie and Rui Xue and Xuewei He and Yanlei Xue and Zhu Yuan and Zhaoxi Zhang and Zilu Huang and Shiquan Wang and Xin Wang and Hanming Wu and Mingyuan Wang and Xufeng Zhan and Yuhan Sun and Zhaohu Xing and Yuhao Jiang and Bingkai Yang and Shuangyong Song and Yongxiang Li and Zhongjiang He and Xuelong Li},
      year={2025},
      eprint={2507.18013},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2507.18013}, 
}

Acknowledgments#

Xing4.0-29B-A4B is better because of the open-source community. This section is our way of saying thanks — and we will keep adding names as the community grows.

Inference, training, and tooling. Thank you to the maintainers of vLLM, SGLang, KTransformers, TensorRT-LLM, and llama.cpp, and to the wider MLX ecosystem — for building inference stacks open enough to carry an architecture combination like ours, and for keeping them that way. Support for Xing4.0 has also landed in ms-swift, GPTQModel, and unsloth-zoo, and in LocalAI's gallery. Thank you to their maintainers.

Community quants and ports. Special thanks to the community members who did real work on this model and published it for everyone:

  • @kingjones777 — AMD ROCm builds with public recipes and hashes, and detailed reports that made the ROCm path work end to end.
  • Venastine Research — four GGUF tiers, including an 11.6 GB build that puts the model within reach of 16 GB cards, with a fully documented imatrix recipe.
  • @jmarceno — an independently recomputed imatrix and a 3.31 BPW quant, with the recipe and hashes published.
  • @TokenAI-zer — an MLX implementation verified to near-exact logit parity, and precise issue reports on the reference implementation.
  • @nativ-community — an MLX 8-bit port with token-level fidelity verification, with upstream work now merged in mlx-vlm.
  • The FlagOS project — multi-accelerator builds of the model.

We are also grateful to the teams and individuals who fine-tuned Xing4.0 for domain work — finance, official document writing, roleplay, meeting minutes, rewriting, information extraction — and published those weights for others to build on.

If you have ported, quantized, evaluated, or fixed Xing4.0 and are not on this list — thank you. Open a discussion and let us know; we will add you.

Evaluation tooling. Our benchmark numbers rest on harnesses built and maintained by the SWE-agent, Terminal-Bench, tau-bench, and Claw-Eval teams, along with research tooling from Exa. We are grateful for the infrastructure that makes open model evaluation possible.


China Telecom Artificial Intelligence Technology Co., Ltd.

More open models from XingChen-AGI

Files

25 files · 62.4 GBWeights 62.4 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 25 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
LICENSE11.4 KBb57e12ce9b9129b792539c7b1c259ea1d5c058a63866f16296787a1aaf80e2a6
README.md15.6 KB88f4e1194155915b8ada3246c1b576f3b7773171aff6c5fb4b67ad71ae55958a
chat_template.jinja3.75 KB003ff66a7872507428f4ee572c391b74e82b8a9873d18676d81462d4891eba0a
config.json1.65 KB253e6742d5be0094fd03d79d65cead200de11c5962be9220f8117d978bbe3cc8
configuration.json48 Ba78221ae93dd8977b26fcd1d106fa5ad7e7f1fd3a7d93bfd9d6fba5ed00ec4d2
configuration_xing4_0.py5.40 KB8012e9b83bad20b95f7815ddd458c7e721509285fd76b7fef38dd4adaef618c7
generation_config.json201 B0c5eb5129e80ecf2eec82930b3c47a8001c8973cb4eaa24ea111319075a9d839
model-00000-of-00012.safetensors5.37 GBd0078583d43f24cfc13e7f5608dbfdf6728d3eaba14ccea789b3f768ec52a352
model-00001-of-00012.safetensors5.37 GB4315c731089241d6786b73e43891408b4b768c41e0c076f1a2741dbb274062fb
model-00002-of-00012.safetensors5.37 GB541c465336c0b90603bd4dc2e1c8a7e9eec6d44b53395c1fb389de652aeec6a8
model-00003-of-00012.safetensors5.37 GBdd2600d92521be1473e6eb2f2d78119e7bebc4b2bedde694eea2e3e6c8923cfc
model-00004-of-00012.safetensors5.37 GB081ed13d86434366164ce5939d830d9fe3729f44d90636a62efb3d635099a520
model-00005-of-00012.safetensors5.20 GB6b82de773df099575da591a6f26254e00718d82a04c9cb047065561eacaad3e5
model-00006-of-00012.safetensors5.37 GBb1679725371f13ebb3d025093fbc3f33d3ea23f76b8ca8be890b810a257f2706
model-00007-of-00012.safetensors5.37 GB52a2bd4af111ebea5f5b29d82dc97b869319fbdbd54f1f953a8aa68ae12a832d
model-00008-of-00012.safetensors5.37 GBb638ae181a2b492e43f1ba263bdacf7636d366be6224b8ca8c8c9c97a0473eea
model-00009-of-00012.safetensors5.37 GB02cefbaa78ef935f856602d6b4db78da77de1c28fd0ca9a66e5ac4eaa364bfaa
model-00010-of-00012.safetensors5.37 GB1a660961b7b0634ccc5ac13913a66e378cd4cd5350f7220117cdbed06afe920b
model-00011-of-00012.safetensors3.57 GB238184423f5c47101b5abd915346d8f6bfcc64ab493c6d71c60bbda176d4d3f6
model.safetensors.index.json742 KBbbc88310fd0699bd0616593e4c1435c92f850f2da4db8931179d9f0d42aa875f
modeling_xing4_0.py32.0 KB51341dbd177ebd0181d338924356f2de72848c409580c0e3080d87ee70935cef
tokenization_xing4_0.py8.45 KB4c18df574fad90ee3cadb25586d47b8b32c62c7239e76f246a1bfaedf177799f
tokenizer.model2.20 MBfdcbbfdf8655a2e8b8a9fe478de0e9347e857c9b043f9752d04ed660286c3ac5
tokenizer_config.json2.90 KBba3a6872ff07b2260c55b44c7b885a791786eb94baee6ca16290656ab096fa53
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
acbdebfe49 pinned now2026-11-15 02:49 UTC25 files · 62.4 GB

Use it

$ fw get XingChen-AGI/Xing4.0-29B-A4B
# manifest sha256 e4d31d2d8edf… · 62.4 GB · 25 files
$ fw verify ./Xing4.0-29B-A4B XingChen-AGI/Xing4.0-29B-A4B
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/XingChen-AGI/Xing4.0-29B-A4B.json --dir ./Xing4.0-29B-A4B $ python3 fw.py verify ./Xing4.0-29B-A4B ./XingChen-AGI__Xing4.0-29B-A4B.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download XingChen-AGI/Xing4.0-29B-A4B --revision acbdebfe496d117e6fde3ce152d2450fb0d5fa53 --local-dir ./Xing4.0-29B-A4B
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("XingChen-AGI/Xing4.0-29B-A4B", revision="acbdebfe496d117e6fde3ce152d2450fb0d5fa53") model = AutoModelForCausalLM.from_pretrained("XingChen-AGI/Xing4.0-29B-A4B", revision="acbdebfe496d117e6fde3ce152d2450fb0d5fa53", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve XingChen-AGI/Xing4.0-29B-A4B --revision acbdebfe496d117e6fde3ce152d2450fb0d5fa53

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
LICENSE
Text sha256
b57e12ce9b9129b792539c7b1c259ea1d5c058a63866f16296787a1aaf80e2a6
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: XingChen-AGI <huggingface.co/XingChen-AGI>Newsgroups: alt.freeweights.textSubject: Xing4.0-29B-A4BDate: 2026-11-15Commit: acbdebfSigned: 2DC28CC7B26A283B ✓
Upstream
XingChen-AGI/Xing4.0-29B-A4B
Pinned commit
acbdebfe496d117e6fde3ce152d2450fb0d5fa53
Manifest
Xing4.0-29B-A4B.json · .minisig
Manifest sha256
e4d31d2d8edf1fa43c985c9443caeb810a04955e8f352cc4b15b59bd14e31047
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:49 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/XingChen-AGI/Xing4.0-29B-A4B.json $ curl -O https://freeweights.allternit.com/manifests/XingChen-AGI/Xing4.0-29B-A4B.json.minisig $ minisign -Vm Xing4.0-29B-A4B.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

3 models in the catalog name this one as their parent.

Fine-tunes
1
Quantizations
2
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download XingChen-AGI/Xing4.0-29B-A4B
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. Xing4.0-29B-A4B.json. Provenance. Takedown history: none.

Variants

2 quantized or adapter builds of Xing4.0-29B-A4B. Each has its own license check and page.

From: laion <huggingface.co/laion>Subject: a2-rl-e2egit_large-50-32B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-large-15-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-v2-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_pymethods2test-large-80-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_unitsyn-python-large-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_mix_h2_language_proportional-65-8B