ModelBrief · Xing4.1-Preview · Topic Page
Last updated Dec 1, 2026

Xing4.1-Preview Deployment: TeleAI API and 8×80GB Setup

ModelBrief · Published 2026-11-23 · Fact-check 2026-11-29 · Reference: Hugging Face model card, TeleAI Open Platform, GitHub XingChen-AGI org, ModelScope

Xing4.1-Preview offers two ways in, and both worked on launch day: a hosted API on the TeleAI Open Platform that is OpenAI-compatible — change the base URL and you are connected — and Apache 2.0 open weights in three precision tiers for self-hosting. The most important sentence first: pricing has not been published. As of 2026-11-29, neither the model card nor the TeleAI platform shows per-token pricing, so this article prints no price figures at all, and any claim to know Xing4.1-Preview's API rates should be checked against an official source first.

Route one: the TeleAI API, OpenAI-compatible

The hosted API runs on the TeleAI Open Platform with an OpenAI-compatible interface: base_url https://api-maas.teleai.com.cn/v1, model name Xing4.1-Preview. Per-request limits are 896K input tokens and 128K output tokens — note this is slightly below the model's native 1M context; the API-side input cap is 896K, not 1M. Thinking mode is a simple on/off switch with no intermediate levels; structured output and function calling are both supported, so agentic use cases work out of the box.

Python example with the OpenAI-compatible client (this assumes you already hold a TeleAI API key):

from openai import OpenAI

client = OpenAI(
    base_url="https://api-maas.teleai.com.cn/v1",
    api_key="YOUR_TELEAI_API_KEY",
)

resp = client.chat.completions.create(
    model="Xing4.1-Preview",
    messages=[
        {"role": "user", "content": "Write a quicksort in Python and explain its time complexity."},
    ],
    max_tokens=4096,
)
print(resp.choices[0].message.content)

curl example:

curl https://api-maas.teleai.com.cn/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_TELEAI_API_KEY" \
  -d '{
    "model": "Xing4.1-Preview",
    "messages": [{"role": "user", "content": "Hello"}],
    "max_tokens": 4096
  }'

Two reminders: first, the model name must be written in full as Xing4.1-Preview — not shortened to Xing4.1 or Xing4; second, thinking mode on or off changes output length and latency, so for long-reasoning tasks get it working with thinking on first, then compare with it off. Pricing is unpublished — confirm the billing terms on the TeleAI platform before estimating costs, and do not estimate from other models' rates.

Route two: open weights in three precisions

The weights are mirrored on Hugging Face (XingChen-AGI/Xing4.1-Preview), ModelScope, Modelers and AtomGit under Apache 2.0, covering weights and code alike. The native format is MindSpore, converted to PyTorch safetensors in three precision tiers:

PrecisionSizeNotes
BF16approx. 521.4 GiB261 shards, 33,108 tensors, full-precision weights
FP8approx. 281.7 GBRoughly half the size of BF16
NVFP4approx. 170.9 GBThe smallest tier, roughly a third of BF16
Weight tiers compared (GB) BF16 521.4 FP8 281.7 NVFP4 170.9

As of 2026-11-24 the main repository had 1,848 downloads and 351 likes — two days after release, so traction is still early. Tier guidance: use BF16 to reproduce the official benchmarks at full precision; use FP8 or NVFP4 to fit a single machine and save memory, at the cost of quantization accuracy loss (the vendor has not published benchmark deltas between tiers, so this article does not guess them).

Self-hosting: BF16 needs 8×80GB

The BF16 weights run to about 521.4 GiB, and with tensor parallelism 8 the baseline is about 8×80GB GPUs — the deployment baseline given in the model card. Memory needs drop accordingly for the FP8 and NVFP4 tiers, but the vendor has not published GPU counts for those tiers, so this article does not compute them for the vendor — measure actual memory use with your chosen inference framework before deploying.

Framework support (as of 2026-11-29, per the model card and GitHub): ms-swift v4.6.0 and above natively; SGLang main branch natively; LLaMA-Factory main branch natively; vLLM via the official out-of-tree plugin (xing4-vllm-plugin under the XingChen-AGI GitHub org); vLLM-Ascend likewise; TensorRT-LLM support code is under upstream review and not yet merged. On the Ascend side, deployment runs through vLLM-Ascend and MindSpore — the same stack family as training.

One trap must be nailed down: llama.cpp and KTransformers apply only to Xing4.0, not to 4.1 — the model card says so explicitly. Do not apply a 4.0 deployment tutorial to 4.1 as-is; llama.cpp cannot run the 4.1 weights today.

Which route to pick

For a quick trial, an agentic demo, or verifying benchmark scores, use the TeleAI API: zero deployment cost, an 896K input cap that covers most tasks, thinking mode and function calling already open — with the single unknown being unpublished pricing, which must be confirmed before going to production. For long-term serving, offline use, or embedding the model in your own inference cluster, use the open weights: Apache 2.0 is commercially friendly, and the FP8/NVFP4 tiers pull the bar down from 8×80GB — but quantization accuracy loss and exact GPU counts need your own measurements. Neither route requires waiting: weights and API were both live on launch day, 2026-11-23.

FAQ

How much does the Xing4.1-Preview API cost?

Unpublished. As of 2026-11-29, neither the model card nor the TeleAI platform shows per-token pricing. This article prints no price figures; confirm billing terms on the TeleAI Open Platform before estimating costs.

Can llama.cpp run Xing4.1-Preview?

No. llama.cpp and KTransformers apply only to Xing4.0, not to 4.1 — the model card says so explicitly. Use ms-swift, SGLang, LLaMA-Factory or the official vLLM plugin instead.

How much memory does local BF16 deployment need?

The weights are about 521.4 GiB, and with tensor parallelism 8 the baseline is about 8×80GB GPUs. FP8 (about 281.7 GB) and NVFP4 (about 170.9 GB) need correspondingly less, but the vendor has not published GPU counts for those tiers — measure before deploying.

Is the API context limit really 1M?

The model's native context is 1M, but the TeleAI API caps a single request at 896K input and 128K output tokens. Plan input length around 896K on the API route; the full 1M context is available only on the self-hosted weights route.

ModelBrief's take: Xing4.1-Preview's access story is more complete than most open releases in the same week: API and three weight tiers live on launch day, the mainstream inference frameworks essentially all covered, and Apache 2.0 with no commercial strings attached. The one gap is unpublished pricing — the hosted API's cost cannot be calculated yet, and that information has to be filled in before production use. On the deployment side there is exactly one trap, but it is a real one: do not try llama.cpp on 4.1, it only supports 4.0.

Reference: Hugging Face — XingChen-AGI/Xing4.1-Preview · Technical report arXiv:2611.22115 · ModelScope · TeleAI Open Platform · QbitAI · Xing4.1-Preview topic page (rewritten and organized by ModelBrief; facts per the model card and the original sources)