Tencent: Hy4 preview: AI model
Hy4 preview is a large mixture-of-experts preview model for coding agents from Tencent with a 1M-token context window. Reachable from inside Iran through Hormouz.
- Context window:
- 1,048,576 tokens
- Input:
- $0.75/1M tokens
- Output:
- $2.25/1M tokens
- Type:
- text
- Tools
- Streaming
- Long context
Thinking levels: high · low · none
Hy4 Preview is a preview of Tencent's next large model: a mixture-of-experts with 770B parameters, 49B of them active per token, and a 1M-token context. It is aimed at coding agents, complex tool-use workflows and productivity tasks that need planning, memory of earlier context and steady execution over many steps. As a preview it may change before the final release.
It accepts text input and returns text, and supports tool calling, structured JSON output and streaming. Reasoning can be switched on when a problem needs more thought and left off when speed matters. Hy4 preview is commonly used for coding agents, multi-tool workflows, planning-heavy productivity tasks and long-context work. Hormouz serves it behind an OpenAI-compatible API: point your base URL at Hormouz, drop in a Hormouz key, and existing OpenAI SDK code runs without changes.
Pricing is usage-based: $0.834 per million input tokens and $2.5 per million output tokens. There is no fixed monthly fee, and you pay only for the tokens you use. Hormouz provides stable access to the model from inside Iran, with no foreign credit card or circumvention tooling required.
Tencent: Hy4 preview is a mixture-of-experts model from Tencent, with 49B active parameters out of 770B total. It is designed for coding agents, complex tool-use workflows, and productivity tasks that...
Quickstart
curl https://api.hormouz.net/v1/chat/completions \
-H "Authorization: Bearer ng-YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "tencent/hy4-preview",
"messages": [{"role": "user", "content": "Hello!"}]
}'Specs
| Vendor | Tencent |
|---|---|
| Type | Text |
| Context window | 1,048,576 tokens |
| Pricing | $0.75/M in · $2.25/M out |
| API | Chat Completions |
| Capabilities | Streaming · Tools |
Code example
curl https://api.hormouz.net/v1/chat/completions \
-H "Authorization: Bearer ng-YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "tencent/hy4-preview",
"messages": [{"role": "user", "content": "Hello!"}]
}'from openai import OpenAI
client = OpenAI(api_key="ng-YOUR_API_KEY", base_url="https://api.hormouz.net/v1")
response = client.chat.completions.create(
model="tencent/hy4-preview",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ apiKey: "ng-YOUR_API_KEY", baseURL: "https://api.hormouz.net/v1" });
const response = await client.chat.completions.create({
model: "tencent/hy4-preview",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);Buy the Tencent: Hy4 preview API, paid in rial
- Buy credit with an Iranian bank card; no foreign card or account needed.
- One Hormouz key reaches Tencent: Hy4 preview and 600+ other models, and you pay only for what you use.
- No VPN and no risk of a banned account; just change the base URL to api.hormouz.net/v1.
Use via Hormouz
Connect to this model and 600+ others with one API key, then see usage down to each request.
Request company accessFAQ
- How much does Hy4 preview cost?
- Pricing is usage-based: $0.834 per million input tokens and $2.5 per million output tokens. There is no fixed monthly fee, and you pay only for the tokens you use.
- How do I access Hy4 preview from inside Iran?
- Create an account on Hormouz and generate an API key. Hormouz provides a stable path to the model from inside Iran, with no foreign credit card or circumvention tooling required.
- Is Hy4 preview compatible with OpenAI code?
- Yes. Hormouz exposes an OpenAI-compatible API. Point your base URL at Hormouz and swap in your Hormouz key. Your existing SDKs and code run without a rewrite.
- What context window and capabilities does Hy4 preview have?
- It has a 1M-token context window, accepts text input, and supports tool calling, structured JSON output and streaming. Reasoning can be switched on when a problem needs more thought and left off when speed matters.
- What is Hy4 preview good for?
- Typical uses are coding agents, multi-tool workflows, planning-heavy productivity tasks and long-context work.
Updated 2026-10-13