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.

Modelo baseTodos os modelos desta baseTodos os modelos do provedorao provedor

Entrada, $/1M $0.84

Saída, $/1M $2.54

Leitura de cache $0.04225

Gravação de cache —

Contexto 1 048 576

Saída máx. 64 000

Aceita texto

Última verificação 04.11.2026 12:00:14 UTC

Fonte página do provedor

Alertas de preço

Entre para seguir o preço

API

API compatível com OpenAI: os SDKs oficiais da OpenAI funcionam com esta URL base. Substitua YOUR_API_KEY pela sua chave do provedor.

URL base da API
https://aihubmix.com/api/v1
Endpoint
https://aihubmix.com/api/v1/chat/completions
ID do modelo
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());
Requisição (JSON)
{
  "model": "hy4-preview",
  "messages": [
    {
      "role": "user",
      "content": "Hello!"
    }
  ],
  "max_tokens": 256
}
Resposta (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
  }
}

O endereço vem da lista de modelos do provedor; confira na documentação dele.

Documentação da API do provedor

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

Dados técnicos

ID: offer:aihubmix|hy4-preview