Tencent: Hy4
tencent/hy4
Try Hy4 for free in your browser, and add it to your app for free with Puter.js AI API.
Try it free Add to your app// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';
puter.ai.chat("Explain quantum computing in simple terms", {
model: "tencent/hy4"
}).then(response => {
document.body.innerHTML = response.message.content;
});
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<script>
puter.ai.chat("Explain quantum computing in simple terms", {
model: "tencent/hy4"
}).then(response => {
document.body.innerHTML = response.message.content;
});
</script>
</body>
</html>
Model Card
Hy4 is the official release of Tencent Hunyuan's Hy4 model series, the successor to Hy4 Preview. Tencent reports substantial improvements over the preview, with the largest gains in agentic capabilities and long-horizon, real-world productivity tasks.
Unlike the text-only preview, Hy4 accepts both text and image input and returns text. It supports a context window of about 1M tokens and up to 65,536 output tokens, with tool calling, structured outputs, and configurable reasoning effort (none, low, or high).
It suits developers building coding agents, multi-step tool-use workflows, and productivity applications that need long context and image understanding via API.
Context Window 1M
tokens
Max Output 66K
tokens
Input Cost $0.42
per million tokens
Output Cost $1.25
per million tokens
Input text, image
modalities
Tool Use Yes
Release Date Nov 4, 2026
Try Hy4 for free
Try Hy4 instantly in your browser.
This playground uses the Puter.js AI API — no API keys or setup required.
More AI Models From Tencent
Hy4 Preview
Tencent Hy4 Preview is an open-weight Mixture-of-Experts model from Tencent's Hunyuan team, the successor to Hy3. It has 770B total parameters with 49B active per token, and supports a context window over 1M tokens. It's released under the Apache 2.0 license and supports tool calling. In Tencent's internal blind evaluation across 203 engineering tasks judged by 163 experts, Hy4 Preview scored 2.99 out of 4.00, ahead of GLM-5.3 (2.92) and Kimi K3 (2.94). It scores 85.4 on Terminal-Bench 2.1, surpassing DeepSeek V4 Pro, and 82.9 on SWE-bench Multilingual, up from Hy3's 75.8. On DeepSWE, its score rose from Hy3's 28.0 to 64.3. It's aimed at coding agents, software engineering, office and document generation, and scientific research workflows via API.
ChatHy-MT2 1.8B
Hy-MT2 1.8B is a lightweight multilingual translation model from Tencent Hunyuan, part of the Hy-MT2 family that also includes 7B and 30B-A3B (MoE) variants for heavier workloads. It translates across 33 languages, including Chinese, Cantonese, English, French, Japanese, Korean, Arabic, Russian, Tibetan, and Uyghur, and is trained to follow translation-specific instructions such as terminology guidance, style adaptation, and structured data translation. Tencent reports that the 1.8B model outperforms mainstream commercial translation APIs from providers like Microsoft and Doubao overall, though it hasn't published specific BLEU or COMET scores to back up the comparison. The larger 7B and 30B-A3B models are reported to outperform DeepSeek-V4-Pro and Kimi K2.6 on translation tasks in fast-thinking mode. With an 8,192-token context window, it's a fit for developers who need fast, low-cost, dedicated translation via API rather than a general-purpose chat model.
ChatHy-MT2 30B-A3B
Hy-MT2 30B-A3B is a multilingual translation model from Tencent's Hunyuan team, built as a Mixture-of-Experts network with 30B total parameters and roughly 3B active per token. It's part of the Hy-MT2 family, released alongside 1.8B and 7B variants, and is designed for fast, instruction-following translation across 33 languages, including style guides, terminology lists, and structured data formats. Tencent reports it outperforming open-source models including DeepSeek-V4-Pro and Kimi K2.6 on translation quality evaluations, and approaching closed-source Gemini 3.1 Pro. It ships under the Apache 2.0 license. It's a fit for developers building translation features who need multilingual quality without the cost of a general-purpose flagship model, particularly when terminology, tone, or output format need to be controlled via instructions.
Frequently Asked Questions
You can access Hy4 by Tencent through Puter.js AI API. Include the library in your web app or Node.js project and start making calls with just a few lines of JavaScript — no backend and no configuration required. You can also use it with Python or cURL via Puter's OpenAI-compatible API.
Hy4 is free to try with a Puter account. Every account includes a free AI allowance, and you can chat with it in the playground on this page. You can upgrade your account anytime for a larger allowance.
Hy4 is free to integrate using the Puter.js AI API. With the User-Pays Model, you can add AI to your app for $0, since users cover their own AI usage through their Puter account.
| Price per 1M tokens | |
|---|---|
| Input | $0.42 |
| Output | $1.25 |
Hy4 was created by Tencent and released on Nov 4, 2026.
Hy4 supports a context window of 1M tokens. For reference, that is roughly equivalent to 2,097 pages of text.
Hy4 can generate up to 66K tokens in a single response.
Hy4 accepts the following input types: text, image. It produces: text.
Yes, Hy4 supports tool use (function calling), allowing it to interact with external tools, APIs, and data sources as part of its response flow.
Yes — the Hy4 API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.
Add Hy4 to your app for free
Developers can integrate Hy4 for free using the Puter.js AI API.
With the User-Pays Model, each user covers their own AI usage instead of the developer.