Tencent: Hy4 Flash
tencent/hy4-flash
Try Hy4 Flash 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-flash"
}).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-flash"
}).then(response => {
document.body.innerHTML = response.message.content;
});
</script>
</body>
</html>
Model Card
Hy4 Flash is a multimodal large language model from Tencent Hunyuan, released as a lower-cost, faster variant of Hy4. It accepts text and image input, produces text output, supports tool calling, and has a 1,048,576-token context window with up to 65,536 output tokens.
Tencent recommends it for everyday work such as deep search, document processing, slides, simple front-end development, and computer use, and recommends Hy4 for long-horizon software engineering.
On Terminal-Bench 4.0, Tencent reports 19.2 for Hy4 Flash against 44.4 for Hy4. In Plotly's data analysis benchmark (a single run per model), it scored 39 of 43 for $0.13 per run, compared with 42 for Hy4 at $2.11.
It suits developers who want long context, image understanding, and tool calling at a fraction of Hy4's price.
Context Window 1M
tokens
Max Output 66K
tokens
Input Cost $0.04
per million tokens
Output Cost $0.14
per million tokens
Input text, image
modalities
Tool Use Yes
Release Date Nov 16, 2026
Try Hy4 Flash for free
Try Hy4 Flash instantly in your browser.
This playground uses the Puter.js AI API — no API keys or setup required.
More AI Models From Tencent
Hy4
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.
ChatHy4 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.
Frequently Asked Questions
You can access Hy4 Flash 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 Flash 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 Flash 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.04 |
| Output | $0.14 |
Hy4 Flash was created by Tencent and released on Nov 16, 2026.
Hy4 Flash supports a context window of 1M tokens. For reference, that is roughly equivalent to 2,097 pages of text.
Hy4 Flash can generate up to 66K tokens in a single response.
Hy4 Flash accepts the following input types: text, image. It produces: text.
Yes, Hy4 Flash 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 Flash 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 Flash to your app for free
Developers can integrate Hy4 Flash for free using the Puter.js AI API.
With the User-Pays Model, each user covers their own AI usage instead of the developer.