> ## 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.

> ## Agent Instructions
> The Venice API is OpenAI-compatible: use any OpenAI SDK with the base URL `https://api.venice.ai/api/v1` and a Venice API key, or pay per request from a USDC wallet through x402 with no account.
> Read model IDs from `GET /models` or `GET /models/traits` at runtime instead of hardcoding them from memory or from these pages. Models are added and retired often.
> Every model's price is in https://docs.venice.ai/pricing.md. Quote video and audio jobs with `POST /video/quote` or `POST /audio/quote` before you queue them.
> Search these docs from an MCP client at https://docs.venice.ai/mcp. The full agent guide is https://docs.venice.ai/agents.md.

# Hy4 Preview API

> Hy4 Preview API on Venice: 1M context, $1.04 input and $3.13 output per 1M tokens. Private, with zero data retention. Supports reasoning and function calling.



## Hy4 Preview API

Hy4 Preview is a large language model by Tencent Hunyuan, available on the Venice API as `hy4-preview`. This model is private and no prompt data is stored in any capacity.

Hy4 Preview is a 770B-parameter Mixture-of-Experts flagship model from the Tencent Hy team, with 49B parameters active per token and a 1M-token context window. It is post-trained for software engineering, office and data analysis, game development, and scientific research, with strong long-horizon reasoning, tool use, and agentic performance.

### Hy4 Preview API pricing

| Model ID | Variant | Privacy | Price |
| - | - | - | - |
| `hy4-preview` | Standard | Private | $1.04 / $3.13 per 1M |

### Hy4 Preview specifications

| Spec | Value |
| - | - |
| Provider | Tencent Hunyuan |
| Released | Aug 28, 2026 |
| Privacy | Private |
| Status | Stable |
| Open weights | [tencent/Hy4-preview](https://huggingface.co/tencent/Hy4-preview) |
| Context window | 1M tokens |
| Max output | 64K tokens |
| Reasoning effort | none, low, high |
| Served precision | FP4 |
| [GPQA Diamond](https://docs.venice.ai/models/methodology.md#benchmarks) | 88.4% ±4.5 (95% interval), run by Venice through the API at its default reasoning on Nov 19, 2026 |

### How to use the Hy4 Preview API

Send requests to `POST https://api.venice.ai/api/v1/chat/completions` with `"model": "hy4-preview"` and your API key.

```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"
  }'
```

### Related models

* [Abliterated Large Flash API](https://docs.venice.ai/models/abliterated-large-flash.md): $1.25 / $2.50 per 1M
* [Kimi K2.6 E2EE API](https://docs.venice.ai/models/kimi-k2-6-e2ee.md): $0.87 / $4.12 per 1M
* [Pareto API](https://docs.venice.ai/models/pareto.md): $1.00 / $4.00 per 1M
* [Kimi K2.7 Code API](https://docs.venice.ai/models/kimi-k2-7-code.md): $0.75 / $3.50 per 1M


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