Published capabilities
- Tool calling
- Streaming
- Structured
- Reasoning
Model ID : hy4-preview
Model ID
hy4-preview
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.
Authorized plans : bronze, gold, silver, pro, business
This model is also available with credits without a subscription.
curl https://api.routerlab.ch/v1/chat/completions \
-H "Authorization: Bearer $ROUTERLAB_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"hy4-preview","max_tokens":128,"messages":[{"role":"user","content":"Hello RouterLab"}]}'