hy4-preview
Tencent/Proprietary/1 provider
Hy4 preview is Tencent's flagship class MoE model with 770B total parameters and 49B activated, supporting a 1M token context window. It is optimized for agent, coding, and productivity scenarios, with strong task decomposition, context tracking, instruction following, and long chain execution. It is suited for coding agents, complex tool use, and multi step agentic workflows.MoreLess
Which id to call
tencent/hy4-previewThis model has no managed policy yet, so call the provider endpoint directly. Every id in the endpoints table works the same way.
From /1M input
$0.83
Tencent
Context
1.0M
66K output
Endpoints
1
1 region
Regions
1
chat
Capabilities 4/8
1 endpoint / 1 region
Providers serving hy4-preview
Provider prices, per 1M tokens. Pay as you go adds 5%, or 0% on your own keys.
| Rank | Privacy | ||||||
|---|---|---|---|---|---|---|---|
| 1 | Tencent | Global | 1.0M | $0.83 | $2.50 | $0.04 | zdr |
A column is blank where no qualifying sample exists, and every row links to that provider's endpoint page.
model=
Which id to call
One base url, https://router.requesty.ai/v1, and one key for every id here.
tencent/hy4-previewThis model has no managed policy yet, so call the provider endpoint directly. Every id in the endpoints table works the same way.
OpenAI compatible
Call it in three lines
Change the base url, use your Requesty key, set the model to any id on the left. Existing OpenAI SDK code needs no other edit.
123456789101112131415from openai import OpenAI client = OpenAI( api_key="YOUR_REQUESTY_API_KEY", base_url="https://router.requesty.ai/v1", ) response = client.chat.completions.create( model="tencent/hy4-preview", messages=[ {"role": "user", "content": "Explain quantum computing in one paragraph."}, ], ) print(response.choices[0].message.content)
1
More from Tencent
Reference
hy4-preview questions
Which providers serve hy4-preview?
hy4-preview is available from 1 provider through Requesty: Tencent. All endpoints share one OpenAI-compatible API and one key, and Requesty fails over between them automatically.
How much does hy4-preview cost?
Pricing starts at $0.83 per million input tokens and $2.50 per million output tokens on Tencent, the cheapest endpoint. Prices vary by provider and region; the table above shows every endpoint. Those are the upstream provider rates: pay as you go adds 5% on top, or 0% if you bring your own provider keys.
Is hy4-preview open weights?
No. hy4-preview is a proprietary model from Tencent, served through Tencent's own API and licensed cloud platforms.
What is the context window of hy4-preview?
hy4-preview supports up to 1.0M tokens of context, with up to 66K output tokens per response. Some providers expose a smaller window; check the per-endpoint context column above.
How do I use hy4-preview with the OpenAI SDK?
Install the OpenAI SDK, set base_url to "https://router.requesty.ai/v1", set your API key to your Requesty key, and set the model to "tencent/hy4-preview" or any endpoint id from the table above. The quickstart section shows Python, JavaScript and cURL snippets.
Route hy4-preview through one endpoint
One key for 1 provider on this model and 600+ others. No markup on provider prices, automatic failover, caching built in.
