
Tencent Hunyuan route
hy4-preview
Hy4 Preview API pricing.
One OpenAI-compatible route at the vendor list price with 0% markup, billed per token from one prepaid balance. No subscription required.
Input / 1M tokens
$0.83
Output / 1M tokens
$2.50
Context window
1M
Provider
Tencent Hunyuan
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 26th cheapest of 54 comparable text models and cheaper than 28 on the same key. Its context window ranks 11th of 54.
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. Check Hy4 Preview benchmark evidence before optimizing on cost alone.
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 quickstartcurl 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.
01How much does the Hy4 Preview API cost?+
Through RouterPlex, Hy4 Preview costs $0.83 per 1M input tokens and $2.50 per 1M output tokens — the vendor list price with 0% markup, billed per token from a prepaid balance you top up from $5. 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 26th cheapest of 54 comparable text models on RouterPlex, roughly 10.0× the cost of the cheapest option (DeepSeek V4 Flash).
03What is a cheaper alternative to Hy4 Preview?+
Doubao Seed 2.0 Pro from ByteDance is the closest cheaper model on RouterPlex — $0.10 per agent turn against $0.11 for Hy4 Preview, at $0.67/1M input and $3.36/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 11th largest of the 54 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.
Deploy this route
Put Hy4 Preview behind one key.
Top up from $5 with no subscription required.