Xing4.1-Preview: API Access, GPU Setup and Costs
Xing4.1-Preview is a 285B-parameter text model with about 17B active per token. Try it through China Telecom’s Tianyi API or choose among public BF16, FP8 and NVFP4 checkpoints, plus a separate FlagOS W8A8 adaptation. The hosted service requires a model subscription, while the public token rate is still unpublished. Include the full weight files, context and runtime when estimating local hardware cost.
Content reviewed:

Use this model
API docs and console
- Tianyi: API setup, supported endpoints and context limits
Availability and signup terms are set by the provider.
Official model repository
- Open the Xing4.1-Preview model card
Model card, downloads and license conditions.
Good first tasks for a controlled trial
- Give the agent a small repository issue with a known test command. Track time and token use across the full session, including retries, and accept the fix only when the test passes.
- Ask it to reconcile several long documents and require a source passage for every extracted field.
- Compare a bounded tool workflow with another model using the same starting state, context and acceptance check.
What 285B total and 17B active parameters mean
Xing4.1-Preview is a text-in, text-out mixture-of-experts model. Its 45-layer network has 285B total parameters, with about 17B active per token. The model card describes an MLA plus DSA attention design and a one-million-token context. Active parameters describe computation selected for each token. The complete set of weights determines the storage requirement, with additional memory for runtime and context.
The original checkpoint contains 261 unquantized safetensors shards with BF16 weights and some auxiliary FP32 tensors. The model card lists an Apache 2.0 license. The downloadable weight variants and their file payloads are compared in the deployment section.
| Decision detail | Published value |
|---|---|
| Total / active parameters | 285B total / about 17B active per token |
| Maximum context | 1M tokens in the model card |
| Hosted API suggestion | Up to 896K input and 128K output tokens |
| Weights license | Apache 2.0 |
Try the hosted Tianyi API and check its current quote
China Telecom’s Tianyi AI Open Platform documents Xing4.1-Preview through OpenAI-compatible Chat Completions and Responses endpoints, plus an Anthropic-compatible Messages endpoint. Subscribe to the model and create an API key in the console before making a request. The API accepts and returns text, supports function calling and structured output, and provides a thinking on/off control.
The service documents a one-million-token total context, with a recommended balance of up to 896K input and 128K output. Thinking text counts toward the output budget, so set a maximum completion length that leaves room for the final answer. Batch inference and explicit cache controls are not listed. The service supports implicit caching, but the public docs do not specify a cache discount.
Tianyi’s public pricing repository still says pricing details will be published later. Open the console before budgeting a production workflow and record the current model quote, token accounting and any subscription conditions. This page does not estimate a per-token price from another Xing model or from an announcement.
from openai import OpenAI
import os
client = OpenAI(
api_key=os.environ["XING_API_KEY"],
base_url="https://api-maas.teleai.com.cn/v1",
)
response = client.chat.completions.create(
model="Xing4.1-Preview",
messages=[
{"role": "user", "content": "List three tests for this change: [describe a small code change]."}
],
max_completion_tokens=2048,
)
print(response.choices[0].message.content)Size a local deployment around the full checkpoint
The model card estimates that the original BF16 weights alone need roughly eight 80GB GPUs. The publisher also hosts separate FP8 and NVFP4 checkpoints. A W8A8 adaptation for the MetaX and FlagOS stack is published separately by FlagRelease.
The table totals .safetensors payloads, not serving memory. Even the complete NVFP4 payload exceeds one 80GB card before context and runtime memory are counted, so it does not establish a single-card deployment. The model card lists native SGLang support and an official out-of-tree vLLM plugin; its `llama.cpp` and KTransformers instructions apply to Xing4.0, not Xing4.1. Use a Xing4.1-specific recipe and pin the serving build and model revision.
For a small deployment trial, start at the context size your task needs. Record the GPU count and memory, weight revision, serving version, context length, concurrency, first-token wait, decode rate and full-task time. Include loading and verification when comparing a rented node with a hosted API.
| Public weight repository | Format and owner | Safetensors payload | What the artifact establishes |
|---|---|---|---|
| XingChen-AGI/Xing4.1-Preview | Original BF16, publisher repository | 559.8 GB / 521.4 GiB | 261 unquantized shards |
| XingChen-AGI/Xing4.1-Preview-FP8 | FP8 E4M3, publisher repository | 281.7 GB / 262.4 GiB | Separate downloadable checkpoint; runtime and context memory are additional |
| XingChen-AGI/Xing4.1-Preview-NVFP4 | NVFP4 E2M1, publisher repository | 17 numbered shards: 158.0 GiB; all .safetensors, including the supplemental file: 159.1 GiB | Download all 18 .safetensors files |
| FlagRelease/Xing4.1-Preview-W8A8-metax-FlagOS | W8A8 FlagOS adaptation published for MetaX | 281.4 GB / 262.2 GiB | Separate FlagRelease repository; MetaX documents an eight-C550 deployment path |
Read the reported coding and agent benchmarks with their limits
XingChen-AGI reports results across terminal work, automation and tool-using reasoning. The comparison table provides a shortlist of tasks to try on your own repositories and workflows.
The footnotes narrow two evaluations: GPU sandbox tasks were skipped for Xing4.1 on Terminal-Bench, and HLE with tools used text-only data. Scores for the other models came from their separate public reports. These task scores do not measure tokens per second or verify a particular GPU configuration. Compare accepted results and complete costs in your own environment.
| Publisher-reported evaluation | Xing4.1-Preview | Reading note |
|---|---|---|
| Terminal-Bench 4.0 | 20.6 | GPU sandbox tasks were skipped |
| AutomationBench v1.0.6 | 45.3 | Other models use their own published results |
| Apex-Agents v1.1 | 50.7 | Tool-agent evaluation |
| HLE with tools | 45.7 | Text-only data for Xing4.1 |
Calculate the cost per accepted task
For hosted use, add every billed input and output token across the agent session, including thinking tokens, retries and repair turns. Apply the price and cache treatment shown for your Tianyi account. Divide the total by tasks that passed their agreed check, rather than by prompts sent.
For self-hosting, multiply the node’s total hourly charge by the time it is allocated to the task, then add storage and external tool charges. Add electricity only when the hardware or rental quote bills it separately. Divide by accepted tasks. Keep the full node price separate from the active-parameter count because the complete weights occupy storage and inference memory.
The public rate was not available in the pricing page reviewed on November 24, 2026. A production estimate needs the account’s actual quote and usage record. For a fair comparison, run the same issue or document task on both paths and include model loading, tool execution, tests and review time.
Before you use it
- The public API quote was not posted on the pricing page reviewed on November 24, 2026.
- The checkpoint is text-only. The model-card task scores are not tokens-per-second measurements, and no reviewed source verifies a single 80GB GPU deployment.
- Every listed checkpoint size covers weight files only. Runtime, context and concurrency need additional memory.
- The benchmark table is developer-reported and includes the stated test omissions and cross-report comparisons.
How to get started
Start with a bounded coding or document task, save the API usage or node allocation, and count success only after an external check passes.
Sources
Sources (10)
- Official Hugging Face model card: weights, license, benchmarks and serving ↗
Source checked:
- Publisher FP8 checkpoint repository and weight files ↗
Source checked:
- Publisher NVFP4 checkpoint and quantization configuration ↗
Source checked:
- FlagRelease W8A8 adaptation for MetaX on FlagOS ↗
Source checked:
- MetaX Day-0 adaptation announcement ↗
Source checked:
- Tianyi API onboarding, model capabilities, limits and endpoints ↗
Source checked:
- XingChen-AGI public pricing repository ↗
Source checked:
- Official Xing4 vLLM plugin ↗
Source checked:
- Xing4 family technical report ↗
Source checked:
- Reddit release thread; discussion only, no reproduced runtime data ↗
Source checked: