AI Rate Card

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.

Modèle de baseTous les modèles de cette baseTous les modèles du fournisseurvers le fournisseur

Entrée, $/1M $0.84

Sortie, $/1M $2.54

Lecture cache $0.04225

Écriture cache —

Contexte 1 048 576

Sortie max. 64 000

Accepte texte

Dernière vérification 04.11.2026 12:00:14 UTC

Source page du fournisseur

Alertes de prix

Connectez-vous pour suivre le prix

API

API compatible OpenAI : les SDK officiels d'OpenAI fonctionnent avec cette URL de base. Remplacez YOUR_API_KEY par votre clé du fournisseur.

URL de base de l'API
https://aihubmix.com/api/v1
Point de terminaison
https://aihubmix.com/api/v1/chat/completions
ID du modèle
hy4-preview
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());
Requête (JSON)
{
  "model": "hy4-preview",
  "messages": [
    {
      "role": "user",
      "content": "Hello!"
    }
  ],
  "max_tokens": 256
}
Réponse (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
  }
}

L'adresse provient de la liste de modèles du fournisseur ; vérifiez-la dans sa documentation.

Documentation API du fournisseur

Source: AI Rate Card, https://airatecard.com/fr/c/offer%3Aaihubmix%7Chy4-preview, prices checked 2026-11-04; seller's page: https://aihubmix.com

Détails techniques

ID: offer:aihubmix|hy4-preview