How Much To Run AI
Open weights

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:

Xing4.1-Preview has 285 billion total parameters and about 17 billion active per token. Separate public BF16, FP8, NVFP4 and FlagOS W8A8 downloads have different weight sizes; local inference also needs context and runtime memory.
Public checkpoint variants and separate API and local-server cost paths. File size is not total inference memory; include context and runtime overhead.

Use this model

API docs and console

Official model repository

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 detailPublished value
Total / active parameters285B total / about 17B active per token
Maximum context1M tokens in the model card
Hosted API suggestionUp to 896K input and 128K output tokens
Weights licenseApache 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.

Send a small request after subscribing and setting XING_API_KEY
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 repositoryFormat and ownerSafetensors payloadWhat the artifact establishes
XingChen-AGI/Xing4.1-PreviewOriginal BF16, publisher repository559.8 GB / 521.4 GiB261 unquantized shards
XingChen-AGI/Xing4.1-Preview-FP8FP8 E4M3, publisher repository281.7 GB / 262.4 GiBSeparate downloadable checkpoint; runtime and context memory are additional
XingChen-AGI/Xing4.1-Preview-NVFP4NVFP4 E2M1, publisher repository17 numbered shards: 158.0 GiB; all .safetensors, including the supplemental file: 159.1 GiBDownload all 18 .safetensors files
FlagRelease/Xing4.1-Preview-W8A8-metax-FlagOSW8A8 FlagOS adaptation published for MetaX281.4 GB / 262.2 GiBSeparate 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 evaluationXing4.1-PreviewReading note
Terminal-Bench 4.020.6GPU sandbox tasks were skipped
AutomationBench v1.0.645.3Other models use their own published results
Apex-Agents v1.150.7Tool-agent evaluation
HLE with tools45.7Text-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)

Calculators