Now on VeniceLLMReasoningOpen weights

Hy4

Tencent's open-weight MoE flagship — 770B total parameters, 1M-token context, vision, reasoning, and tool use, run privately on Venice.

For agents
curl https://api.venice.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $VENICE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "hy4",
    "messages": [{ "role": "user", "content": "Explain quantum tunneling simply." }]
  }'
Maker
Tencent (Hunyuan / Hy team)
Context
1,024K tokens
Reasoning
Supported
Privacy
Private

Overview

What is Hy4

Hy4 is Tencent's flagship open-weight Mixture-of-Experts language model, released in November 2026 with 770B total parameters (49B active per token), a 1M-token context window, and native image and video understanding. It handles reasoning, function calling, web search, and code-heavy work, and its weights are downloadable under the Tencent Hy License.

Running it privately on Venice

On Venice, Hy4 runs under the private tier with zero retention — your prompts are not stored, profiled, or used for training, and there is no personal history tied to your account. You get the same open-weight frontier model Tencent published, served at fp4 quantization, without feeding a surveillance ad engine. Access is permissionless: no subscription gate, just per-token billing.

PrivateNo prompt training

Agent quickstart

Three calls, copied straight out

The API is OpenAI-compatible: change the base URL and the model id and existing client code works unchanged.

Streaming chat

curl https://api.venice.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $VENICE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "hy4",
    "stream": true,
    "messages": [{ "role": "user", "content": "Draft the release note." }]
  }'

Tool calling

curl https://api.venice.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $VENICE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "hy4",
    "messages": [{ "role": "user", "content": "Find the rate limits." }],
    "tools": [{
      "type": "function",
      "function": {
        "name": "search_docs",
        "description": "Search the API documentation.",
        "parameters": {
          "type": "object",
          "properties": { "query": { "type": "string" } },
          "required": ["query"]
        }
      }
    }],
    "tool_choice": "auto"
  }'

Python SDK

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["VENICE_API_KEY"],
    base_url="https://api.venice.ai/api/v1",
)

resp = client.chat.completions.create(
    model="hy4",
    messages=[{"role": "user", "content": "Build without permission."}],
)
print(resp.choices[0].message.content)

Specifications

Datasheet

Maker
Tencent (Hunyuan / Hy team)
Modality
Text in/out; understands images and video via a dynamic-resolution ViT adapter
Open weights
Yes
License
Tencent Hy License v1.0 (Apache 2.0-derived with commercial MaaS terms)
Context window
1,024K tokens
Input images
Images and video frames at dynamic resolutions, converted to visual tokens
Released
November 4, 2026 (weights on Hugging Face November 20, 2026)
Architecture
Mixture-of-Experts, 78 layers (1 dense FFN + 77 MoE FFNs), 256 routed experts + 1 shared expert per layer, top-8 routing, Gated DeepSeek Sparse Attention with IndexCache, iHC residual connections, built-in DFly2 3.3B speculative-decoding drafter
Parameters
770B total, 49B active per token
Quantization on Venice
fp4
Max output
64K tokens
Capabilities
Function calling, Reasoning, Web search, Code-optimized
Privacy on Venice
Private — zero retention
Available on Venice since
Nov 2026

Assessment

Strengths and limitations

Strengths
  • Frontier-class agentic performance: independent evaluations put Hy4 among the strongest open models for multi-step tool use and long-horizon professional tasks.
  • Full capability stack on Venice: function calling, structured JSON output, reasoning, web search, and code-optimized generation are all exposed through the API.
  • 1M-token context window lets you drop in entire codebases, long document sets, or months of chat and email history in a single prompt.
  • First Hy generation with visual understanding: fine-grained image analysis, complex chart reading, and math visual reasoning.
  • Open weights under a permissive-derived licence, so the same model you use on Venice can be self-hosted or fine-tuned.
  • Fast for its class: a built-in DFly2 speculative-decoding drafter keeps long-context generation cheap, and third-party timing tests found it roughly 3x faster than a comparable reasoning rival.
Limitations
  • Not uncensored: Tencent trained safety measures into the weights, so Hy4 will refuse some categories that Venice Uncensored 1.2 handles.
  • Not the cheapest option: at $1.04 in / $3.13 out per 1M tokens it costs several times more than small open models like Gemma 4 31B for simpler tasks.
  • Self-hosting is demanding: roughly 462 GB of memory at 4-bit, putting local deployment out of reach without serious hardware.
  • Independent benchmark suites disagree on where it ranks; some evaluators place rivals like DeepSeek V4.1 above it on certain agentic suites.
  • No TEE or end-to-end encryption on Venice's private tier — privacy rests on zero-retention policy rather than cryptographic isolation.

Use cases

What it is good for

  1. 01Long-horizon agent workflows: multi-step research, planning, and tool orchestration across a 1M-token working memory.
  2. 02Frontend and game development — Tencent reports targeted training on complex UI logic, state management, and UE/Unity/Godot workflows.
  3. 03Financial and office analysis: fund research, securities analysis, and multi-source document synthesis with web search grounding.
  4. 04Chart and screenshot analysis where the model must read figures, not just describe them.
  5. 05Scientific and code work combining reasoning, code execution planning, and long-document reference.

Prompting

Getting better results

Ask for JSON explicitly and pass a schema — Hy4 supports structured output, so say "respond only with JSON matching this schema" and paste the schema.

For hard problems, request step-by-step reasoning first and the final answer last; Hy4 is a reasoning model and degrades gracefully under long chains of thought.

Use the web-search capability for anything time-sensitive — phrase it as "search the web for current figures on X before answering" rather than trusting training data.

Dump whole files or repos into the prompt instead of summarizing — with a 1M-token context, pasting the real source beats describing it.

Define tools up front in the system prompt with typed parameters; Hy4's function calling is more reliable when each tool gets a one-line purpose statement.

Route cheap, high-volume calls to a smaller model and reserve Hy4 for agentic or long-context work — cached input on Venice drops to $0.05 per 1M tokens for repeated prefixes.

Alternatives

How it compares

ModelBest forContextOpen weightsPrice (Venice)
Hy4Agentic long-horizon work with vision1M tokensYes$1.04 in · $3.13 out / 1M
Grok 4.7Frontier closed-model reasoning500K tokensNo$2.27 in · $6.80 out / 1M
Muse Spark OpenOpen-weight alternative at 1M context1M tokensYes$1.56 in · $5.31 out / 1M
Qwen 3.7 PlusBudget 1M-context workhorse1M tokensNo$0.50 in · $2 out / 1M
Gemini 3.8 FlashFast closed-model general chat1M tokensNo$0.94 in · $4.69 out / 1M

Pick Hy4 when a task needs open-weight frontier reasoning, tool use, and vision over a million-token window — and you'd rather not hand the transcript to a closed-model vendor. For cheap bulk generation, Qwen 3.7 Plus undercuts it; for uncensored output, Venice Uncensored 1.2 is the better fit.

Pricing

What it costs on Venice

Billed per token on Venice: $1.04 per 1M input tokens and $3.13 per 1M output tokens.

Input / 1M tokens
$1.04
Per 1M tokens
Output / 1M tokens
$3.13
Per 1M tokens
Cached input / 1M
$0.05
Per 1M tokens

New Venice accounts include a free daily allowance and 500 welcome credits — no credit card required.

Getting a key

From nothing to a first call

  1. 01

    Create a key in API settings. Nothing else is required to start.

  2. 02

    Export it as VENICE_API_KEY so the snippets above run unedited.

  3. 03

    Point an existing OpenAI client at https://api.venice.ai/api/v1. The scheme is part of the value: an OpenAI client given a bare host does not resolve it.

  4. 04

    Pass hy4 as the model and send the request.

FAQ

Frequently asked questions

Hy4 is Tencent's flagship open-weight Mixture-of-Experts language model, released November 4, 2026. It has 770B total parameters with 49B active per token, a 1M-token context window, and — for the first time in the Hy family — native image and video understanding alongside reasoning, tool calling, and web search.

Venice bills Hy4 per token: $1.04 per 1M input tokens, $3.13 per 1M output tokens, and $0.05 per 1M cached input tokens. There is no subscription required — you pay only for what you use.

Hy4 has open weights, published on Hugging Face under the Tencent Hy License Version 1.0. That licence is derived from Apache 2.0 but adds commercial terms for model-as-a-service businesses, so it is open-weight rather than unconditionally open-source — check Section 10 if you plan to resell hosted access.

Yes. On Venice, Hy4 exposes function calling, structured JSON output, extended reasoning, and web search through the API. It is also code-optimized, making it a strong default for agentic coding and research pipelines.

Yes — Hy4 introduced visual understanding to the Hy family. A dynamic-resolution ViT converts images and video frames into visual tokens the language model processes alongside text, supporting chart analysis, screenshot comprehension, and math visual reasoning.

Both are frontier-class reasoners, but Hy4 is open-weight, doubles the context window (1M vs 500K tokens), and costs less on Venice ($1.04/$3.13 vs $2.27/$6.80 per 1M tokens). Choose Grok 4.7 only if you specifically prefer a closed proprietary model; for agentic, long-context, or vision work Hy4 is the stronger private pick.

Venice runs Hy4 under its private tier with zero retention: prompts and outputs are not stored, profiled, or used for training. Note that this tier relies on a no-logging policy rather than TEE or end-to-end encryption, which are not part of Hy4's Venice deployment.

No. Tencent deliberately trained safety measures into the weights ahead of the open release, focusing on cybersecurity and biology risks. If you need an uncensored model on Venice, Venice Uncensored 1.2 is the purpose-built alternative.

Tencent announced Hy4 on November 4, 2026, and published the weights on Hugging Face on November 20, 2026. It has been available on Venice since November 2026.

Run Hy4 privately

One key, free to start, no credit card.

Start chat