
Hy4 is Tencent’s latest flagship model in the Tencent Hy, or Hunyuan, language-model family. Released on November 4, 2026, it combines language reasoning with newly introduced visual understanding and computer-use capabilities.
Its intended applications include software development, document workflows, research, and tasks that require an AI agent to use tools across multiple steps.
You can access the official release through hosted services and supported Tencent products. Tencent has also announced plans to publish the model weights and a system card. The previously released Hy4 preview already has downloadable weights.
This guide explains what Hy4 does, how to try it, what API access costs, and which deployment details belong specifically to Preview.
Hy4 at a Glance
| Item | Current information |
|---|---|
| Developer | Tencent Hy / Hunyuan |
| Official-release date | November 4, 2026 |
| Hosted API access | Tencent Cloud TokenHub and OpenRouter |
| OpenRouter model ID | tencent/hy4 |
| TokenHub model parameter | hy4 |
| OpenRouter input types | Text and images |
| OpenRouter output type | Text |
| OpenRouter context window | 1,048,576 tokens |
| OpenRouter maximum completion | 65,536 tokens |
| Official-release weights | Announced for subsequent release |
| Preview weights | Publicly available |
The context and completion limits above describe the current OpenRouter listing. Check the selected provider and deployment configuration when implementing your application. OpenRouter model details, TokenHub model pricing and identifiers.
What Is New in Hy4?
The official release expands the scope of tasks Hy4 can handle, particularly when a workflow combines visual information, software tools, and sustained execution.
Visual Understanding
Hy4 adds image understanding, including fine-grained visual inspection, chart interpretation, and mathematical visual reasoning.
A practical evaluation might involve a chart with several similar series. Ask the model to identify the relevant series, extract the visible values, explain uncertainty, and separate observations from calculations.
For screenshot-based development work, give the model both the image and the functional requirements. A screenshot communicates appearance; your written instructions establish the expected behavior.
Computer Use
Tencent reports support for computer use across command-line and graphical interfaces, with targeted training involving software such as Blender and CAD.
Computer use requires an execution environment. The agent application must provide the model with observations and tools, execute permitted actions, and return their results.
A typical workflow looks like this:

When evaluating this capability, inspect both the final result and the intermediate actions. For a 3D task, that could mean checking the editable scene, object structure, dimensions, and exported output.
Frontend and Game Development
Tencent describes improvements in interface interactions, state management, business logic, and frontend/backend integration. Its game-development work includes Unreal Engine, Unity, Godot, and multiplayer scenarios.
For a useful test, specify a small playable system with measurable behavior: movement, collisions, scoring, restart logic, and a clear completion condition. Then run the generated project and exercise those behaviors.
Documents, Research, and Longer Workflows
The release also targets document editing, multi-source analysis, scientific research, and tasks requiring context across several steps.
For evaluation, provide a defined set of source files and request an editable output with traceable references. Check the artifact itself: formulas, citations, labels, and consistency across files.
Hy4 vs. Hy4 Preview
The names are similar, but they refer to different releases.
| Area | Hy4 official release | Hy4 preview |
|---|---|---|
| Release date | November 4, 2026 | August 28, 2026 |
| Visual understanding | Introduced in the official release | Text input on the current OpenRouter route |
| Computer use | Introduced as a release capability | Earlier productivity and tool-use model |
| OpenRouter ID | tencent/hy4 | tencent/hy4-preview |
| TokenHub parameter | hy4 | hy4-preview |
| Downloadable weights | Planned in the launch announcement | Available, including FP8 |
| Published weight license | Check the forthcoming release package | Apache 2.0 |
When following a tutorial, check its date and model identifier. A command that loads tencent/Hy4-preview-FP8 starts the Preview model.
How Does Hy4 Work?
The most detailed publicly available architecture description currently comes from the Hy4 preview repository.
Its published backbone specifications include:
| Component | Preview specification |
|---|---|
| Architecture | Mixture of Experts |
| Backbone parameters | 770 billion |
| Parameters activated per token | 49 billion |
| Backbone layers | 78 |
| Routed experts per MoE layer | 256 |
| Routed experts selected per token | 8 |
| Shared experts | 1 |
| Published context length | 1M tokens |
The repository also describes a separate native multi-token prediction layer, Gated DeepSeek Sparse Attention, IndexCache, and identity Hyper-Connections.
What the Parameter Numbers Mean
Mixture-of-Experts models select part of their expert network for each token. The activated-parameter count helps describe computation during inference.
Deployment planning must also account for the complete selected weight package, attention caches, runtime buffers, and concurrency.
For scale, a 770B-parameter backbone stored at two bytes per parameter would require approximately 1.54 TB for backbone weights alone. At one byte per parameter, the arithmetic estimate is approximately 770 GB. These are simplified calculations that exclude additional components and runtime overhead.
Use the actual checkpoint files and serving recipe to estimate a deployment.
Where Can You Try Hy4?
Choose an entry point based on the work you want to perform.
| Goal | Starting point |
|---|---|
| General model evaluation | Tencent Hy AI Studio |
| Coding inside a development workflow | CodeBuddy |
| Documents and multi-step workplace tasks | WorkBuddy |
| Consumer assistant experience | Yuanbao |
| Knowledge-oriented workflows | ima |
| Application integration through Tencent Cloud | TokenHub |
| Application integration through another API platform | OpenRouter |
Tencent’s launch announcement lists these hosted and product access routes. Availability, tools, and account entitlements depend on the selected product.
A Useful First Test
Start with one task that has a visible success condition.
For example:
Review the attached dashboard screenshot.
Identify the main user tasks, describe the interface
structure, and list the interactions needed to make
the dashboard functional.
Separate details visible in the screenshot from
assumptions that need confirmation.Then test a task using your own working materials, such as a small repository, document collection, or spreadsheet.
Record the model name, product, date, and available tools. These details matter when comparing results later.
Is Hy4 Free?
Tencent announced a limited free-usage promotion in WorkBuddy and CodeBuddy for November 4–15, 2026.
The Chinese announcement describes an allowance of free use. Treat the applicable quota and account rules as part of the offer; confirm them in the product before starting a large task.
Hosted API access has separate usage pricing.
Hy4 API Pricing
Tencent Cloud TokenHub lists the following prices in CNY per million tokens:
| Token category | Listed price | Price at the announced 50% discount |
|---|---|---|
| Input | ¥6 | ¥3 |
| Output | ¥18 | ¥9 |
| Cached input | ¥0.30 | ¥0.15 |
The TokenHub pricing page states that the 50% discount applies to qualifying Hy4 usage through December 31, 2026, at 23:59:59 Beijing time. TokenHub pricing and discount terms.
Example Cost Calculation
Suppose your application uses:
- 10 million uncached input tokens.
- 2 million output tokens.
At the listed rates:
Input: 10 × ¥6 = ¥60
Output: 2 × ¥18 = ¥36
Total: ¥96At the announced discount, the same token quantities would cost ¥48.
If 8 million of those input tokens qualified as cached input, the listed-rate calculation would instead be:
Cached input: 8 × ¥0.30 = ¥2.40
Uncached input: 2 × ¥6 = ¥12
Output: 2 × ¥18 = ¥36
Total: ¥50.40These examples cover token charges only. Actual bills depend on measured usage, cache eligibility, selected services, and applicable pricing terms.
OpenRouter Pricing
At verification time, OpenRouter’s public model catalog reported approximately:
- $0.417 per million input tokens
- $1.2505 per million output tokens
- $0.021 per million cached-input tokens
These are a platform-specific snapshot. Check the current model route when estimating costs. OpenRouter pricing.
How to Call the Hy4 API
For Tencent Cloud TokenHub, select hy4 and use the endpoint and authentication instructions supplied by the platform.
For OpenRouter, the model identifier is:
tencent/hy4The following example uses Python’s standard library. Set OPENROUTER_API_KEY in your local environment before running it:
import json
import os
import urllib.request
payload = {
"model": "tencent/hy4",
"messages": [
{
"role": "user",
"content": (
"Create an implementation plan for a small "
"browser-based meeting application. Include "
"authentication, room entry, media permissions, "
"and a two-user verification procedure."
),
}
],
"max_tokens": 2048,
}
request = urllib.request.Request(
"https://openrouter.ai/api/v1/chat/completions",
data=json.dumps(payload).encode("utf-8"),
headers={
"Authorization": (
f"Bearer {os.environ['OPENROUTER_API_KEY']}"
),
"Content-Type": "application/json",
},
method="POST",
)
with urllib.request.urlopen(request, timeout=180) as response:
result = json.load(response)
print(result["choices"][0]["message"].get("content", ""))The request format and model identifier follow the OpenRouter model interface.
Add Tools Gradually
For an agent application, begin with a small set of clearly defined tools.
Useful initial tools might include:
- Reading selected project files.
- Searching an approved documentation source.
- Running an existing validation command.
- Producing a reviewable artifact.
Your application handles tool execution and returns results to the model. Define success through observed outcomes, such as a passing check or a usable generated file.
For image tasks, use the platform’s documented multimodal request format and confirm image support on the selected route.
How Strong Is Hy4? Reading the Benchmarks
Benchmark results are useful when you know who ran the test, what it measured, and which model version participated.
Financial-Task Evaluation
Tencent reports an evaluation involving 213 finance professionals and 579 real-world financial tasks:
| Model | Reported score |
|---|---|
| Hy4 | 3.04 |
| DeepSeek-V4.1-Flash-1017 | 2.97 |
| Kimi K3.1 Pro | 2.68 |
| GLM-5.3 | 2.68 |
This is Tencent’s reported evaluation with its financial-technology team and participating experts. It describes performance on that task collection.
Other Reported Improvements
The same release article reports:
| Evaluation | Reported result |
|---|---|
| GameDev | 19.1% improvement over Preview |
| GameLogic | 9.8% improvement over Preview |
| Internal search hallucination rate | 15.76% → 5.45% |
| Internal search speculative-error rate | 23.1% → 5.6% |
Keep the evaluation scope attached to these numbers. The hallucination figure comes from Tencent’s internal search evaluation; it does not describe every answer produced through every application.
How to Compare Hy4 with Other Models
Run a small task set representative of your workload:
| Workload | What to measure |
|---|---|
| Repository changes | Correctness, verification, review effort |
| Chart interpretation | Extracted values, uncertainty, factual errors |
| Document creation | Editability, formatting, source traceability |
| Tool-driven tasks | Completion rate, retries, incorrect actions |
| Interactive applications | Response time, consistency, cost |
Keep the inputs, tool access, output requirements, and review criteria consistent.
Tencent itself acknowledges a remaining gap with leading proprietary models on challenging internal tasks. A practical selection should therefore consider your own results alongside published evaluations.
Practical Hy4 Use Cases and Prompts
The following prompts are suggested evaluation tasks. They are designed to produce results you can inspect.
1. Fix a Reproducible Software Bug
Investigate this bug using the existing repository.
First reproduce the reported behavior and identify
the relevant code path.
Implement a focused fix, run the project's existing
checks, and explain the behavior changed.
Include any remaining uncertainty in the handoff.Review the change against the original report. Check whether the agent’s verification actually exercises the failure.
2. Turn a Screenshot into a Functional Interface
Implement the attached interface in the existing
frontend project.
Identify the visible controls and define their
expected behavior before implementation.
Use the project's current components and styling.
Verify the main interactions and the mobile layout.Evaluate both appearance and interaction: navigation, form states, loading behavior, and error handling.
3. Analyze Several Documents
Compare these source documents and create an
editable decision brief.
For every important claim, identify its source.
List disagreements between documents and mark
missing information.
Provide a recommendation tied to the stated criteria.Check that the citations support the associated claims and that unresolved differences remain visible.
4. Build a Small Game Prototype
Create a small playable prototype in the engine
already used by this project.
Implement movement, collision, scoring, restart,
and one clear completion condition.
Provide startup instructions and verify each
gameplay behavior in the running project.Start with a complete small loop. Add multiplayer, accounts, matchmaking, and communication as separately scoped features.
5. Prepare a Reproducible Research Workflow
Using these papers and the supplied dataset,
propose one testable research question.
Write an experiment plan with a baseline, evaluation
metrics, and reproducibility instructions.
Clearly distinguish existing evidence, assumptions,
and results that still require an experiment.Scientific claims should remain tied to the supplied evidence and executed experiments.
Can You Run Hy4 Locally?
At verification time, Tencent’s official announcement states that the Hy4 official-release weights and system card will be published subsequently.
The publicly documented self-hosting path currently discussed below is for Hy4 preview.
Available Preview packages include:
The Preview package is released under Apache 2.0. Check the eventual official-release package for its own files and terms.
Preview Deployment with vLLM
This is a server deployment requiring hardware planning. The current vLLM recipe describes large multi-accelerator configurations, including 8×B300 and 16×B200 arrangements.
A published FP8 Docker configuration is:
docker run --gpus all \
-p 127.0.0.1:8000:8000 \
--ipc=host \
-e VLLM_ENABLE_HPC_OPS=1 \
-v ~/.cache/huggingface:/root/.cache/huggingface \
vllm/vllm-openai:hy4-preview \
tencent/Hy4-preview-FP8 \
--tensor-parallel-size 8 \
--speculative-config \
'{"num_speculative_tokens":3,"method":"mtp"}' \
--attention-backend FLASHMLA_SPARSE \
--tool-call-parser hy_v4 \
--reasoning-parser hy_v4 \
--enable-auto-tool-choice \
--port 8000 \
--served-model-name hy4-previewChoose the hardware-specific configuration from the vLLM recipe. Runtime compatibility, available memory, and configured context length affect whether a particular deployment works.
After startup, check the local model endpoint:
curl http://127.0.0.1:8000/v1/modelsA basic text request can then use:
curl http://127.0.0.1:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "hy4-preview",
"messages": [
{
"role": "user",
"content": "Explain how you would verify a small web application."
}
],
"temperature": 0.9,
"top_p": 1.0
}'The Preview repository also provides SGLang deployment instructions, fine-tuning material, and a link to Tencent’s AngelSlim compression tooling.
What Should You Check Before Choosing Hy4?
Task Completion
Choose a concrete deliverable: a working patch, an editable spreadsheet, a usable interface, or a reproducible experiment.
Record how much human correction the result requires.
Latency and Token Consumption
Measure time to a useful response and total task duration. Agent tasks can involve many model calls, repeated context, and tool output.
A lower token rate can still lead to a higher task cost when a workflow requires more retries or longer outputs.
Context Handling
Use relevant, organized source material. Test whether the model retrieves the correct details and maintains consistent references across the task.
A large context window provides capacity. Your evaluation establishes whether that capacity helps the specific workload.
Model and Application Boundaries
Document the combination you tested:
Model:
Provider:
Agent application:
Available tools:
Reasoning configuration:
Task inputs:
Validation performed:
Total cost:This makes future comparisons more meaningful and helps explain differences between a chat session and a tool-enabled agent workflow.
What Is Hy4 Flash?
Tencent has announced Hy4 flash as a forthcoming variant focused on cost efficiency, faster inference, and product integration.
The launch materials describe it as coming soon. They do not establish a confirmed release date or final public pricing.
Frequently Asked Questions
Is Hy4 the same as Hunyuan?
Hy4 belongs to Tencent’s Hy/Hunyuan model family. The wider family also includes separate models for other modalities and tasks. Check the specific model name when selecting an API or downloading weights.
Does Hy4 support images?
The official release introduces visual understanding. OpenRouter currently lists text and image input with text output.
Can I download Hy4 today?
The official release announcement states that the weights will follow. Preview weights are already available. Recheck the official release page when planning a download.
Is Hy4 suitable for coding?
Coding is one of its intended applications. Evaluate it on your repository with your project’s tests and runtime checks.
Can I use Hy4 for a voice assistant?
Hy4 can provide the language-model stage of a voice application. Speech recognition, speech generation, audio transport, and interruption handling require additional components.
Is the largest context setting always the best choice?
Select context size around the task. Measure retrieval quality, response time, and cost before expanding it.
Build Hy4 Applications with Tencent RTC
For a voice assistant, Hy4 can handle language understanding and response generation while the application supplies speech and communication components.
A conceptual voice workflow is:
User speech
→ speech recognition
→ Hy4 response generation
→ speech synthesis
→ audio delivered to the userTencent RTC provides real-time communication capabilities, and Tencent RTC Agent Skills offers guided development workflows for supported communication and conversational AI applications.
A useful integration-planning prompt is:
Help me design a Web voice assistant using Tencent RTC.
Use Hy4 through a backend model adapter.
Identify the speech recognition and synthesis services,
credential flow, interruption behavior, and audio formats.
Start with a basic voice conversation and define
how we will measure end-to-end response time.Treat the Hy4 connection as an application integration: confirm the selected endpoint, provider compatibility, streaming behavior, and cancellation handling. Verify a complete conversation before expanding the feature set.





