Tencent Hunyuan route

hy4-preview

Hy4 Preview API access.

Tencent's Hunyuan 4 preview at $0.834 input and $2.501 output per 1M tokens. It spends heavily on reasoning tokens, so set a generous max_tokens or replies can come back empty. See the Hy4 Preview API pricing notes.

Route status Available

#31

Cost rank / 64

mid-range

Cost band

Published route economicsUSD / 1M tokens

Input / 1M tokens

$0.834

Output / 1M tokens

$2.501

Cached input / 1M tokens

$0.042

Context window

1M

Provider

Tencent Hunyuan

Tencent ships Hy4 as a preview release; the published preview API rate is $0.834 input / $2.501 output per 1M tokens. This model spends heavily on reasoning tokens, so allow a generous max_tokens or replies can come back empty.

Workload calculator

Put the token rate into context.

These examples apply the published input and output rates directly. Actual cost follows the exact tokens your client sends and the model returns.

This route is the 31st cheapest of 64 comparable text models and cheaper than 33 on the same key. Its context window ranks 14th of 64.

Cost simulationPublished base rate

Short request

$0.011

10K input + 1K output

Agent turn

$0.11

100K input + 10K output

Exact token billing

No request minimum

One model ID change

OpenAI compatible

Cost neighbourhood

Nearby routes, same workload.

Every comparison uses the same 100K-input / 10K-output turn. Changing route is a one-line model ID edit.

Price does not measure task quality.

First request

Route it in one call.

Use any OpenAI SDK or tool. Keep the request shape, point the base URL at RouterPlex, and set the model ID shown here.

Read the quickstart
curl /chat/completions
curl https://api.routerplex.com/v1/chat/completions \
-H "Authorization: Bearer $ROUTERPLEX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "hy4-preview",
"messages": [{"role": "user", "content": "Hello!"}]
}'

Route notes

Questions before production traffic.

Same endpoint, every route
01How much does the Hy4 Preview API cost?+

Through RouterPlex, Hy4 Preview costs $0.834 per 1M input tokens and $2.501 per 1M output tokens — the vendor list price with 0% markup, billed per token from a prepaid balance you top up from $5. Cached input tokens are billed at $0.042 per 1M instead of the full input rate, which is most of the prompt on a repeated agent or coding loop. Tencent ships Hy4 as a preview release; the published preview API rate is $0.834 input / $2.501 output per 1M tokens. This model spends heavily on reasoning tokens, so allow a generous max_tokens or replies can come back empty.

02What does one Hy4 Preview agent turn cost?+

A 100K-token input with a 10K-token reply costs about $0.11 on Hy4 Preview. That makes it the 31st cheapest of 64 comparable text models on RouterPlex, roughly 9.0× the cost of the cheapest option (Muse Spark 1.2 Contributor).

03What is a cheaper alternative to Hy4 Preview?+

DeepSeek V4 Pro from DeepSeek is the closest cheaper model on RouterPlex — $0.10 per agent turn against $0.11 for Hy4 Preview, at $0.80/1M input and $2.39/1M output. Both run on the same key and the same endpoint, so switching is a one-line model ID change.

04Is Hy4 Preview cheaper than Gemini 3.6 Flash?+

Yes. Per agent turn, Hy4 Preview costs about $0.11 against $0.11 for Gemini 3.6 Flash — 4% less.

05What is the context window of Hy4 Preview?+

Hy4 Preview supports a 1M token context window on RouterPlex, the 14th largest of the 64 models that publish one.

06Can I use Hy4 Preview with the OpenAI SDK?+

Yes. RouterPlex serves Hy4 Preview through an OpenAI-compatible endpoint at https://api.routerplex.com/v1 — point any OpenAI SDK or tool at that base URL with your RouterPlex key and set model to "hy4-preview".

Provider family

More from Tencent Hunyuan.

All routes

Deploy this route

Put Hy4 Preview behind one key.

Top up from $5 with no subscription required.