Back to catalog
Publisher : TencentFamily : HunyuanAvailableNo subscriptionHigh availability

HY4 API

Model ID : hy4

Model ID

hy4

OpenAI-compatible API

Context window

960,000 tokens

Maximum output

64,000 tokens

Input / 1M tokens

0.834 USD

Output / 1M tokens

2.501 USD

Cache read / 1M tokens

$0.042

Cache write / 1M tokens

Same as input

Cache reads reuse stored tokens; cache writes create the provider cache.

Access to this model

Authorized plans : gold, bronze, silver, pro, business

This model is also available with credits without a subscription.

Published capabilities

  • Vision
  • Tool calling
  • Streaming
  • Structured
  • Reasoning

Minimal request

curl https://api.routerlab.ch/v1/chat/completions \
  -H "Authorization: Bearer $ROUTERLAB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"hy4","max_tokens":128,"messages":[{"role":"user","content":"Hello RouterLab"}]}'

Audience measurement

Allow Google Analytics and RouterLab to measure public visits and link campaign sources to your signup? This is optional and can be changed at any time. If you decline, only anonymous visit totals are kept.