Hunyuan 4 Preview

Hunyuan 4 Preview is Tencent's 770B-parameter mixture-of-experts model with 49B active parameters, served natively on Tencent Cloud TokenHub with a one-million-token window of up to 960K input and 64K output.

input · usd / 1m tok

$0.834

output · usd / 1m tok

$2.501

context window

1.05mtokens

modalities · in → out

takes text in, gives text out

pricing

base api ratesusd per 1m tokens

input
$0.834
output
$2.501
cache read
$0.042

providers

Tencent hosts Hunyuan 4 Preview. Impossibl routes your request intelligently and handles failover automatically when a provider is down.

  • Tencent

specifications

takes text in, gives text outtencent/hy4-preview

  • creatorTencent
  • model typeText generation
  • context window1,048,576 tokens
  • maximum outputnot published
  • input

    takes text in, gives text out

  • outputtext
  • tool callingnot verified
  • endpoint/v1/chat/completions

unknown means the public catalog does not establish that fact. a model's documented capabilities can differ from what a particular api supports. see the model documentation for integration details.

try it · your prompt, this model, live

# responses API
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["IMPOSSIBL_API_KEY"],
    base_url="https://api.impossibl.com/v1",
)

resp = client.responses.create(
    model="tencent/hy4-preview",
    input="",
)
print(resp.output_text)

edit the prompt, then run

benchmarks

benchmark results are not available for this model yet.

compare Hunyuan 4 Preview with other models

frontier labs and open weights, best-ranked firstusd / 1m tok · in / out

impossibl models --all →

frequently asked questions

What is Hunyuan 4 Preview?

Hunyuan 4 Preview is Tencent's 770B-parameter mixture-of-experts model with 49B active parameters, served natively on Tencent Cloud TokenHub with a one-million-token window of up to 960K input and 64K output. It reasons at high effort by default and exposes a two-rung reasoning control, none or high, for callers who want to turn thinking off.

How much does Hunyuan 4 Preview cost?

Hunyuan 4 Preview costs $0.834 per million input tokens and $2.501 per million output tokens through the Impossibl API. Cache reads cost $0.042 per million tokens. All rates are in USD.

view the pricing table ↑

What is the context length of Hunyuan 4 Preview?

Hunyuan 4 Preview has a 1,048,576-token context window through the Impossibl API.

What inputs and outputs does Hunyuan 4 Preview support?

Hunyuan 4 Preview accepts text as input. Hunyuan 4 Preview returns text.

How do I use Hunyuan 4 Preview through an API?

Hunyuan 4 Preview is available through the Impossibl API. Use tencent/hy4-preview as the model identifier with /v1/chat/completions. The quickstart explains how to create an API key and send your first request.

follow the api quickstart →

this page describes Hunyuan 4 Preview as listed by the impossibl public api. prices and availability come from that catalog, refreshed here every five minutes. this is an impossibl offering, not a comparison of independent hosting-provider quotes. model descriptions and release dates, where available, use the creator sources linked under the answers above.

view the source catalog ↗model as markdown ↗report a correction →