hy4-previewhy4-preview is the preview channel of the Hunyuan 4 line on the platform side, with the catalog labelling its context at 1,048,576 (1M) for very long context work. This page covers how it differs from the regular hy4 channel, the matching weights for local deployment, and three things to keep in mind.
hy4-preview is the preview channel of the Hunyuan 4 line on the platform side: the catalog labels its context at 1,048,576 (1M), the longest window on the Hunyuan 4 line. It runs in parallel with the regular hy4 channel, and the difference is channel positioning and window labelling rather than a stripped-down official build.
The EXAIV cloud catalog is the source of truth
This page is a local deployment reference. Whether Hunyuan appears in the EXAIV cloud catalog, and how each channel's context and billing are labelled, follow the live model directory. This page never treats a HuggingFace weight name as an API ID.
| Item | Value |
|---|---|
| Platform model ID | hy4-preview |
| Channel type | Preview channel, in parallel with hy4 |
| Catalog context label | 1,048,576 (1M) |
| Matching local weights | The Hunyuan-4B series under the tencent organisation |
| Local weight formats | BF16 / FP8 / GPTQ-Int4 / AWQ-Int4 |
| Community GGUF | Multiple authors, from 2.61GB for Q4_K_M |
| Dimension | hy4 | hy4-preview |
|---|---|---|
| Channel positioning | Regular channel | Preview channel |
| Catalog context label | currently unlabeled | 1,048,576 (1M) |
| Fits | Everyday chat, classification, rewriting | One-shot processing of very long material |
| Local weights | The same Hunyuan-4B series | The same Hunyuan-4B series |
| API ID modela | hy4-preview |
| Davatelj | Tencent Hunyuan |
| Kontekstni prozor | — |
| Vrsta | chat |
| Težine | For local deployment use the tencent organisation's Hunyuan-4B weights. The platform-side hy4-preview is a separate channel, so treat channel labels and weight names as two different systems. |
Naplata po tokenu u kreditima. Cijene uživo na stranici cijena.
Cases that must fit a large body of material in one prompt: an entire repository, long meeting transcripts, batches of PDFs.
Put a batch of material into a single request instead of stitching turns together and losing information.
Pull fields out of long documents in a fixed format without repeatedly truncating the input.
Ovaj model se pruža kroz jedinstveni API kompatibilan s OpenAI (Bearer provjera). Endpointi: POST /api/ai/v1/chat/completions · dokumentaciju API-ja →
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url=" echo exaiv.com;; *) echo https://exaiv.com;; esac)/api/ai/v1"
)
response = client.chat.completions.create(
model="hy4-preview",
messages=[
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Hello, introduce yourself"}
]
)
print(response.choices[0].message.content)stream = client.chat.completions.create(
model="hy4-preview",
messages=[{"role": "user", "content": "Write a short poem about autumn"}],
stream=True,
)
for chunk in stream:
print(chunk.choices[0].delta.content or "", end="")curl echo exaiv.com;; *) echo https://exaiv.com;; esac)/api/ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "hy4-preview",
"messages": [{"role": "user", "content": "Hello"}],
"stream": false
}'The API domain in the examples is auto-filled with this site’s injected gateway — no manual replacement needed.
Specialized audio model — not applicable.
Naplata po tokenu u kreditima, s popustom na cache. Cijene na stranici modela.
Ne. Jedan AI Gateway API ključ pokriva ovaj model i sve ostale na stranici.
For local deployment use the tencent organisation's Hunyuan-4B weights. The platform-side hy4-preview is a separate channel, so treat channel labels and weight names as two different systems.
Jedan API ključ, svi modeli. Krediti nikad ne istječu.
Stvorite besplatni račun