New open model from Tencent Hy: Hy3 (295B total 21B active - apache 2.0)

Reddit r/LocalLLaMA Models

Summary

Tencent releases Hy3, a 295B-parameter Mixture-of-Experts model with 21B active parameters and Apache 2.0 license, achieving strong benchmark performance comparable to larger flagship models.

No content available
Original Article
View Cached Full Text

Cached at: 07/06/26, 08:09 AM

tencent/Hy3 · Hugging Face

Source: https://huggingface.co/tencent/Hy3 中文| English

LicenseHuggingFaceModelScopecnb.coolGitCode

🖥️Official Website| 💬GitHub


https://huggingface.co/tencent/Hy3#table-of-contentsTable of Contents


https://huggingface.co/tencent/Hy3#model-introductionModel Introduction

Hy3is a 295B-parameter Mixture-of-Experts (MoE) model with 21B active parameters and 3.8B MTP layer parameters, developed by the Tencent Hy Team. Following the Hy3 Preview launch in late April, we gathered feedback from 50+ product teams. We fixed various issues in task execution and interaction, and improved both the quality and scale of our post-training pipeline. Today, we are launching Hy3. It significantly outperforms similar-size models and rivals flagship open-source models with 2-5x the parameters. It also shows solid gains in utility across productivity tasks and real-world applications.

PropertyValueArchitectureMixture-of-Experts (MoE)Total Parameters295BActivated Parameters21BMTP Layer Parameters3.8BNumber of Layers (excluding MTP layer)80Number of MTP Layers1Attention Heads64 (GQA, 8 KV heads, head dim 128)Hidden Size4096Intermediate Size13312Context Length256KVocabulary Size120832Number of Experts192 experts, top-8 activatedSupported PrecisionsBF16

https://huggingface.co/tencent/Hy3#stronger-agent-performanceStronger Agent Performance

Building on Hy3 Preview, we improved post-training data quality and diversity while scaling up RL training. Hy3 shows solid gains across reasoning, agentic workflows, and long-context tasks. Its performance is close to leading flagship models, both domestic and international.

In productivity scenarios such as coding, document processing, financial analysis, game development, and frontend design, Hy3 has made solid gains, positioning it as a reliable, cost-effective option.

We don’t think public benchmark scores tell the full story. So we ran a blind test with 270 experts from various disciplines, working on real-world workflows, and collected 312 valid comparisons. Hy3 scored 2.67/4, outperforming GLM-5.1 at 2.51/4. The advantage was clearest in frontend development, CI/CD, and data & storage.

https://huggingface.co/tencent/Hy3#product-experience-more-reliable-more-cost-effectiveProduct Experience: More Reliable, More Cost-Effective

Utility in production is not fully captured by benchmarks. Based on extensive user feedback and product telemetry, we identified real-world behavior issues that break product experience and improved the model’s capabilities in those areas, earning uniformly positive feedback from product teams.

Output Formatting and Tool Calling Stability: We fixed multiple baseline reliability issues, bringing the model to production-grade standards across tool configurations and output constraints. Tool-call success rates and error recovery improved, and invalid calls that trigger infinite loops dropped. Hy3 also generalizes across different agent scaffoldings. On SWE-Bench Verified, accuracy variance across scaffoldings like CodeBuddy, Cline, and KiloCode remains within 4%.

World Knowledge and Anti-Hallucination: Internal knowledge and external hallucination are interconnected and critical to real-world product experience. Guided by the ideal behavior pattern: “answer when grounded, state when evidence is missing, do not conflate sources, do not fabricate data,” we implemented fine-grained data cleaning and specific training constraints. In internal evaluations on real-world scenarios, Hy3’s hallucination rate dropped from 12.5% to 5.4%, and commonsense error rates fell from 25.4% to 12.7%. These improvements materially reduce fact conflation, fabrication, and logical contradiction.

Complex Context Retention and Multi-turn Intent Tracking: Through joint optimization of SFT and RL, Hy3 improved on operational pain points like coreference resolution, ellipsis recovery, and multi-turn constraint inheritance. On internal comprehensive multi-turn tests, the issue rate dropped from 17.4% to 7.9%. It also posted significant gains on open-source long-dialogue benchmarks like MRCR, from 42.9% to 75.1%. Overall outputs are more concise while ensuring complex intents do not decay or drift over long-horizon interactions.

https://huggingface.co/tencent/Hy3#benchmark-appendixBenchmark Appendix

https://huggingface.co/tencent/Hy3#newsNews

https://huggingface.co/tencent/Hy3#model-linksModel Links

https://huggingface.co/tencent/Hy3#quickstartQuickstart

Deploy Hy3 withvLLMorSGLangfirst, then call the OpenAI-compatible API:

from openai import OpenAI

client = OpenAI(base_url="http://127.0.0.1:8000/v1", api_key="EMPTY")

response = client.chat.completions.create(
    model="hy3",
    messages=[
        {"role": "user", "content": "Hello! Can you briefly introduce yourself?"},
    ],
    temperature=0.9,
    top_p=1.0,
    # reasoning_effort: "no_think" (default, direct response), "low", "high" (deep chain-of-thought)
    extra_body={"chat_template_kwargs": {"reasoning_effort": "no_think"}},
)
print(response.choices[0].message.content)

Recommended parameters:temperature=0\.9,top\_p=1\.0. Reasoning mode: Setreasoning\_effortto"high"for complex tasks (math, coding, reasoning) or"no\_think"for direct responses.

See theDeploymentsection below for how to start the API server.

https://huggingface.co/tencent/Hy3#deploymentDeployment

Hy3 has 295B parameters in total. To serve it on 8 GPUs, we recommend using H20-3e or other GPUs with larger memory capacity.

For production serving, we recommend using vLLM or SGLang, both of which provide dedicated recipes for Hy3:

https://huggingface.co/tencent/Hy3#vllmvLLM

Build vLLM from source:

uv venv --python 3.12 --seed --managed-python
source .venv/bin/activate
git clone https://github.com/vllm-project/vllm.git
cd vllm
uv pip install --editable . --torch-backend=auto

Start the vLLM server with MTP enabled:

# Switch to trtllm backend to work-around mnnvl workspace size issue.
export VLLM_FLASHINFER_ALLREDUCE_BACKEND=trtllm
vllm serve tencent/Hy3 \
  --tensor-parallel-size 8 \
  --speculative-config.method mtp \
  --speculative-config.num_speculative_tokens 2 \
  --tool-call-parser hy_v3 \
  --reasoning-parser hy_v3 \
  --enable-auto-tool-choice \
  --port 8000 \
  --served-model-name hy3

https://huggingface.co/tencent/Hy3#sglangSGLang

Build SGLang from source:

git clone https://github.com/sgl-project/sglang
cd sglang
pip3 install pip --upgrade
pip3 install "transformers>=5.6.0"
pip3 install -e "python"

Launch SGLang server with MTP enabled:

python3 -m sglang.launch_server \
  --model tencent/Hy3 \
  --tp-size 8 \
  --tool-call-parser hunyuan \
  --reasoning-parser hunyuan \
  --speculative-num-steps 2 \
  --speculative-eagle-topk 1 \
  --speculative-num-draft-tokens 3 \
  --speculative-algorithm EAGLE \
  --port 8000 \
  --served-model-name hy3

https://huggingface.co/tencent/Hy3#finetuningFinetuning

Hy3 provides a complete model finetuning pipeline. For detailed documentation, please refer to:Finetuning Guide

https://huggingface.co/tencent/Hy3#quantizationQuantization

We provideAngelSlim, a more accessible, comprehensive, and efficient toolkit for large model compression. AngelSlim supports a comprehensive suite of compression tools for large-scale multimodal models, including common quantization algorithms, low-bit quantization, and speculative sampling.

https://huggingface.co/tencent/Hy3#licenseLicense

Hy3 is released under theApache License 2.0. SeeLICENSEfor details.

https://huggingface.co/tencent/Hy3#contact-usContact Us

If you would like to leave a message for our R&D and product teams, welcome to contact us. You can also reach us via email:

📧[email protected]


Hy3 is developed by the Tencent Hy Team.

Similar Articles

tencent/Hy3

Simon Willison's Blog

Tencent released Hy3, a 295B-parameter Mixture-of-Experts model with 21B active parameters, under Apache 2.0 license, outperforming similar-size models and rivaling larger open-source models with 2-5x parameters.

Hy3 (1 minute read)

TLDR AI

Tencent released Hy3, a 295B-parameter MoE model with 21B active parameters, outperforming similar-sized models and rivaling larger open-source models. It is Apache 2.0 licensed, available on Hugging Face and free on OpenRouter until July 21st.

Tencent/Hy4-preview 770B-A49B weight dropped

Reddit r/LocalLLaMA

Tencent releases Hy4-preview, a new Mixture-of-Experts flagship AI model with 770B total parameters and 49B activated per token, featuring advanced techniques like Gated DeepSeek Sparse Attention and identity Hyper-Connections.