What Hy4 Flash does
Hy4 Flash (tencent/Hy4-flash) is Tencent's open-weight multimodal Mixture-of-Experts model released on November 16, 2026 for high-speed, low-cost everyday work and agent pipelines. It packs ~220B total parameters (155.5B MoE backbone, 63.5B Engram n-gram tables, 0.43B SigLIP2 vision encoder and 0.85B DFly2 speculative drafter) while activating ~12B parameters per token across a 1,048,576-token context window for text and image inputs. Standard API pricing is $0.07 input / $0.281 output per 1M tokens ($0.003 cached) on Tencent Cloud TokenHub, Fireworks and DeepInfra via OpenRouter.
Best for
- Developers building high-volume agent loops, document/chart extraction or coding assistants on a tight token budget
- Teams wanting a 1M-context open-weight multimodal model (text + image input) under $0.30 per million output tokens
- Infrastructure engineers self-hosting FP8 or BF16 weights on 8× Hopper/Blackwell or 8× AMD MI355X GPUs with vLLM or SGLang
- Evaluators testing Tencent's open GGUF builds (125.7–156.8 GiB via AngelSlim) on high-RAM workstations
Key features
220B MoE with 12B active & Engram
Combines 42 backbone layers (1 dense + 41 LatentMoE layers with 512 routed experts, 16 active + 1 shared), 63.5B hashed bigram/trigram Engram tables and identity Hyper-Connections (iHC), activating about 11.3B text parameters per token (the 0.43B SigLIP2 vision encoder runs only on image inputs).
1M context with hybrid sparse & sliding-window attention
Combines 12 sparse IndexPool MLA layers and 30 sliding-window attention layers (512-token window) across the 42 backbone layers, cutting KV cache to 1/24 of Hy3 and 1/6 of Hy4 while supporting 1,048,576 context tokens and 65,536 max output tokens.
Built-in DFly2 speculative decoding
Ships with a 5-layer, 0.85B DFly2 drafter that reuses the target model's sparse KV cache and indices with zero extra KV memory; Tencent reports decoding speeds past 150 tokens/s with 4-bit/FP8 quantization and megakernels.
Toggleable reasoning & multimodal input
Natively reads text and images via an adapted SigLIP2 encoder and supports reasoning_effort="high" (default thinking mode) or "no_think" (direct replies) alongside OpenAI-compatible tool calling.
Online try & multi-provider APIs
Try it in the browser on OpenRouter (openrouter.ai/tencent/hy4-flash) or in Tencent's WorkBuddy and Yuanbao apps (a free launch promo was announced through November 30, 2026); API access is live on OpenRouter (Tencent Cloud, Fireworks, DeepInfra) and Tencent Cloud TokenHub.
Prebuilt vLLM, SGLang & GGUF options
Download BF16 (440.5 GB), FP8 (287.1 GB) or base weights on Hugging Face, ModelScope and GitCode, serve with official Docker images (vllm/vllm-openai:hy4-flash or lmsysorg/sglang:hy4-flash), or test 5 AngelSlim GGUF builds (125.73–156.79 GiB).
Hy4 Flash pricing
Hy4 Flash has no free plan you can keep using each month. Open weights are free to download and self-host under the Tencent Hy License v1.0. Hosted APIs are billed per token; for Tencent's WorkBuddy and Yuanbao apps, a free launch promo was announced through November 30, 2026 rather than a permanent free tier. Free trial in WorkBuddy and Yuanbao announced through November 30, 2026. Standard hosted API rates are $0.07 input / $0.003 cached / $0.281 output per 1M tokens. Self-hosting full BF16/FP8 weights requires multi-GPU server hardware and host RAM for Engram tables. Prices checked on the official site on Nov 26, 2026.
| Open weights (HF / ModelScope / GitCode) | $0 (self-hosted) | Tencent Hy License v1.0 (Apache 2.0–derived): BF16 440.5 GB, FP8 287.1 GB, base, and AngelSlim GGUF (125.73–156.79 GiB). Separate license needed only for MaaS >$50M/yr revenue or >100M MAU. |
|---|---|---|
| Hy4 Flash (standard API) | $0.07 input / $0.281 output | Cached input $0.003/1M. Standard rate on Tencent Cloud TokenHub (¥0.50 in / ¥2.00 out / ¥0.02 cache), Fireworks (524K ctx) and DeepInfra (FP4, 1M ctx) via OpenRouter. |
| fal.ai | Check pricing | Not listed on fal.ai as of November 26, 2026 (fal hosts Tencent's Hunyuan Video, 3D, Image and Motion models, not Hy4 Flash). |
Worked Hy4 Flash API cost examples
Calculated from standard list rates ($0.07 input / $0.003 cached / $0.281 output per 1M tokens) verified on OpenRouter on November 26, 2026.
| Coding or document turn (60K input + 6K output, uncached) | $0.0059 | 0.06M × $0.07 + 0.006M × $0.281 |
|---|---|---|
| Cached agent step (100K cached + 10K new input + 4K output) | $0.0021 | 0.10M × $0.003 + 0.01M × $0.07 + 0.004M × $0.281 |
| Long-context review (500K input + 10K output, uncached) | $0.0378 | 0.50M × $0.07 + 0.01M × $0.281 |
At a 95% cache hit rate (comparable to OpenRouter's live 1-day telemetry on Tencent Cloud), the weighted effective input cost at list rates is ~$0.00635/1M tokens (0.95 × $0.003 + 0.05 × $0.07). Reasoning tokens count toward output when reasoning_effort="high" is active.
Source: Hy4 Flash pricing page
Hy4 Flash vs Tencent Hy4 vs DeepSeek V4-Pro vs Kimi K3.1 Pro
Specs and API prices from Hugging Face model cards, OpenRouter and provider pricing docs, checked November 26, 2026.
| Compared | Hy4 Flash | Tencent Hy4 | DeepSeek V4-Pro | Kimi K3.1 Pro |
|---|---|---|---|---|
| Parameters | ~220B total / ~12B active (incl. 63.5B Engram) | Flagship (~4× Hy4 Flash per OpenRouter) | Open-weight MoE | 2.8T total / 104B active |
| Context / Max output | 1M (1,048,576; 524K on Fireworks) / 64K (131K DeepInfra) | 1M (1,048,576) / 64K | Up to 1M (API) | 1M (1,048,576) |
| Modalities | Text + image → text | Text + image → text | Text | Text + image + video → text |
| Standard API (per 1M tokens) | $0.07 in / $0.281 out | $0.417 in / $1.2505 out (OpenRouter) | $1.32 in / $3.96 out (peak; 50% off-peak) | $2.00 in / $10.00 out |
| Cached input (per 1M) | $0.003 | $0.021 (OpenRouter) | Prompt cache discounted | $0.20 |
| Open-weight license | Tencent Hy License v1.0 (MaaS cap >$50M / 100M MAU) | Tencent Hy License v1.0 | MIT | Kimi K3 License (MaaS cap >$20M / 100M MAU) |
On Tencent's internal WorkIndex benchmark (8 productivity/agent tasks), Hy4 Flash scores 42.1 vs Hy4 Preview (39.7) and Hy4 (51.4) at 1/20 of Hy4's task cost; in a blind eval of 85 internal WorkBuddy users (259 tasks), it scored 2.79/4 satisfaction vs Claude Haiku 5.5 at 2.81/4.
Pros and cons
What it does well
- Low standard API pricing ($0.07/$0.281 per 1M tokens, $0.003 cached) with a full 1M-token multimodal context window.
- Open weights in BF16 (440.5 GB), FP8 (287.1 GB) and AngelSlim GGUF (125.7–156.8 GiB) with prebuilt vLLM and SGLang Docker images and native DFly2 speculative decoding.
- Strong cost-to-quality ratio on routine productivity and agent tasks: Tencent's HF card reports 88.7 MMLU, 71.1 MMLU-Pro, 92.0 C-Eval and 42.1 WorkIndex at 1/20 the task cost of flagship Hy4.
Know before you sign up
- Not yet in released PyPI wheels for transformers, vLLM or SGLang: self-hosting requires official Docker images (vllm/vllm-openai:hy4-flash or lmsysorg/sglang:hy4-flash), the SGLang hy4_flash_squash branch, or transformers PR #50903.
- Production BF16/FP8 serving needs 8× Hopper/Blackwell NVIDIA GPUs or 8× AMD MI355X plus large host RAM because the 63.5B Engram tables offload to CPU RAM by default; even the smallest GGUF is 125.73 GiB.
- Not a pure Apache 2.0 license: Section 10 of the Tencent Hy License v1.0 requires a separate written license if you operate a MaaS business over US$50M annual worldwide gross revenue or 100M monthly active users.
- Not hosted on fal.ai as of November 26, 2026; Tencent itself recommends flagship Hy4 rather than Hy4 Flash for complex long-horizon software engineering.
Related tools
Alternatives to Hy4 Flash
DeepSeek V4-ProMIT-licensed open-weight reasoning and coding model ($1.32/$3.96 per 1M tokens peak, half off-peak) with no MaaS revenue threshold.
Kimi K3Moonshot's 2.8T/104B open-weight 1M-context model ($3/$15 per 1M API tokens) for heavier coding and agent workloads.
Gemini 4 HydrogenGoogle's closed 1M-context fast model ($1.50/$7.50 per 1M tokens, global standard tier) with a free developer tier in Google AI Studio.
Qwen4-MaxAlibaba's flagship closed model with published Singapore and Beijing regional API pricing.
Questions about Hy4 Flash
What is Hy4 Flash?
Hy4 Flash is an AI tool from Tencent, listed in our AI assistants category. Tencent's open-weight 220B (12B active) multimodal MoE with 1M context, $0.07/$0.281 per 1M API tokens ($0.003 cached) and vLLM/SGLang Docker images.
Is Hy4 Flash free?
Open weights are free to download and self-host under the Tencent Hy License v1.0. Hosted APIs are billed per token; for Tencent's WorkBuddy and Yuanbao apps, a free launch promo was announced through November 30, 2026 rather than a permanent free tier.
Where can I use Hy4 Flash?
On API, Web and Linux.
What are some alternatives to Hy4 Flash?
MIT-licensed open-weight reasoning and coding model ($1.32/$3.96 per 1M tokens peak, half off-peak) with no MaaS revenue threshold. Moonshot's 2.8T/104B open-weight 1M-context model ($3/$15 per 1M API tokens) for heavier coding and agent workloads. Google's closed 1M-context fast model ($1.50/$7.50 per 1M tokens, global standard tier) with a free developer tier in Google AI Studio. Alibaba's flagship closed model with published Singapore and Beijing regional API pricing.
Where can I try Hy4 Flash online?
Globally, the fastest way to test Hy4 Flash in a browser is OpenRouter's chat playground at openrouter.ai/tencent/hy4-flash (billed per token via Tencent Cloud, Fireworks or DeepInfra). In Tencent's ecosystem, Hy4 Flash is also available in WorkBuddy and Yuanbao, where a free launch promo was announced through November 30, 2026.
Is Hy4 Flash available on fal.ai?
No, checked on November 26, 2026. fal.ai hosts Tencent's Hunyuan Video, Hunyuan 3D, Hunyuan Image and Hunyuan Motion media models, not the Hy4 Flash language model. For managed APIs, use OpenRouter, Tencent Cloud TokenHub, Fireworks or DeepInfra.
How do I deploy Hy4 Flash locally with vLLM or SGLang?
Use Tencent's recommended prebuilt Docker images because standard pip wheels do not register Hy4 Flash or DFly2 yet. On 8× Hopper/Blackwell GPUs, run docker run --gpus all -p 127.0.0.1:8000:8000 --ipc=host vllm/vllm-openai:hy4-flash tencent/Hy4-flash-FP8 --tensor-parallel-size 8 --speculative-config '{"num_speculative_tokens":5,"method":"dfly"}' --attention-backend FLASHMLA_SPARSE --tool-call-parser hy_v4 --reasoning-parser hy_v4 --enable-auto-tool-choice (binding 127.0.0.1 keeps the unauthenticated test server local-only), or pull lmsysorg/sglang:hy4-flash for SGLang. Provision extra host RAM for offloaded Engram tables. For single-machine testing, download a 125.73–156.79 GiB GGUF build from AngelSlim/Hy4-flash-GGUF.
Can I use Hy4 Flash commercially under the Tencent Hy License?
Yes for internal use and end-user products. Under Section 10 of the Tencent Hy License v1.0 (derived from Apache 2.0), a separate written license from Tencent (hy_partners@tencent.com) is only required if you run a Model-as-a-Service (MaaS) business with over US$50 million in annual worldwide gross revenue or more than 100 million monthly active users.