How to Run Xing4.1-Preview: vLLM, SGLang and GPU Requirements
Serve Xing4.1-Preview with vLLM or SGLang: 285B BF16 weights need about 8×80 GB GPUs, 1M context, safetensors format, and which frameworks are supported.
For Engineering and IT

What hardware and software do you need to run Xing4.1-Preview?
You need a multi-GPU server and a supported serving framework. The model card says Xing4.1-Preview is a 285B-parameter BF16 mixture-of-experts model, and its weights alone need roughly 8×80 GB of GPU memory. The released weights are safetensors files in PyTorch (Hugging Face Transformers) format. You can serve them with vLLM (through an official plugin) or SGLang (main branch), with vLLM-Ascend for Ascend NPUs. llama.cpp is not supported for this model.
TL;DR
- Plan for 8 GPUs with 80 GB each. The model card gives about 8×80 GB for the weights alone, served with tensor parallelism of 8.
- Longer context costs more memory. The model supports a native 1M-token context, but only as far as your GPU memory and configuration allow.
- The weights ship as safetensors in PyTorch format. The native MindSpore format exists separately, and you do not need the MindSpore training environment to deploy.
- vLLM needs an out-of-tree plugin, and SGLang needs its main branch. Neither works with a stock release alone, according to the support table.
- llama.cpp and KTransformers do not work with Xing4.1-Preview. They apply only to the older Xing4.0 series.
- If you don't want to host it, there is an OpenAI-compatible hosted API through the TeleAI Open Platform.
What is Xing4.1-Preview, and why is it heavy to run?
Xing4.1-Preview is an open-weight model from China Telecom Artificial Intelligence Technology (Beijing), the latest in the Xing series (formerly TeleChat). It uses a sparse mixture-of-experts (MoE) design. The card lists 285B total parameters, with 17B activated per token.
The gap between those two numbers trips people up. Only 17B parameters do work on any given token, so each token is cheaper to compute than a dense 285B model. But the server still has to hold every expert in memory, because any token might need any of them. So your hardware bill follows the 285B figure, not the 17B one.
Some arithmetic makes this concrete. BF16 stores each parameter in 2 bytes, so 285B parameters come to roughly 570 GB. Eight 80 GB cards give you 640 GB. That is why 8×80 GB is the floor, not a comfortable target.
How much GPU memory does Xing4.1-Preview need?
The model card's serving note states the requirement directly: weights alone need approximately 8×80 GB, run with --tensor-parallel-size 8. It adds that longer contexts require proportionally more resources.
Here is what that means in practice:
- Weights are the floor, not the total. The server also needs memory for the key-value cache, which grows with the length and number of conversations it handles at once.
- 1M context is a ceiling, not a default. The card says the native context length goes up to 1M tokens, "subject to available GPU memory and deployment configuration." On a minimal 8×80 GB box, expect to run far shorter contexts.
- The example command is conservative. It sets
--max-num-seqs 4, so the server handles only four requests at once. That suits a test or a small internal tool, not a busy service.
The card does not list a quantized release (a smaller version of the weights that uses less memory). I would not plan around one existing. Check the GitHub repository for any updates before you size a purchase or a cloud rental.
What format are the Xing4.1-Preview weights in?
The native format is MindSpore, the framework used to train the model on 8,192 Ascend 910C chips. The Hugging Face repository provides converted PyTorch (Transformers) weights stored as safetensors shards. Safetensors is a file format for model weights that stores raw numbers and cannot run code on load, which makes it the common choice for sharing models.
According to the card, these checkpoints work with Transformers, SGLang and vLLM through their own model implementations and deployment configurations. You do not need the original MindSpore training environment. A separate MindSpore-format repository exists if you want the native weights.
Which frameworks can serve Xing4.1-Preview?
The model uses a different architecture from Xing4.0 (it adds Multi-head Latent Attention and DeepSeek Sparse Attention), but keeps API compatibility with the Xing 4 series. The support table in the card breaks down like this:
| Framework | Status for Xing4.1 | Notes |
|---|---|---|
| SGLang | Native, main branch (2026-11-05) | Use the upstream main branch |
| vLLM | Official out-of-tree plugin | Install XingChen-AGI/xing4-vllm-plugin |
| vLLM-Ascend | Ascend NPU | Deployment guide in the GitHub repo |
| TensorRT-LLM | Upstream PR under review | See the PR branch in the GitHub README |
| ms-swift | Native, v4.6.0+ (2026-10-01) | For fine-tuning and serving |
| LLaMA-Factory | Native, main branch (2026-10-29) | For fine-tuning |
Pre-built container images and deployment guides are in the model's GitHub repository. If you don't want to assemble the environment yourself, start there.
How do you serve Xing4.1-Preview with vLLM?
Install vLLM, then install the official Xing4 plugin. The card's example uses these core flags:
vllm serve ${MODEL_PATH} \
--host 0.0.0.0 \
--port 8000 \
--served-model-name Xing4.1-Preview \
--tensor-parallel-size 8 \
--trust-remote-code \
--gpu-memory-utilization 0.90 \
--max-num-seqs 4
Replace ${MODEL_PATH} with a local folder or XingChen-AGI/Xing4.1-Preview. What the flags do:
--tensor-parallel-size 8splits the model across 8 GPUs.--gpu-memory-utilization 0.90lets vLLM claim 90% of each card's memory.--max-num-seqs 4caps simultaneous requests.--trust-remote-codeallows code shipped with the model repo to run. Only use it with sources you trust.--served-model-namesets the name clients use when they call the server.
The example in the card continues with tool-calling options, and parser identifiers are listed in the official deployment documentation. The card notes these commands follow the Xing4.0 approach. Copy the full, current command from the GitHub repository rather than from a summary like this one.
Worth noting: with 90% utilization on 8×80 GB, you have about 576 GB to work with, and the weights take roughly 570 GB by the arithmetic above. That leaves very little cache room, which is a reason to expect trouble at long contexts on the minimum setup.
How do you serve it with SGLang?
The card says SGLang supports Xing4.1 natively on its main branch, so you install from the upstream main branch rather than a release that predates the support. The card's source text I had did not include a full SGLang launch command, so I won't invent one. Use the command in the GitHub repository's deployment guide. Expect the same memory story: 285B BF16 weights, eight 80 GB GPUs, tensor parallelism of 8.
Does llama.cpp work with Xing4.1-Preview?
No. The card states that llama.cpp and KTransformers only apply to the Xing4.0 series, not to Xing4.1-Preview. Many people run big open models on a single workstation or a Mac through llama.cpp. That route is closed for this model. If your plan was to try it on a laptop or a single consumer GPU, this model is not the one.
What sampling settings should you use?
The card lists the defaults the developers used in their evaluations:
temperature=0.8top_p=0.95repetition_penalty=1.05
They changed a few for specific tests. MMLU-Pro used temperature=0.6. GPQA Diamond and AIME 2026 used temperature=1.0. Agent's Last Exam used temperature=1.0 and repetition_penalty=1.0. Treat the defaults as a starting point and test on your own tasks. Temperature controls how varied the output is, and lower values make answers more predictable.
Do you have to host it yourself?
No. The card says the model is available through an OpenAI-compatible API on the TeleAI Open Platform, at https://api-maas.teleai.com.cn/v1, with model name Xing4.1-Preview. Any code written for the OpenAI Python client works by changing the base URL and key. The card lists support for structured output and function calling, a native 1M-token context window, and a thinking mode that turns on or off (no tiered levels).
What this means for you
If you run IT or an ML platform team: Budget for an 8×80 GB class server before you promise anyone a pilot. Decide whether you need the weights on your own hardware (data control, customization) or whether the hosted API is enough. Check the vLLM plugin and SGLang main branch for stability before building anything on them.
If you are a manager or analyst evaluating models: Ask three questions. How many GPUs does it need? What context length can we realistically run on that hardware? Which framework supports it today? For this model the answers are eight, less than 1M, and vLLM, SGLang or vLLM-Ascend.
If you just want to try it: Use the hosted API. Self-hosting a 285B model is a project, not an afternoon.
Can you build something useful without hosting a model?
Often what you need is a tool that uses AI, not a model server. Say you want an internal estimator or request form that sorts submissions with a language model. With Remy, you describe the app in plain English and it builds and deploys it, with a database, sign-in and access to nearly 400 AI models without managing API keys. That skips the GPU question entirely. It suits teams that care about the finished tool more than owning the model, and it replaces a spreadsheet or another subscription.
Frequently Asked Questions
Can I run Xing4.1-Preview on a single GPU?
Not at BF16. The model card says the weights alone need about 8×80 GB of GPU memory. It lists no quantized release, and llama.cpp, the usual route for smaller setups, does not support this model.
Is the 1M context window available on any hardware?
No. The model supports a native 1M-token context, but the card says this is subject to available GPU memory and deployment configuration. Longer contexts need proportionally more resources than the 8×80 GB baseline.
Do I need MindSpore to deploy it?
No. The repository provides converted PyTorch safetensors weights that work with Transformers, SGLang and vLLM. MindSpore is only needed if you want the native format or to train the model.
Can I fine-tune Xing4.1-Preview?
The support table lists native fine-tuning support in ms-swift (v4.6.0 and later) and in LLaMA-Factory (main branch). Fine-tuning a 285B model still needs substantial GPU resources, so check the memory requirements in each project's documentation first.
Useful for
How we source, write, and correct our articles. Editorial standards
Related articles

How to Run Xing4.1-Preview Locally: Hardware and Setup

How to Set Up Nvidia OpenShell to Sandbox AI Agents

How to Run Ternary Bonsai 2.5 27B Locally on Your Own GPU
