hy4-preview
Provided by Tencent · Text model
Parameters
| Context window | 1.0M tokens |
|---|---|
| Max output | 64K tokens |
| Input modalities | text |
| Output modalities | text |
Capabilities
Official pricing
| Input | $0.896/M |
|---|---|
| Output | $2.688/M |
| Cache read | $0.045/M |
Call example
curl -s https://api.hunyuan.cloud.tencent.com/v1/chat/completions -H "Authorization: Bearer $HUNYUAN_API_KEY" -H "Content-Type: application/json" -d '{"model":"hy4-preview","messages":[{"role":"user","content":"你好"}]}'