Back to catalog
Publisher : Not specifiedFamily : Not specifiedAvailableNo subscriptionHigh availability

Hy4 Preview API

Model ID : hy4-preview

Model ID

hy4-preview

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 : bronze, gold, silver, pro, business

This model is also available with credits without a subscription.

Published capabilities

  • 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-preview","max_tokens":128,"messages":[{"role":"user","content":"Hello RouterLab"}]}'