Hy4 Preview · aihubmix
Hy4 Preview is Tencent Hunyuan’s large language model for agents, coding, office automation, and complex tool use.Hy4 preview has a total of 770B parameters and 49B active parameters, and is primarily optimized for agent, coding, and productivity scenarios. It strengthens understanding, planning, tool invocation, and sustained execution capabilities for complex tasks. Compared with the previous generation, Hy4 preview further improves multi-step agents, code development, and productivity tasks, offering better task decomposition, context continuity, instruction following, and long-horizon execution. In coding scenarios, it further enhances code understanding, generation, modification, and the handling of complex engineering tasks; in productivity scenarios, it focuses on improving document processing, information analysis, office automation, game development, webpage generation, and cross-tool collaboration. Hy4 preview is suitable for coding agents, complex tool invocation, and various agent workflows that require multi-step planning and sustained execution, providing more reliable task completion for complex real-world business scenarios.
Entrada, $/1M $0.84
Salida, $/1M $2.54
Lectura de caché $0.04225
Escritura de caché —
Contexto 1 048 576
Salida máx. 64 000
Acepta texto
Última comprobación 04.11.2026 12:00:14 UTC
Fuente página del proveedor
Alertas de precio
API
API compatible con OpenAI: los SDK oficiales de OpenAI funcionan con esta URL base. Sustituye YOUR_API_KEY por tu clave del proveedor.
| URL base de la API | |
|---|---|
| Endpoint | |
| ID del modelo | |
curl
curl https://aihubmix.com/api/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "hy4-preview", "messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 256}'Python
import requests
r = requests.post(
"https://aihubmix.com/api/v1/chat/completions",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "hy4-preview",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
},
)
print(r.json())JavaScript
const r = await fetch("https://aihubmix.com/api/v1/chat/completions", {
method: "POST",
headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
body: JSON.stringify({
"model": "hy4-preview",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
}),
});
console.log(await r.json());Solicitud (JSON)
{
"model": "hy4-preview",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
}Respuesta (JSON)
{
"id": "chatcmpl-...",
"object": "chat.completion",
"model": "hy4-preview",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Hi! How can I help?"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 9,
"completion_tokens": 12,
"total_tokens": 21
}
}La dirección se toma de la lista de modelos del proveedor; compruébala con su documentación.
Source: AI Rate Card, https://airatecard.com/es/c/offer%3Aaihubmix%7Chy4-preview, prices checked 2026-11-04; seller's page: https://aihubmix.com
Datos técnicos
ID: offer:aihubmix|hy4-preview