TencentCloud: tencentcloud/hy4-preview
hy4-preview
tencentcloud/hy4-previewCapabilities
5
ToolsSearchThinkJSONCache
Context length
1M
Tokens
Max output tokens
64K
Tokens
Type
Chat
TencentCloud
Playground
Pricing
Pricing breakdown
Usage-based pricing, broken down by billing item at your current rates.
Input tokens
Standard rate
0.834 credits / 1M
Output tokens
Standard rate
2.501 credits / 1M
Cache read tokens
Standard rate
0.042 credits / 1M
Billing items are additive. Only one matching price tier applies to each item. Each request is calculated exactly from actual usage, and the total is rounded up once to the nearest 0.000001 credits.
API
cURL example
request.sh
POST
/v1/chat/completionsSynchronousOpenAI-compatible
curl "https://api.modelrover.ai/v1/chat/completions" \ -X POST \ -H "Authorization: Bearer $API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "tencentcloud/hy4-preview", "messages": [ { "role": "user", "content": "Explain model gateways in one sentence." } ]}'Set your API_KEY environment variable before running. Keep your key server-side.