by Tencent

Hy4 Preview pricing, limits and verdict

Tencent's largest open-weight Hunyuan model yet, a 770B-parameter MoE preview built for long-horizon coding and productivity agents at a fraction of closed-frontier pricing.

Best for
Open-weight agentic coding at very large context
Not for
Multimodal products (vision, audio, video)
  • Preview
  • Open source

Should you use Hy4 Preview?

Hy4 Preview replaces closed frontier APIs for teams that want an open-weight model with a 1,048,576-token context, not the single highest reasoning score. It suits cost-sensitive agentic coding and long-document work, not teams needing multimodal input or a published safety evaluation.

Best for

  • Open-weight agentic coding at very large context 82.9 SWE-bench Multilingual and a 1,048,576-token window support long, tool-using coding sessions without a closed API.
  • Cost-sensitive long-context research or document work $0.834 per 1M input and $0.042 per 1M cache-hit pricing undercuts closed frontier models for bulk long-context workloads.
  • Self-hosted deployments needing a permissive license Apache 2.0 weights plus an official FP8 build and ready vLLM/SGLang Docker images.

Not for

  • Multimodal products (vision, audio, video) Hy4 Preview is text-only, with no image, audio, or video input or output.
  • Regulated deployments needing documented safety evals No system card, red-team disclosure, or agentic-safety evaluation has been published for this release.
  • Small-team local self-hosting Needs roughly 924GB to 1,848GB of VRAM and 8 to 16 B200/B300-class GPUs at minimum.

Hy4 Preview pricing

Input, per 1M tokens
$0.83/1M
Output, per 1M tokens
$2.50/1M
Cached input, per 1M tokens
$0.04/1M
Pricing model
per-token
Free tier
No

What a real job costs

JobInputOutputTotal
Summarise a 20-page PDF$0.025$0.0025$0.028
Support reply$0.0017$0.0008$0.0024
One coding agent run$0.167$0.050$0.217

Budgets: 20-page PDF = 30k in / 1k out · Support reply = 2k in / 300 out · Coding agent run = 200k in / 20k out. Computed from the vendor's per-token prices at render time; cached-input discounts are not applied.

Cost examples

Summarize a 100K-token research paper
$0.09
Daily coding agent (1M tokens in / 200K out)
$1.33
Customer support chat (2K in / 500 out per turn, 1000 turns)
$2.92

Tencent Cloud TokenHub charges $0.834 per 1M input tokens, $2.501 per 1M output, and $0.042 per 1M cache-hit input tokens (Singapore pricing, Aug 28 2026); the domestic CNY listing is about ¥6 input and ¥18 output per 1M tokens. Tencent has said this runs 5 to 6 times above the outgoing Hy3 model, which keeps its own free run through Sept 30, 2026 as a migration window for existing users. No batch or provisioned-throughput tier is published.

Self-hosting requirements

Min vram gb
924
Self-hosted
Yes
Recommended GPU
8x-16x NVIDIA B200/B300-class GPUs (tensor-parallel)

What Hy4 Preview can do

Hy4 Preview is Tencent's open-weight Hunyuan large language model, released August 2026 as a Mixture-of-Experts design with 49B parameters active per token out of a much larger total. It targets developers who want a self-hostable, permissively licensed model for agentic coding, not a closed API-only frontier model.

What goes in and what comes out

Reads

  • text
  • tool-calls

Writes

  • text
  • tool-calls

Capabilities

  • Function callingSupported
  • Structured outputSupported
  • Tool useSupported
  • Audio inputNot supported
  • Audio outputNot supported
  • Code executionNot supported
  • Video inputNot supported
  • VisionNot supported
  • Web browsingNot supported
Reasoning modes
standard

Key features

  • Flagship-Class Context Window

    One of the largest context budgets of any open-weight model released in August 2026, with a 64,000-token maximum completion length.

  • Apache 2.0 Open Weights

    Full-precision and FP8 checkpoints mirrored across four major open-model hosts within hours of release, all under the Apache 2.0 license.

  • Native Tool and Structured-Output Calling

    Accepts function-calling parameters and returns schema-constrained JSON, built for multi-step coding and productivity agents rather than open-ended chat.

  • Speculative Decoding via Native MTP Layer

    A dedicated 10B-parameter multi-token-prediction layer accelerates generation without a separate draft model, built directly into the checkpoint.

  • Steep Cache-Hit Discount

    Reusing cached input tokens costs a small fraction of the fresh-input rate, a meaningful saving for multi-turn agent sessions that resend the same context.

Known limitations

  • No published SWE-bench Verified, AIME 2025, MMLU-Pro, or ARC-AGI-2 score as of this research; independent trackers place it behind Claude Opus 5 and GPT-5.6 on most public evaluations.
  • Text-only: no vision, audio, or video input or output, unlike multimodal frontier competitors.

Who it is for

  • Open-weight LLM infrastructure teams self-hosting agentic coding models
  • Cost-sensitive teams running long-context (500K+ token) document or research workloads
  • Product teams already on Tencent Cloud or the CodeBuddy/WorkBuddy ecosystem
  • AI researchers benchmarking open MoE architectures against closed frontier models

Supported languages

  • English
  • Chinese

Hy4 Preview benchmarks

Standout result

92.3

GPQA Diamond score, Hy4 Preview's strongest published benchmark

Source: Hugging Face model card (tencent/Hy4-preview), Aug 28 2026

Where it sits

Priced around the middle of the 112 GA models with a published price (rank 47), in the top third on GPQA Diamond (rank 17 of 63), and one of 43 that document a zero-data-retention option. Ranked against GA models; this record is not GA.

MeasureThis modelRankMedian
Blended price (3:1)$ per 1M tokens$1.25/M#47 / 112peer median $1.71/M
GPQA Diamond% correct92.3%#17 / 63peer median 87.8%

Ranks are against GA models on Hokai that publish the same figure; ties share a rank.

Benchmark scores

Show all 8 benchmark scores
  • GPQA Diamond vendor-reported · 28 Aug 202692.3%PhD-level science questions that are hard to search for, % correct.
  • Terminal Bench vendor-reported · 28 Aug 202685.4
  • SWE Bench Multilingual vendor-reported · 28 Aug 202682.9
  • Toolathlon Verified vendor-reported · 28 Aug 202674.1
  • SWE Bench Pro Public vendor-reported · 28 Aug 202665.7
  • Deep SWE vendor-reported · 28 Aug 202664.3
  • Humanity's Last Exam vendor-reported · 28 Aug 202655.4%Expert-written questions across many fields, % correct.
  • Tencent Internal Blind Eval vendor-reported · 28 Aug 20263.0

Measured figures

LMArena Code WebDev Rank Open Models
#3

A benchmark is an exam, not the job. Scores transfer unevenly between tasks, so weigh the one closest to your workload and read every figure with its source.

Strengths and limits

Strengths

  • Posts an 85.4 on Terminal Bench, its strongest published agentic benchmark to date.
  • Ships as fully open weights on day one, letting teams fine-tune or self-host without a vendor API dependency.
  • Cache-hit pricing runs a small fraction of the fresh-input rate, well suited to repeat-context agent loops that reuse the same system prompt.
  • Scores 92.3 on GPQA Diamond and 82.9 on SWE-bench Multilingual (with tools), edging past Kimi K3 (2.94/4.00) and GLM-5.3 (2.92/4.00) on Tencent's own 203-task blind expert evaluation (2.99/4.00).
Show 3 more
  • 1,048,576-token context window with a 64,000-token max output, among the largest of any open-weight model shipping in August 2026.
  • Apache 2.0 license with same-day BF16 and FP8 weights on Hugging Face, GitHub, ModelScope, and GitCode, plus ready-made vLLM and SGLang Docker images.
  • Cache-hit input pricing of $0.042 per 1M tokens, about 95% cheaper than the $0.834 fresh-input rate, favors repeat-context agent loops.

Limits

  • None of the current-generation reasoning benchmarks (SWE-bench Verified, AIME 2025, MMLU-Pro, ARC-AGI-2) have a published score, and third-party trackers rank it below Claude Opus 5 and GPT-5.6 across most other evals.
  • Self-hosting needs close to a terabyte of VRAM across a double-digit GPU cluster, and per-token pricing runs well above the outgoing Hy3 model's rate.

Hy4 Preview alternatives

The nearest AI models on Hokai for the same job.

ModelLabContextIn / out per 1MReads and writes
Hy4 Preview This pageTencent1M$0.834 / $2.50text → text
Amazon ErgoAmazon's open-weights model for coding agents: a 1M-token context window, text only, with weights on Hugging Face since December 2026.Amazon1M$1 / $3text → text
GLM-5.4Z.ai's GLM-5.4 loops a 750B base twice, takes text, image and video in a 1M-token window, and is on the GLM Coding Plan before its API.Z.ai1M--text, image, video → text
InfiX-V1InfiX-V1 is a 209B mixture-of-experts model with 14B active parameters and a 256K context window, released 1 December 2026 with an MIT base checkpoint.InfiX262K--text → text

Hy4 Preview specs

Context window
1.0M tokens
Max output
64K tokens
Latency (P50)
3260 ms
Tokens per second
39 tok/s
Mixture of experts
Yes
Parameters
770B total, 49B active per token
Architecture
Mixture-of-Experts (MoE): 78 layers, 1 dense FFN + 77 MoE layers (256 routed + 1 shared expert, top-8 routing)
VRAM requirements
~1,848GB at BF16, ~924GB at MXFP8; minimum 8-way tensor parallel (16x B200 or 8x B300-class GPUs)

Training data

Training data composition and cutoff date are not publicly disclosed by Tencent for this release. The model card describes Hy4 Preview as an early version with acknowledged headroom remaining in both pretraining and post-training.

Weight formats

  • BF16
  • FP8

API endpoints

NameEndpointAuth
Tencent Cloud TokenHub (Singapore)https://www.tencentcloud.com/techpedia/148044?lang=enBearer API key (OpenAI-compatible)
OpenRouterhttps://openrouter.ai/tencent/hy4-previewOpenRouter API key
Hugging Face (self-hosted weights)https://huggingface.co/tencent/Hy4-previewNone (open weights)

Regions

  • Singapore
  • Silicon Valley (US)

Prompting patterns

Show 2 prompting patterns
  • Pass explicit tool schemas and response_format

    Send tools + tool_choice plus a JSON response_format schema on the OpenAI-compatible endpoint

    Hy4 Preview supports native structured outputs for agent and coding loops.

  • Cap reasoning length in the system prompt

    Add 'Answer once confident; do not re-verify completed steps' to the system prompt

    The model card flags a tendency to over-verify and over-reason on complex tasks, adding latency and cost.

Known quirks

Show 4 known quirks
  • Over-verifies completed work

    The official model card flags a tendency to double-check already-finished steps longer than needed, especially on multi-step agentic and coding tasks.

    Workaround: Add an explicit stop condition to the system prompt, such as 'Once tests pass, stop and report results without re-checking.'

  • Reasoning runs long on hard tasks

    Tencent describes the preview as spending more time reasoning through complex tasks than necessary, which raises both latency (3.26s p50) and token cost.

    Workaround: Set a max_tokens ceiling and a turn budget for agent loops to cap runaway reasoning chains.

  • No behavioral parity on compatible endpoints

    The OpenAI- and Anthropic-compatible API modes match request and response shape only; Tencent explicitly calls this 'not behavioral identity' with the source APIs.

    Workaround: Re-test prompts that worked on GPT or Claude endpoints directly against Hy4 Preview rather than assuming a drop-in swap.

  • 5 to 6 times pricier than Hy3

    Hy4 Preview's per-token price runs roughly five to six times above the outgoing Hy3 model, a jump some users may not expect from a same-vendor upgrade.

    Workaround: Budget-check workloads against Hy3 (free through Sept 30, 2026) before committing production traffic to Hy4 Preview.

Hy4 Preview facts

Deployment
API · Self-hosted
Licence
Apache License 2.0 · Open source
Safety posture
Balanced
Released
28 Aug 2026
Current version
Hy4 Preview
Family
Hunyuan
Variant
Chat
Data retention
Not publicly documented for the Tencent Cloud TokenHub API as of this research. OpenRouter separately notes a zero-data-retention routing option when accessed through its platform.

Safety controls

Red teaming
not publicly documented for this release
System prompt
Yes
Constitutional AI
No

Data governance

Data residency options
Singapore, United States

Version history

  • Hy4 Preview · 28 Aug 2026

    Initial open-weight preview. 770B/49B active MoE, 1,048,576-token context, GPQA Diamond 92.3, SWE-bench Multilingual 82.9.

  • Hy3 (production) · 06 Jul 2026

    Production release after an April preview. SWE-bench Pro rose 46.0 to 57.9, Terminal Bench 2.1 58.0 to 71.7, BrowseComp 67.1 to 84.2.

  • Hy3 (preview) · 23 Apr 2026

    295B total / 21B active MoE, 256K context, Apache 2.0.

What changed

  • Release Hy4 Preview open-weight release source
  • Release Hy3 reaches production (Hy3 (production)) source

Questions about Hy4 Preview

What does Hy4 Preview cost per 1M tokens?

Running Hy4 Preview through Tencent's hosted API costs $0.834 per million input tokens and $2.501 per million output, with cache hits billed at just $0.042 per million. If you self-host the open weights instead, the model itself is free and you only pay for compute.

How does Hy4 Preview compare to GLM-5.3 and Kimi K3 on benchmarks?

On Tencent's internal 203-task expert review, Hy4 Preview edged both rivals, landing at 2.99 versus Kimi K3's 2.94 and GLM-5.3's 2.92. Independently, it scores 82.9 on SWE-bench Multilingual, but no SWE-bench Verified or AIME figure exists yet for a fully apples-to-apples comparison.

Is Hy4 Preview open source or proprietary?

Hy4 Preview is open-weight and Apache-licensed, with checkpoints mirrored across Hugging Face, GitHub, ModelScope, and GitCode from day one. Commercial use, fine-tuning, and redistribution are all permitted.

Does Hy4 Preview train on data sent through its API?

Tencent has not published a data-retention or training-on-inputs policy for the TokenHub API. OpenRouter separately offers a zero-retention routing option when you go through its platform. Fully local, self-hosted inference never sends data anywhere.

Who should use Hy4 Preview, and who should avoid it?

It fits teams that want a self-hostable, open-weight model for agentic coding at very large context and can run or rent a large GPU cluster. Skip it if you need vision or audio input, a documented safety evaluation, or simply the highest score on closed reasoning benchmarks.

About Hy4 Preview

Hy4 Preview is Tencent's fourth-generation Hunyuan large language model, released as an open-weight preview on August 28, 2026, about seven weeks after Hy3's production launch. It is a Mixture-of-Experts model with 770 billion total parameters and 49 billion active per token, built on 78 layers: one dense feed-forward layer plus 77 MoE layers, each with 256 routed experts and 1 shared expert, top-8 routed per token. A native multi-token-prediction layer (10B total, 0.7B active) handles speculative decoding via Gated DeepSeek Sparse Attention with IndexCache. Tencent frames the release as an early version with headroom left in pretraining and post-training, not a finished flagship.

Read the full background

On published benchmarks, Hy4 Preview scores 92.3 on GPQA Diamond, 82.9 on SWE-bench Multilingual (with tools), 65.7 on SWE-bench Pro (Public), and 85.4 on Terminal Bench. In Tencent's own blind evaluation, 163 expert graders scored it 2.99 out of 4.00 across 203 engineering tasks, narrowly ahead of Kimi K3 (2.94) and GLM-5.3 (2.92). No SWE-bench Verified, AIME 2025, MMLU-Pro, or ARC-AGI-2 score is published, and trackers like DataLearnerAI and eesel place it behind Claude Opus 5 and GPT-5.6 on most public evals, trading wins mainly with other Chinese open models.

Context runs to 1,048,576 tokens, with a max output of 64,000 tokens. No published long-context recall evaluation was found for this release.

Hy4 Preview is text-only, taking no image, audio, or video input. It supports tool and function calling, accepting tools and tool_choice parameters plus JSON-schema output via response_format on its OpenAI-compatible endpoint. Tencent's docs note this covers request shape only, not behavioral identity with the source APIs. The model is co-designed with CodeBuddy and WorkBuddy for coding agents and office-productivity work rather than conversational chat.

Tencent Cloud's TokenHub API prices Hy4 Preview per token, well under $1 per million input tokens but several times pricier than the outgoing Hy3 model, with exact rates detailed below. No batch or provisioned tier is published. WorkBuddy and CodeBuddy gave free access at launch, and Hy3 stays free through Sept 30, 2026 as a migration window.

TokenHub serves Singapore and Silicon Valley over an OpenAI-compatible Bearer endpoint. OpenRouter lists it but forwards requests to Tencent Cloud; no listing was found on Bedrock, Vertex, Azure, Together AI, or Fireworks. Weights ship under Apache 2.0 on Hugging Face, GitHub, ModelScope, and GitCode, with a same-day FP8 build. Self-hosting BF16 needs roughly 1,848GB of VRAM (about 924GB at MXFP8), targeting 8-way tensor-parallel on B200/B300-class GPUs via vLLM or SGLang.

No system card, alignment writeup, or red-team list is published for this release. Trackers note Tencent has skipped the goal-misgeneralization, sandbagging, and refusal-consistency evals standard for frontier launches. The model card is candid about two quirks: it over-reasons on complex tasks, and tends to over-verify completed work.

Hy4 Preview suits teams wanting a self-hostable, Apache-licensed model for agentic coding at large context, who can absorb an 8-16 GPU cluster or TokenHub's rate. It fits less well for teams needing vision/audio input, a published safety evaluation, or the top closed-benchmark score, where Opus 5 and GPT-5.6 lead.

Training data and cutoff date are not disclosed. Tencent's FAQ does not document API retention; OpenRouter separately offers zero-data-retention routing. No SOC2, GDPR, or HIPAA claim is documented for this model.

Hy4 Preview is the fourth Hunyuan release, after Hy1 (2023) and Hy2 (2024). Hy3 shipped as a 295B/21B-active preview on April 23, 2026, reaching production July 6, 2026 with SWE-bench Pro rising 46.0 to 57.9. Hy4 Preview roughly doubles Hy3's active parameters and quadruples its context; no production, non-preview Hy4 has been announced as of this research.

Sources and guides

More AI Models on Hokai

  • Step 5StepFun's Step 5 reads text, images and video in a 1M-token window, is rated 40 by Artificial Analysis, and has been API only since 30 November 2026.
  • Kimi K2.8 PreviewMoonshot AI's Kimi Code model at the kimi-for-coding route since September 2026, with a 1M-token context window, image and video input and no published benchmark; Kimi K3.1 Pro is now Moonshot's top model.
  • Claude Sonnet 5.5Anthropic's fastest Sonnet-class model, launched in September 2026, with a 1M context and output more than 30% faster than Sonnet 5.
  • ERNIE-5.5-Flash-PreviewBaidu's text-only mixture-of-experts model with open weights, a 1M-token context and a free OpenRouter route; still a preview checkpoint.
  • Gemini Decision 1Google DeepMind's decision model scores many questions over one multimodal input and bills zero output tokens.
  • JevTypeSafe's first System One Model, launched in 2026: skips text generation for typed, calibrated decisions software can act on directly.