by Tencent
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.
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.
| Job | Input | Output | Total |
|---|---|---|---|
| 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.
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.
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.
Reads
Writes
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.
GPQA Diamond score, Hy4 Preview's strongest published benchmark
Source: Hugging Face model card (tencent/Hy4-preview), Aug 28 2026Priced 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.
| Measure | This model | Rank | Median |
|---|---|---|---|
| Blended price (3:1)$ per 1M tokens | $1.25/M | #47 / 112 | peer median $1.71/M |
| GPQA Diamond% correct | 92.3% | #17 / 63 | peer median 87.8% |
Ranks are against GA models on Hokai that publish the same figure; ties share a rank.
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.
The nearest AI models on Hokai for the same job.
| Model | Lab | Context | In / out per 1M | Reads and writes |
|---|---|---|---|---|
| Tencent | 1M | $0.834 / $2.50 | text → text | |
| Amazon | 1M | $1 / $3 | text → text | |
| Z.ai | 1M | -- | text, image, video → text | |
| InfiX | 262K | -- | text → text |
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.
| Name | Endpoint | Auth |
|---|---|---|
| Tencent Cloud TokenHub (Singapore) | https://www.tencentcloud.com/techpedia/148044?lang=en | Bearer API key (OpenAI-compatible) |
| OpenRouter | https://openrouter.ai/tencent/hy4-preview | OpenRouter API key |
| Hugging Face (self-hosted weights) | https://huggingface.co/tencent/Hy4-preview | None (open weights) |
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.
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 · 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.
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.
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.
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.
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.
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.
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.
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.
Specifications on this page (context window, token prices, benchmark scores, licence) are read from Tencent's own model card and documentation. The verdict is Hokai's reading of them, not the provider's claim.