Latest in AI
Xing4.1-Preview: When to Use the API Instead of Hosting the Weights
The model activates about 17 billion parameters per token, but serving the BF16 checkpoint is a much larger job.
China Telecom's Xingchen team posted Xing4.1-Preview weights on Hugging Face. The model card lists 285 billion total parameters, roughly 17 billion active per token, and about 521.4 GiB of BF16 weights. If your immediate question is whether it can work through a long document or codebase, start with the hosted API if your data rules allow. Paying for a cluster before measuring that behavior doesn't make the test better.
A mixture-of-experts model uses a subset of its weights on each token. Different tokens can use different subsets. The 17B figure tells you about the path through the model, but does not give you a 17B checkpoint to download or a memory quote for serving it.
Verify three limits before buying capacity
| Limit | What to budget for |
|---|---|
| Weight size | About 521.4 GiB for the published BF16 checkpoint, before runtime overhead. |
| Hosted context | The model card lists up to 896K input tokens and 128K output tokens through its API. |
| Self-hosted context | The model's configured ceiling is 1M tokens; the context you can actually serve depends on the runtime, memory budget and concurrent requests. |
The model card uses roughly eight 80 GB GPUs as a reference for the BF16 weights. That's not a proven minimum for your workload or a promise of full context at production concurrency. Bring up one replica at a shorter limit first. Measure memory during prompt ingestion, time to the first token, and whether a second concurrent request changes reliability. Keeping just the first successful request would hide the pressure that long context puts on the server.
Try task quality through the hosted endpoint
The China Telecom integration guide lists the exact model ID Xing4.1-Preview and the OpenAI-compatible base URL https://api-maas.teleai.com.cn/v1. Confirm access, region and terms before sending any private code or documents. The model card's quickstart doesn't establish an API price for your account, so get the current quote rather than turning a claim about active parameters into a cost estimate.
For a useful first comparison, give your current model and Xing the same public repository snapshot or a synthetic document set. Ask them to cite three facts spread through the text and return a small structured result. Move one fact near the end of the longest prompt and keep the exact answer in your test fixture. Compare correct citations and valid output at several lengths, as well as latency. A successful request at 896K input tokens doesn't tell you whether the cited facts were right.
Check support for the exact checkpoint
The model card describes SGLang support on its main branch and points to an external vLLM plugin, whose public README still describes the Xing4.0 series. Treat that as a compatibility question to resolve on a test replica, not as an instruction to reuse a known 4.0 setup unchanged. The card explicitly distinguishes 4.0 support for llama.cpp and KTransformers from 4.1 Preview. For any quantized variant, confirm that the repository holds the complete checkpoint, the runtime supports the packed format, and the same evaluation still passes before budgeting its smaller files as a production solution.
I would only move to self-hosting after the preview shows a repeatable benefit on a job worth moving. At that point, compare the cost and latency of your chosen replica at real concurrency. The useful number is what one working request costs you, not the active-parameter count.
I'm Paras. I work with teams building AI products.
I help turn infrastructure tradeoffs into technical guides buyers and developers can use.