Tencent Hy4 API
Tencent Hy4 (Tencent) model series: view capabilities, available tiers, public pricing, and API examples.
hy4
Catalog reference rates · billed on actual token usage
Model pricing
Compare all public tiers and current prices for this series on one page.
Catalog reference rates · billed on actual token usage
- Input tokens
- $0.50 / 1M tokens
- Output tokens
- $1.50 / 1M tokens
- Cached input
- $0.50 / 1M tokens
- Cache write
- $0.625 / 1M tokens
- Cache write (1 hour)
- $1.00 / 1M tokens
- Image input tokens
- $0.50 / 1M tokens
- Audio input tokens
- $0.50 / 1M tokens
- Audio output tokens
- $0.50 / 1M tokens
Context tiers are not listed. Reference rates may not apply at every context length.
Context
1,024,000
Max output
64,000
- Model ID
-
hy4 - Available groups
- default
- Capabilities
- chat, responses-native, structured-outputs
API reference
Base URL is https://api.rokoapi.com/v1. The model in requests must use the model IDs listed above.
curl https://api.rokoapi.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "hy4",
"messages": [{"role":"user","content":"Introduce yourself in one sentence"}]
}' For more parameters, limits, and async task queries, read the Tencent Hy4 developer guide. Tencent Hy4 Developer guide · OpenAI · Authorization