> ## Documentation Index
> Fetch the complete documentation index at: https://docs.venice.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Hy4 Preview API

> Venice 上的 Hy4 Preview API：1M 上下文，每 1M tokens 输入 $1.04、输出 $3.13。私密运行，零数据留存。支持推理和函数调用。

> [accordion] 纯文本规格说明
>
> ## Hy4 Preview API
>
> Hy4 Preview 是由 Tencent Hunyuan 推出的大语言模型，可通过 Venice API 以 `hy4-preview` 调用。它以私密方式运行，零数据留存。
>
> Hy4 Preview 是腾讯 Hy 团队推出的 770B 参数混合专家（Mixture-of-Experts）旗舰模型，每个 token 激活 49B 参数，拥有 1M token 上下文窗口。它针对软件工程、办公与数据分析、游戏开发和科学研究进行了后训练，具备强大的长周期推理、工具使用和智能体性能。
>
> ### Hy4 Preview API 价格
>
> | 模型 ID | 变体 | 隐私 | 价格 |
> | - | - | - | - |
> | `hy4-preview` | 标准 | Private | 每 1M $1.04 / $3.13 |
>
> ### Hy4 Preview 规格
>
> | 规格 | 值 |
> | - | - |
> | 提供商 | Tencent Hunyuan |
> | 发布日期 | 2026年8月28日 |
> | 隐私 | Private |
> | 状态 | 稳定 |
> | 开放权重 | 是 |
> | 上下文窗口 | 1M tokens |
> | 最大输出 | 64K tokens |
> | 推理强度 | none, low, high |
> | 服务精度 | FP4 |
>
> ### 如何使用 Hy4 Preview API
>
> 使用 `"model": "hy4-preview"` 和您的 API 密钥向 `POST https://api.venice.ai/api/v1/chat/completions` 发送请求。
>
> ```bash theme={"system"}
> curl https://api.venice.ai/api/v1/chat/completions \
>   -H "Authorization: Bearer $VENICE_API_KEY" \
>   -H "Content-Type: application/json" \
>   -d '{
>     "model": "hy4-preview",
>     "messages": [{ "role": "user", "content": "Explain TEE attestation in two sentences." }],
>     "reasoning_effort": "high"
>   }'
> ```
>
> ### 相关模型
>
> * [Abliterated Large Flash API](https://docs.venice.ai/zh/models/abliterated-large-flash.md): 每 1M $1.25 / $2.50
> * [Kimi K2.7 Code API](https://docs.venice.ai/zh/models/kimi-k2-7-code.md): 每 1M $0.75 / $3.50
> * [Gemini 3.8 Flash API](https://docs.venice.ai/zh/models/gemini-3-8-flash.md): 每 1M $0.9375 / $4.69
> * [Gemini 3.7 Flash API](https://docs.venice.ai/zh/models/gemini-3-7-flash.md): 每 1M $0.9375 / $4.69


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.