blog.rust.gay

Tencent's Hy4 Flash bets on 12B active parameters

Tencent's Hy4 Flash is a model with 224 billion total parameters, 64 billion of which are "Engram" parameters, and only 12 billion active parameters per token. It has a 1-million-token context window, native multimodality, and an API price that is dramatically lower than Tencent's own Hy4. The company calls it its most cost-effective Hy model to date and says it is slightly above Hy4 preview on overall task performance. The interesting claim is not that a big model got cheaper. It is that Tencent is betting most everyday agent work does not need a dense frontier model, and that a sparse model with a long context can be good enough at a fraction of the cost.

Hy4 Flash was published on 16 November. It is open-weight on GitHub, Hugging Face, ModelScope, and AtomGit, and Tencent says it will release open weights for Hy4 soon. That makes it testable in a way that a closed API model is not. It also makes the benchmark claims more interesting: anyone with enough hardware can run the model and compare it with the vendor's numbers.

The architecture is sparse by design

The headline numbers are easy to misread. A 224B-parameter model sounds enormous, and it is. But only 12B parameters are active for each token. That is the point of a mixture-of-experts architecture: the model stores many parameters, but routes each token through a small subset. The compute cost per token is closer to a 12B dense model than to a 224B one, while the total parameter count gives the model more capacity to store knowledge and specialize.

Tencent says the pre-training stack integrates hybrid attention, LatentMoE, and Engram. It says this reduces the KV cache size to 1/24 of Hy3 and 1/6 of Hy4. That matters for long-context serving. The KV cache is the memory that stores attention state for every token in the context; at a 1M-token window, it can dominate memory use. A smaller cache means more concurrent requests per accelerator, which is often the difference between a viable long-context service and an uneconomical one.

The post-training story is self-distillation from Hy4 plus reinforcement learning. Tencent says the RL stage cuts average end-to-end output tokens by 50%. That is a different kind of efficiency: not fewer FLOPs per token, but fewer tokens per task. If a model can answer in half as many tokens without losing quality, the cost per task falls even if the per-token price is unchanged. Tencent is optimizing both sides of the equation.

On the inference side, the company cites megakernels, 4-bit quantization, and DFly, and says decoding speed passes 150 tokens per second. Those are vendor claims, but they are the right metrics for an interactive agent. A model that is cheap per token but slow to generate is still expensive in wall-clock time, especially when an agent is making multiple calls.

The price sheet is the product

The API pricing is the clearest part of the announcement. Per million tokens:

Model Cached input Input Output
Hy4 Flash $0.003 $0.070 $0.281
Hy4 $0.042 $0.834 $2.501

The output price is roughly one-ninth of Hy4's, and the input price is roughly one-twelfth. The cached-input price is almost negligible. Tencent says that on its internal WorkIndex benchmark, the average cost per task is 1/13 of Hy4 preview, 1/20 of Hy4, and 1/8 of DeepSeek-V4.1-Flash-1017 at Max tier and peak-hour pricing. Those are compounded claims: lower price per token, fewer output tokens, and a model that is good enough to complete the task.

The comparison with DeepSeek is notable because DeepSeek has been the reference point for cheap, capable open models. Tencent is not claiming to beat DeepSeek on raw intelligence. It is claiming to beat it on cost per completed task for a particular class of work. That is a more useful metric for buyers, but it is also easier to game. The task mix matters. A benchmark heavy on slide creation and document editing will favor a model optimized for those workflows; a benchmark heavy on long-horizon coding may favor a different model.

What a token actually buys

The list price is not the whole cost, but it is a useful starting point. Take a request with 20,000 input tokens and 2,000 output tokens. At Hy4 Flash's list price, the input costs $0.0014 and the output costs $0.000562, for a total of about $0.00196. At Hy4's list price, the same request costs $0.01668 for input and $0.005002 for output, or about $0.02168. That is roughly eleven times more expensive before any cache discount or retry.

The gap narrows or widens depending on the mix. A long-context task with little output is dominated by input price, where Hy4 Flash is about twelve times cheaper. A short-prompt task with a long answer is dominated by output price, where the gap is closer to nine times. The cached-input price of $0.003 per million tokens is almost free by comparison, which is why repeated system prompts and document context are the natural use case. If an application can keep a stable prefix in the cache, the effective input cost can fall much further.

Those numbers explain why Tencent is willing to call Hy4 Flash a productivity model rather than a frontier model. A frontier model may be better at a hard task, but if the task is routine, the cheaper model can be an order of magnitude less expensive per completed unit. The question is whether the cheaper model completes enough tasks on the first try. A model that is cheap per token but needs three attempts can lose to a more expensive model that succeeds once.

The architecture adds another wrinkle. Hy4 Flash has 224B total parameters, including 64B Engram parameters, but only 12B active per token. The post does not break down what the Engram parameters do or how they compare with ordinary experts, so it is hard to reason about the model's effective capacity from the headline numbers alone. The 12B active figure is the useful one for compute, but the total parameter count matters for memory and for the knowledge the model can store. A sparse model is not a small model; it is a model that spends its compute selectively.

That distinction is important for anyone planning to self-host. The memory footprint is closer to a 224B model than to a 12B one, even though the compute per token is closer to 12B. The KV cache reduction helps, and 4-bit quantization lowers the barrier, but the hardware requirement is still substantial. The API price is attractive because Tencent amortizes that footprint across many users. A single team running the model for itself may find that the economics are different.

The benchmarks are internal

Tencent built WorkIndex, an internal benchmark grounded in typical WorkBuddy tasks. It has eight evaluation sets: slide creation, slide editing, human-AI slide co-writing, Markdown human-AI co-writing, document editing, spreadsheet repair, audio/video processing, and visual understanding. It is paired with human evaluation focused on deliverable quality, single-turn output length, and task turnaround time.

The company also lists seven public agent benchmarks: DeepSWE, ProgramBench, Terminal-Bench 4.0, APEX-Agents, AutomationBench, HLE, and OSWorld 2.1. That is a reasonable spread, but the announcement does not give per-benchmark scores in the text; it points to a chart. The headline claim is that Hy4 Flash is slightly above Hy4 preview in overall task performance. That is plausible for a model distilled from Hy4 and tuned for efficiency, but it is not an independent result.

The blind evaluation is the most interesting human data point. Tencent says 85 internal WorkBuddy users evaluated 259 tasks across 27 categories. Hy4 Flash achieved user satisfaction close to Claude Haiku 5.5, with the shortest end-to-end completion time and significantly lower cost per task than any other evaluated model. "Close to" is doing a lot of work in that sentence. It does not say better, and it does not say the difference was statistically significant. The shortest completion time is a stronger claim, because it is measured rather than judged.

For a buyer, the right response is not to dismiss the internal numbers, but to treat them as a hypothesis. The model is open-weight. Run it on your own tasks. Compare it with the model you already use, on the dimensions you care about: quality, latency, cost per successful task, and failure modes. A vendor benchmark is a starting point, not a procurement decision.

Open weights change the calculus

The open-weight release is the most consequential part of the announcement. Hy4 Flash is available on GitHub, Hugging Face, ModelScope, and AtomGit. Tencent says Hy4 weights will follow. That means teams can self-host, fine-tune, quantize, and inspect the model. It also means the model can be served by third-party providers, which puts pressure on Tencent's own API pricing.

The deployment story is broad: Tencent Cloud TokenHub, WorkBuddy, Yuanbao, WeCom, QQ, ima, Marvis, and more. It will launch on OpenRouter soon. Through 30 November, it is free in WorkBuddy and 50% off API pricing via Tencent Cloud TokenHub. Those promotions are designed to drive adoption, and they are worth noting because the list price may not be the price a team actually pays during the trial.

The open weights also make the "12B active" claim verifiable. A team can inspect the architecture, count the experts, and measure the actual memory and compute footprint. That is more transparency than most model releases offer. It does not settle the quality question, but it makes the cost question concrete.

What it is good for

Tencent recommends Hy4 Flash for everyday productivity: deep search, document processing, slide creation, simple frontend demos, and computer use. It still recommends Hy4 for complex workloads such as long-horizon software engineering, because Hy4 has a higher intelligence ceiling. That is an unusually honest segmentation. The cheaper model is not positioned as a replacement for the expensive one in every case.

The 1M-token context is a good fit for document-heavy work. A model that can read a long contract, a set of meeting notes, or a repository's documentation without chunking has an advantage over a model that needs a retrieval pipeline. The smaller KV cache makes that context cheaper to serve, which is why the combination of long context and low price is more than a marketing bullet.

The model is less obviously a fit for tasks that require deep reasoning over many steps. A 12B active parameter model can be surprisingly capable, but it is still a sparse model with a limited compute budget per token. The vendor's own recommendation to use Hy4 for long-horizon coding is a signal. If your workload is an agent that plans, edits, runs tests, and recovers from failures over many turns, the cheaper model may save money on the easy turns and lose it on the hard ones.

What to watch

The first thing to watch is independent evaluation. The open weights make that possible, and the agent benchmarks are public. A third-party leaderboard or a reproducible harness would be more convincing than another vendor chart. The second is the actual price after the promotional period. A 50% discount is not a business model; the list price is.

The third is the Hy4 weights release. Tencent says "soon," which is not a date. If Hy4 follows Hy4 Flash into open weights, the gap between the two models may narrow, and the segmentation may change. The fourth is OpenRouter availability, which will make it easy for developers to test the model without a Tencent Cloud account.

For now, Hy4 Flash is a useful data point in the race toward cheaper inference. It shows that the frontier is not only about the biggest model. A sparse model with a long context, a small active parameter count, and aggressive pricing can be the right tool for a large class of work. The vendor's benchmarks are not the final word, but the direction is clear.

Sources


← back to posts