hy4-preview

tencentcloud/hy4-preview
Capabilities
5
ToolsSearchThinkJSONCache
Context length
1M
Tokens
Max output tokens
64K
Tokens
Type
Chat
TencentCloud

Playground

Up to 50 messages are kept on this page; only the last 10 are sent as context, and refreshing clears them

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
POST/v1/chat/completions
SynchronousOpenAI-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.

API documentation

Uptime