I Gave My Agents a Voice… And It’s Wildly Useful

TL;DR
Tencent's Hy4 preview ships 770B total parameters with 49B active under Apache 2.0 - a 1M-context text MoE with DeepSeek-style sparse attention, posted Terminal-Bench 85.4 and DeepSWE 64.3, and an OpenRouter price of $0.834/$2.501. Verified against the model card and the live OpenRouter page on August 31, 2026.
Last updated: August 31, 2026
| Source | What It Gives You |
|---|---|
| Hy4-preview model card (Hugging Face) | Architecture, benchmark appendix, quickstart, deployment recipes, license |
| OpenRouter: Tencent Hy4 preview | Live price ($0.834/$2.501 per 1M), context max, provider status |
| Tencent Hy research page | Official product announcement (JavaScript-rendered; contents were verified via the model card instead) |
| Simon Willison: Introducing Hy4 Preview | Independent reasoning-mode analysis and chat-template reading |
| Gated DeepSeek Sparse Attention (paper) | The attention mechanism behind the 1M context window |
| IndexCache (paper) | Cross-layer sparse index reuse, cited by the model card |
On August 28, 2026, Tencent open-sourced Hy4 preview, the biggest open-weights release of the month: 770B total parameters with 49B active per token, a 1M-token context window, Apache 2.0, and weights on Hugging Face, ModelScope, GitCode, and CNB. It is up 2.6x on total parameters from July's Hy3 (295B, 21B active) and roughly 2.6x on context (256K to 1M), and it is text-only - no vision - which is the first honest signal about what it is for.
This post is the decision-intent read: what the architecture actually is, what the benchmarks posted so far say and what they do not, what it costs on the API, what running it yourself really takes, and the honest cases for staying on the cheaper end of the open-weights field.
Hy4 preview is a generation jump over Hy3 by every number that matters:
| Hy4 preview | Hy3 | |
|---|---|---|
| Released | August 28, 2026 | July 6, 2026 |
| Total parameters | 770B | 295B |
| Active per token | 49B | 21B |
| Context window | 1M tokens | 256K tokens |
| Weights size (BF16) | ~1.56TB | ~598GB |
| License | Apache 2.0 | Apache 2.0 |
| Modality | Text only | Text only |
Architecture details from the model card: 78 layers, the first dense and the remaining 77 MoE with 256 routed experts plus one shared expert, activating the top-8 routed experts per token. Attention uses Gated DeepSeek Sparse Attention (the same sparse-attention family DeepSeek published) with IndexCache for cross-layer sparse index reuse, and the residual pathway uses identity Hyper-Connections. A native MTP layer (10B total, 0.7B active) is built in for speculative decoding. Tencent also ships Hy4-preview-FP8, the FP8-quantized instruct weights, as the primary deployment target.
The Apache 2.0 license matters for teams that DeepSeek's MIT license already brought into the open-weights camp: these weights can go into commercial products with zero attribution paperwork, and the FP8 release signals Tencent expects self-hosting to be the main path for most users.
The single most interesting design choice is the reasoning control. The chat template accepts exactly two values - high (the default, deep chain-of-thought) and no_think - and raises an exception for anything else. There is no medium, no budget slider, no max-effort tier.
from openai import OpenAI
import os
client = OpenAI(
base_url="http://127.0.0.1:8000/v1",
api_key=os.getenv("OPENAI_API_KEY", "EMPTY"),
)
response = client.chat.completions.create(
model="hy4-preview",
messages=[{"role": "user", "content": "Explain the fix for this race condition."}],
temperature=0.9,
top_p=1.0,
extra_body={"chat_template_kwargs": {"reasoning_effort": "no_think"}},
)
print(response.choices[0].message.content)
The recommended sampling parameters are temperature=0.9, top_p=1.0 per the model card, and the no_think path is for direct responses where a full reasoning trace is wasted. For agentic work, high is the mode that writes code and fixes tests; the flip side is the model card's own known-limitations note: Hy4 preview "spend[s] longer than necessary reasoning through complex tasks, and [has] a tendency to over-verify its own work." Simon Willison's first look found the reasoning trace itself runs in truncated, slightly imperfect English - legible, token-cheap, and a reminder that hidden reasoning text is not editorial prose.
Two levels means your routing layer gets a clean binary: reason or do not. That is coarser than Claude's five effort levels or Qwen's exhaustive thinking controls, and it is actually a reasonable default for agent inner loops - but plan for it, because there is no "medium" to step down to in between.
Treat every number below as vendor or community-run, on harnesses and sampling choices Tencent or third parties made, for a model explicitly labeled preview. The model card lists community evaluation results:
| Benchmark | Hy4 preview |
|---|---|
| Terminal-Bench 2.1 (agentic terminal) | 85.4 |
| SWE-bench Multilingual (resolved) | 82.9 |
| SWE-bench Pro (agentic coding) | 65.7 |
| DeepSWE (agentic coding) | 64.3 |
| SkillsBench V1.1 | 62.9 |
| Apex Agents | 37.1 |
| GPQA Diamond (scientific reasoning) | 92.3 |
The coding rows are the story: Terminal-Bench 2.1 at 85.4 is at the top of the published open-weights pack in that category, and the SWE-bench Multilingual resolved rate of 82.9 is a strong repo-level figure for a text-only model. Tencent also ran a blind side-by-side with internal experts: 163 evaluators rated outputs on 203 engineering tasks, and Hy4 came out "slightly ahead" of GLM 5.3 (2.99 vs 2.92) and Kimi K3 (2.99 vs 2.94) on average score. Read "slightly ahead" literally - these are verdict-scale deltas on a curated task set, not a routing cliff.
The honest caveats: a preview model with admitted over-reasoning tendencies may look better in headless benchmark harnesses than in latency-sensitive production loops, and the real test is your own repo on your own tool surface. The only benchmark that matters is your own task distribution - the same rule that applies to every open-weights release this year.
From the archive
Aug 31, 2026 • 10 min read
Aug 28, 2026 • 5 min read
Aug 28, 2026 • 10 min read
Aug 28, 2026 • 11 min read
On OpenRouter, Hy4 preview is served by Tencent Cloud at $0.834 per million input tokens, $2.501 per million output, and $0.042 for cache reads (verified August 31, 2026). Context tops out at 1M tokens with up to 64K completion tokens, and tool calling plus structured outputs are supported through the OpenAI-compatible surface there. OpenRouter's activity tab already shows coding agents - Claude Code and Command Code among the top apps routing traffic to it - which is early evidence that agent harnesses adopt it fast when the API is this easy.
Where that lands against the rest of the field (prices per 1M tokens, verified August 31, 2026):
| Model | Params (active) | Context | Input/Output | Notes |
|---|---|---|---|---|
| Tencent Hy4 preview | 770B (49B) | 1M | $0.834 / $2.501 | OpenRouter; Apache 2.0; FP8 weights |
| Tencent Hy3 | 295B (21B) | 256K | varies by host | Weights-only; our Hy3 notes |
| DeepSeek V4 Pro | 1.6T (49B) | 1M | $0.66 / $1.98 off-peak | MIT; cheaper output, same active count |
| DeepSeek V4 Flash | 284B (13B) | 1M | $0.22 / $0.66 off-peak | The cost floor for agent loops |
| Qwen3.8 Max | 2.4T | 1M | $2 / $6 | QwenCloud; family flagship |
| GLM-5.2 | 753B (40B) | 1M | $1.40 / $4.40 list | MIT; third-party hosts cheaper |
| Kimi K3 | 2.8T (104B) | 1M | $3 / $15 | Moonshot; premium open weights |
Price readout: Hy4 preview is not a budget model. It costs about 2.5x DeepSeek V4 Pro's off-peak output rate and sits in GLM-5.2 list-price territory, in exchange for a stronger posted agentic-terminal score and the biggest context of the group. If your workload is high-volume bounded inner loops, the DeepSeek economics post still shows Flash-class models winning that lane on price by an order of magnitude. Hy4's case is the top of the open-weights tier: hardest open-model work with a 1M context, at a quarter to a twentieth of frontier closed-model prices.
The weights are Apache 2.0, so self-hosting is legal and cheap-in-money once you have the iron - but "the iron" is the point. The BF16 weights are ~1.56TB; the FP8 release roughly halves that, and even FP8 is an 8-GPU class deployment on current high-memory accelerators. This is not a workstation model. Tencent's own serving path is vLLM or SGLang with tensor-parallel 8, the FLASHMLA_SPARSE attention backend, and a speculative-decoding configuration on top of the built-in MTP layer:
docker run --gpus all \
-p 8000:8000 \
--ipc=host \
-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-preview
At this scale the break-even math is exactly what our self-hosting economics post works through: fixed hardware cost beats a per-token bill only once utilization is high and steady, and an under-utilized 8-GPU node loses to the API almost every time. Use the API for evaluation and occasional volume; buy the GPUs only when the workload is constant and the data-egress or privacy case is real.
The serving ecosystem matters as much as the GPU count: the official vLLM prebuilt image (with the hy_v4 tool-call and reasoning parsers) and an SGLang prebuilt image both exist, which is what makes "drop it into your existing OpenAI-compatible toolchain" true on day one. Finetuning is supported through a pipeline in the repo, with the AngelSlim toolkit for further quantization.
Use Hy4 preview when:
Use something else when:
Even if the benchmarks look right, hold off on restructuring your stack around Hy4 preview if:
Hy4 preview is a text-only Mixture-of-Experts model released under Apache 2.0 on August 28, 2026: 770B total parameters with 49B active per token, a 1M-token context window, 256 routed experts with top-8 activation, DeepSeek-style gated sparse attention, and a native MTP layer for speculative decoding. Weights ship in BF16 and FP8 on Hugging Face, ModelScope, GitCode, and CNB, and it is served on OpenRouter by Tencent Cloud.
$0.834 per million input tokens, $2.501 per million output, and $0.042 per million for cache reads, verified August 31, 2026 on the OpenRouter page. It supports up to 64K completion tokens and is served by one provider (Tencent Cloud) as of the verification date.
Technically yes - the weights are Apache 2.0, and the official vLLM/SGLang paths target tensor-parallel 8 GPU nodes with the FP8 release. Realistically no for a workstation: the BF16 weights are about 1.56TB, and even FP8 needs an 8-GPU class box. Self-hosting only wins above high, steady utilization, per the standard open-weights break-even math.
The posted numbers are strong for a text-only model: Terminal-Bench 2.1 at 85.4, SWE-bench Multilingual resolved at 82.9, SWE-bench Pro at 65.7, and DeepSWE at 64.3 on community evaluations listed on the model card, with coding agents already the top traffic sources on OpenRouter. Treat every figure as vendor or community-run on a preview model, and validate on your own repos before routing production work.
Exactly two modes: high (default) and no_think, set via extra_body={"chat_template_kwargs": {"reasoning_effort": "no_think"}} on the OpenAI-compatible API. Any other value raises an exception, so the routing contract is a clean binary: deep reasoning or direct response.
Same active-parameters class (49B both for Hy4 preview and V4 Pro) and same 1M context, but different economics: DeepSeek V4 Pro is $0.66/$1.98 off-peak versus Hy4's $0.834/$2.501, DeepSeek is MIT-licensed and costs less, and Hy4's posted agentic-terminal benchmark (85.4) is the headline open-weights number of the month. Divide the two by which runs your evals better, with price as the tiebreaker - the full lane math is in our DeepSeek V4 economics post.
1M tokens of context with up to 64K completion tokens (per the OpenRouter model page, verified August 31, 2026). At this size the 1M window is the differentiator against every 256K-class open model, and it matches the context ceiling DeepSeek V4 and Qwen3.8 Max set for the category.
All sources fetched and verified August 31, 2026:
Read next
Tencent's Hy3 ships 295B parameters but activates only 21B per token, matching flagship performance at flash-tier pricing under Apache 2.0.
6 min readDeepSeek V4 Pro lands an 80.6 on SWE-bench Verified in Max reasoning mode at $0.66/$1.98 per million tokens off-peak, and Flash runs agent inner loops at $0.22/$0.66. Here is the worked cost math, the Flash-vs-Pro split, and a clear guide on when to route to DeepSeek instead of a frontier model.
9 min readA data-rich, source-cited comparison of the open-weights coding models that matter in 2026: GLM-5.2, DeepSeek V4, Qwen3, and the new Kimi K3 frontier entrant. Benchmark table, per-token pricing, context windows, self-host footprint, and a clear pick-X-if decision matrix.
14 min readTechnical content at the intersection of AI and development. Building with AI agents, Claude Code, and modern dev tools - then showing you exactly how it works.
Alibaba's flagship open-weight coding model. 480B total parameters, 35B active (MoE). Native 256K context, scales to 1M....
View ToolDeepSeek's open-weights frontier family, previewed April 24, 2026. V4-Pro is 1.6T total / 49B active params; V4-Flash is...
View ToolOpen-source reasoning models from China. DeepSeek-R1 rivals o1 on math and code benchmarks. V3 for general use. Fully op...
View ToolAnthropic's first generally available Mythos-class model, released June 9, 2026. 1M context, 128K max output, $10/$50 pe...
View ToolInstall Ollama and LM Studio, pull your first model, and run AI locally for coding, chat, and automation - with zero cloud dependency.
Getting StartedStage, commit, branch, and open PRs without leaving the session.
Claude CodeConnect external tools and data sources via the open MCP standard.
Claude Code
Check out Zed here! https://zed.dev In this video, we dive into Zed, a robust open source code editor that has recently introduced the Agent Client Protocol. This new open standard allows...

Check out Clerk here: https://go.clerk.com/Bil2F6F As we approach the end of 2025, this video explores the monumental changes in coding over the past couple of years. Join me for a snapshot...

In this episode, we explore the newly released GPT-5 Codex by OpenAI, a specialized version of GPT-5 designed for agentic coding tasks. Codex offers advanced features, including enhanced code...

Tencent's Hy3 ships 295B parameters but activates only 21B per token, matching flagship performance at flash-tier pricin...

DeepSeek V4 Pro lands an 80.6 on SWE-bench Verified in Max reasoning mode at $0.66/$1.98 per million tokens off-peak, an...

A data-rich, source-cited comparison of the open-weights coding models that matter in 2026: GLM-5.2, DeepSeek V4, Qwen3,...

Open weights are free to download, but inference is not free to run. Here is the honest break-even math on when self-hos...

Same-day-verified llm api pricing august 2026: Claude Fable 5, GPT-5.6 Sol/Terra/Luna, Claude Sonnet 5, Gemini 3.5 Flash...

Qwen3.8-27B is a 27B dense Apache-2.0 model that scores 61.7 on SWE-bench Pro and 42.2 on DeepSWE 1.1 - ahead of Opus 4....

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.