Model reference · open weights
Xing4.0 is an open-weight language model from XingChen-AGI. Xing4.0-29B-A4B-FP8 (FP8) weighs 33.2 GB; the smallest configuration that runs it is L40S 48 GB.
For self-hosting, compare this build's requirements below with the GPU you plan to rent.
Summary of the XingChen-AGI/Xing4.0-29B-A4B model card, 2026-10-01. The estimate below is for another build of the family.
What it is
| Released by | XingChen-AGI |
|---|---|
| Released | 2026-09-16 |
| Parameters | 31.2B |
| VRAM | 33.2 GB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory | |
|---|---|---|---|---|
| 8K each | 32K each | |||
| RTX 3060 12 GB … RTX 5090 32 GB 5 smaller cards | ||||
| L40S 48 GB | 25 | 6 | 207K | 44.0 GB |
| A100 80 GB FP8 without its speed-up here | 116 | 29 | all 256K | 78.2 GB |
| H100 80 GB | 103 | 25 | all 256K | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | 144 | 36 | all 256K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 180 | 45 | all 256K | 107 GB |
| H200 141 GB | 261 | 65 | all 256K | 138 GB |
| B200 180 GB | 358 | 89 | all 256K | 176 GB |
| 2× RTX 4090 24 GB tensor parallel | 15 | 3 | 121K | 23.4 GB a card |
| 2× RTX 3090 24 GB tensor parallel · FP8 without its speed-up here | 15 | 3 | 122K | 23.4 GB a card |
| 2× RTX 5090 32 GB tensor parallel | 35 | 8 | all 256K | 31.0 GB a card |
| Requests at once | 8K tokens each | 32K tokens each |
|---|---|---|
| 1 | 34.6 GB | 35.7 GB |
| 5 | 36.1 GB | 41.7 GB |
| 8 | 37.2 GB | 46.3 GB |
| 16 | 40.2 GB | 58.3 GB |
| 32 | 46.3 GB | 82.5 GB |
| 64 | 58.3 GB | 131 GB |
One card, with vLLM's small-card settings.
Builds
| Build | Params | Precision | Weights | Smallest setup |
|---|---|---|---|---|
| Xing4.0-29B-A4B ↗ | 31.2B | BF16 | 62.4 GB | H100 80 GB |
| Xing4.0-29B-A4B-FP8 (above) ↗ | 31.2B | FP8 | 33.2 GB | L40S 48 GB |
From the model card
[!Note] This repository provides the model weights and configuration files for Xing4.0-29B-A4B in Hugging Face Transformers format, compatible with Transformers, vLLM, SGLang, KTransformers, and other mainstream inference frameworks.
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 is the first model of this scale trained entirely on the Ascend NPU platform with the MindSpore framework, and deeply optimized for complex engineering tasks.
For more information, please refer to our GitHub repository.
| Xing4.0-29B-A4B | |
|---|---|
| Parameters | 29B (4B active) |
| Number of Layers | 40 |
| Hidden Size | 3584 |
| Dense FFN Intermediate Size | 9216 |
| Expert Intermediate Size | 1024 |
| Attention Type | MLA |
| Number of Routed Experts | 64 |
| Active Experts per Token | 4 |
| Number of Shared Experts | 1 |
| Context Length | 256K (extensible to 512K) |
| Benchmark | Xing4.0-29B-A4B | Gemma4-26B-A4B | Qwen3.6-35B-A3B |
|---|---|---|---|
| IFBench | 69.67 | 72.67 | 65.50 |
| AIME2026 | 90.00 | 88.30 | 92.70 |
| AA.LCR | 61.00 | 66.00 | 62.00 |
| Tau3-Bench | 64.63 | 58.90 | 67.20 |
| Claw-Eval | 76.55 | 71.49 | 74.54 |
| SWE-bench Verified | 75.00 | 53.00 | 76.00 |
| Terminal-Bench 2.1 | 57.50 | 30.00 | 51.50 |
| SWE-bench Multilingual | 66.00 | 51.00 | 67.20 |
| DeepresearchBII | 60.80 | 39.30 | 59.70 |
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)
Xing4.0-29B-A4B supports deployment with vLLM, SGLang, and KTransformers. For detailed launch instructions, please refer to our GitHub repository.
| Scenario | temperature | top_p | repetition_penalty |
|---|---|---|---|
| Complex reasoning / general tasks | 1.0 | 0.95 | 1.05 |
| Coding / agent tasks | 0.8 | 0.95 | 1.05 |
SWE-agent harness with temperature=1.0, top_p=0.95, repetition_penalty=1.05 and a 210K context window.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-agent harness with temperature=1.0, top_p=0.95, repetition_penalty=1.05 and a 210K context window.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.temperature=0.8, top_p=0.95, repetition_penalty=1.05, max_tokens=16384. We report the average pass^1 over 4 runs.OpenCode harness with `temperature=0.8, top_p=0.95,Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.