跳到主要内容

Text model

Hy4 Preview

tencent/hy4-preview

tencent/hy4-preview is a language model from Tencent you can call on the OceanToken API at $0.834 per 1M input tokens and $2.501 per 1M output tokens, with a 1.05M-token context window and up to 64K output tokens; it supports reasoning, tool calling.

At a glance

Model IDtencent/hy4-preview
TypeText
PublisherTencent
Context window1,048,576 tokens
Max output64,000 tokens
Input price$0.834 per 1M tokens
Output price$2.501 per 1M tokens
Cached input price$0.042 per 1M tokens
Capabilitiesreasoning, tool calling
Endpoint/v1/chat/completions, /v1/responses
API shapeOpenAI-compatible
In the catalog since2026-08-28

Call it

Base URL https://api.oceantoken.ai/v1, your OceanToken key as the bearer token, and the model ID above as model. The OpenAI SDKs work unchanged; see your first request.

curl https://api.oceantoken.ai/v1/chat/completions \
-H "Authorization: Bearer $OCEANTOKEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "tencent/hy4-preview", "messages": [{"role": "user", "content": "Hello"}]}'

Compared with similar models

Text models on OceanToken closest to tencent/hy4-preview in price. Every price is what you pay, in US dollars, with no platform fee on top.

ModelPublisherContextPrice (per 1M tokens)
Hy4 PreviewTencent1,048,576$0.834 / $2.501
Nova 2 Lite V1
amazon/nova-2-lite-v1
Amazon1M$0.30 / $2.50
Seed-2 1 Turbo
bytedance-seed/seed-2-1-turbo
ByteDance Seed262K$0.50 / $2.50
DeepSeek R1
deepseek/deepseek-r1
DeepSeek64K$0.70 / $2.50

More from Tencent

All Tencent models on OceanToken

Use it

Create an account All models and prices

Prices and capabilities on this page were read from the live OceanToken catalog on 2026-10-18 (UTC), when the documentation was built. If a price has changed since, the console's Models page shows the current one.