35% offprompt cache
Hy4 Preview
hy4-preview
Hy4 Preview — 1M token context, up to 65,536 output tokens, text / image input, prompt caching.
Input / output per 1M
$0.542/$1.63
official $0.834 / $2.50
Network fee$0.0010
ProviderTencent
ModalityText, Image
Context
1M
Max output
65.5K
Input / 1M
$0.542
Output / 1M
$1.63
Pricing
Input / 1M$0.542$0.834
Output / 1M$1.63$2.50
Network fee$0.0010per request
35% below the official upstream price.
Request
POST /v1/chat/completionscurl https://api.relayrouter.org/v1/chat/completions \ -H "Authorization: Bearer $RELAY_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "hy4-preview", "messages": [{ "role": "user", "content": "Hello" }] }'