ChinaAPI Insights · Open Models

Tencent Hunyuan Hy4 Preview Local Deployment and Cost-Effectiveness

What it takes to self-host Tencent Hunyuan Hy4 preview: official BF16 and FP8 weight sizes, B200/B300/H200 configurations, 200-person and public-API tiers, Apache-2.0 duties, and API break-even math.

ChinaAPI Research · 2026-09-07

The short answer: Hy4 preview is genuinely open-weight and commercially usable under Apache-2.0, but it is a datacenter model—not a local-workstation model. Its 49B activated backbone parameters describe compute per token. They do not shrink the 770B backbone, the native 10B MTP layer or the roughly 758 GiB official FP8 weight files that must be stored and served.

For most teams, including a 200-person company, start with the managed API and buy a Blackwell deployment only after measured, sustained traffic or a hard data-boundary requirement justifies it. That is our recommendation, not a claim that self-hosting has no value: Hy4 is a strong fit for private long-horizon coding, office analysis, game-development and scientific-agent workloads when infrastructure control matters.

This is a deployment and cost analysis, not a ChinaAPI quality benchmark. ChinaAPI has not reproduced the open checkpoint on its own hardware, and Tencent's published quality evaluations remain vendor results.

What actually has to fit

Tencent specifies a 770B-parameter MoE backbone with 49B backbone parameters activated per token, plus one native MTP layer with 10B total and 0.7B activated parameters. The advertised maximum context is 1,048,576 tokens. The model is text-only.

We read the public Hugging Face repository metadata on 2026-09-07 and summed the safetensor file sizes. The result is about 1,559.98 GB (1,452.85 GiB) for the original checkpoint and 813.77 GB (757.88 GiB) for the official MXFP8 checkpoint. Those are weight files before runtime allocations and KV cache.

Official pathPublished shapeConfigured context in the framework matrixWhat it establishes
MXFP8 on B300 or GB3004 GPUs, TP4, one node262KSmallest published GPU-count recipe
MXFP8 on B2008 GPUs, TP8, one node262KPractical single-node Blackwell baseline
BF16 on B3008 GPUs, TP8, one node262KOne-node original-precision path
BF16 on H20016 GPUs, TP16, two nodes131KHopper path; MXFP8 requires Blackwell

The important context detail is easy to miss. SGLang estimates about 95 KB of replicated KV and sparse-index cache per token per tensor-parallel rank, then recommends 262K context on the 192GB-or-larger Blackwell paths and 131K on H200. One million positions in the model specification is not evidence that one million tokens will meet a production concurrency or latency target on these launch shapes.

Three deployment tiers

1. Smallest official configuration

The smallest published GPU count is 4x B300 or 4x GB300 with the official MXFP8 checkpoint, TP4 and 262K configured context in the SGLang Hy4 matrix. Treat this as the smallest documented framework path, not an absolute hardware minimum across all future quantizations and engines.

Tencent's top-level vLLM and SGLang examples use TP8. vLLM supplies a Hy4-specific image, MTP speculative decoding, the FLASHMLA_SPARSE attention backend and Hy4 reasoning/tool parsers. SGLang also publishes hardware-specific cells and says unlisted parallelism combinations are experimental until run end to end.

There is no credible official single-workstation route today. Even the FP8 safetensors alone are roughly six times a 128GB unified-memory workstation, before cache and runtime headroom.

2. A 200-person internal team

For our standard planning profile—80–120 daily active users, 20–30 peak online and 8–16 concurrent generations—start load testing with one 8x B200 or 4x B300 FP8 worker. Use real repository sizes, prompt lengths, tool loops, reasoning settings and output lengths. Tencent and the serving frameworks do not publish a Hy4 throughput number for this profile, so employee count cannot be converted directly into GPU count.

For a noncritical pilot, one worker is enough to learn. For an internal service that must survive maintenance or a node failure, the deployable configuration is two independent workers. Prefix caching, request queues and a short-context lane can materially change capacity; a 1M-context request class should not share an unrestricted queue with ordinary coding traffic.

Our stance: do not buy two nodes for 200 employees merely because Hy4 is open-weight. Prove that the managed route passes the task suite, then measure whether traffic is steady enough, sensitive enough or expensive enough to justify dedicated capacity.

3. A public commercial API

Start with at least two independently deployable workers, admission control, per-tenant limits, rolling-update capacity and separate service objectives for short and long context. Decide whether low-latency traffic should use MTP: SGLang recommends it for interactive replies but notes that draft-and-verify overhead can lose at saturation, where MTP-off high-throughput serving may be preferable.

The official recipes expose an OpenAI-compatible endpoint and parse Hy4 reasoning plus tool calls. That does not create an SLA by itself. Validate tool-schema behavior, timeouts, cache isolation, failure recovery and the exact preview-model retirement policy of any upstream route before promising stability to customers.

Run these models yourself. One API key, OpenAI-compatible endpoint, and transparent USD pricing. Check the live pricing page for the current displayed rate.

Get a key — $2 free credit

API versus renting an 8x B200 node

ChinaAPI currently lists hy4-preview at $0.8889 per million input tokens and $2.6667 per million output tokens. The rate is generated from the gateway-reconciled catalog; the live pricing page remains authoritative.

As a reproducible infrastructure baseline, Lambda listed an 8x B200 instance at USD 6.69 per GPU-hour when reviewed on 2026-09-07, or USD 53.52 per node-hour, before tax. Storage, deployment labor, idle capacity, monitoring and redundancy are excluded. We have not established that ChinaAPI's managed route is byte-identical to either downloadable checkpoint, so this is an operating-cost threshold, not a like-for-like quality result.

To spend USD 53.52/hour through the API, the workload would need to sustain:

Those thresholds are deliberately demanding. A rented node that generates below the break-even rate is more expensive on raw hourly cost before operations; a second redundancy node doubles the hurdle. Self-hosting can still win for privacy, offline operation, serving research, custom quantization or contractual control, but low utilization does not become economical just because the weights are free.

You can reproduce both the weight-size and price calculation:

import json
import urllib.request

def safetensor_gib(repo):
    url = f"https://huggingface.co/api/models/{repo}?blobs=true"
    data = json.load(urllib.request.urlopen(url))
    total = sum(
        item.get("size") or item.get("lfs", {}).get("size") or 0
        for item in data["siblings"]
        if item["rfilename"].endswith(".safetensors")
    )
    return total / 2**30

print(safetensor_gib("tencent/Hy4-preview"))
print(safetensor_gib("tencent/Hy4-preview-FP8"))

# Download /data/model-pricing.json from this site beside the script.
rows = json.load(open("model-pricing.json", encoding="utf-8"))["models"]
row = next(item for item in rows if item["model"] == "hy4-preview")
node_hour = 8 * 6.69
output_tokens_per_hour = node_hour / row["output_usd_per_1m_tokens"] * 1_000_000
blended_rate = (
    row["input_usd_per_1m_tokens"] * 0.75
    + row["output_usd_per_1m_tokens"] * 0.25
)
mixed_tokens_per_hour = node_hour / blended_rate * 1_000_000
print(output_tokens_per_hour, mixed_tokens_per_hour)

License and commercial-use limits

Hy4 preview uses the standard Apache License 2.0. Commercial use, modification and distribution are permitted; we found no model-specific MaaS or revenue restriction in the published license. Distribution still carries duties: include the license, preserve applicable notices, mark modified files and respect the license's patent-termination terms. The license does not grant trademark rights.

That is materially simpler for a public API than a custom model license, but it is not legal advice. Your own data, fine-tunes, product claims, export controls and downstream-use obligations remain separate review items.

Where Hy4 preview fits

Do not choose it for image or video input, a single-GPU deployment, or a cheap always-idle internal demo. Tencent also discloses that this early preview may reason longer than needed and over-verify its own work.

Sources and limitations

We did not reproduce model quality, throughput, long-context behavior, power draw or the managed route's byte identity. The 200-person and redundant-public-service shapes are ChinaAPI capacity-planning recommendations layered on official framework configurations. Prices and preview support can change; the generated live pricing page is authoritative for ChinaAPI rates.

Try it on ChinaAPI. Every model in this article is live behind one endpoint — no mainland-China account or phone number needed, $2 free trial to start.

Start free — $2 credit View live pricing
Method & data. Written by: ChinaAPI Research. Published 2026-09-07, last updated 2026-09-07. Data source: Tencent Hy4 repository and license, Hugging Face file metadata, SGLang and vLLM recipes, Lambda on-demand pricing, ChinaAPI gateway-reconciled pricing. Token-model rates are synchronized from the gateway and may follow providers' official China list prices where configured. Media rates use the displayed billing unit and may include a service margin covering provider input/output billing, payment processing, chargeback exposure, and operations; any margin is included in the displayed rate and is not added separately. The live pricing page is authoritative.