# Tencent: Hy4 Preview

Hy4 preview is Tencent's open-weight Mixture-of-Experts flagship, with 770B total parameters and 49B active per token. It is aimed at software engineering, office analysis, game development and scientific research, and is released under the Apache License 2.0.

- **Model id:** `opencheap/hy4-preview`
- **Price per 1M tokens:** $0.78 input / $2.35 output
- **Cached input:** $0.039 per 1M tokens
- **Context:** 1M tokens, 64K max output

## Providers

7 providers. Prices are per 1M tokens. As of 2026-12-04 12:05 UTC.

| Provider | Input price | Cache price | Output price | Latency | Speed | Uptime | Context | Max output |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Surplus · quantization unknown | $0.78 | $0.039 | $2.35 | — | — | — | 1M | 64K |
| NanoGPT · quantization unknown | $0.83 | $0.042 | $2.50 | — | — | — | 1M | 64K |
| Sandbase · quantization unknown | $0.83 | $0.042 | $2.50 | — | — | — | — | — |
| AiHubMix · quantization unknown | $0.84 | $0.042 | $2.54 | — | — | — | 1M | 64K |
| SiliconFlow · fp8 | $0.88 | $0.044 | $2.63 | 1.14 s | 80 tok/s | 100 % | 1M | 262K |
| Tencent · fp8 | $0.88 | $0.044 | $2.63 | 3.20 s | 49 tok/s | 100 % | 1M | 64K |
| Qubax · quantization unknown | $1.13 | $0.057 | $3.38 | — | — | — | 1M | 64K |

A request picks by price (`:floor`) or by speed (`provider.sort`, `:nitro`), or sets a floor on tokens per second. [How routing works](https://docs.opencheap.si/speed)

### Supported parameters

The parameters each provider supports on this model, from its published list and our own tests of whether answers show the parameter taking effect. A test is a snapshot, not a guarantee; `provider.require_parameters` sends a request only to providers that support every parameter it sets. [Required parameters](https://docs.opencheap.si/speed#require-parameters)

- **Surplus:** `temperature`, `top_p`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **NanoGPT:** `temperature`, `top_p`, `seed`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **Sandbase:** `temperature`, `top_p`, `top_k`, `seed`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **AiHubMix:** `temperature`, `top_p`, `top_k`, `seed`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **SiliconFlow:** `temperature`, `top_p`, `top_k`, `frequency_penalty`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning` (stop not confirmed)
- **Tencent:** `temperature`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **Qubax:** `temperature`, `top_p`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`

## Price history

Each provider's price over the last 24 hours, 7 days and 30 days is charted on [the page](https://opencheap.si/models/hy4-preview#price-history).

## API

Point the OpenAI SDK at OpenCheap and pass the model id `opencheap/hy4-preview`; the rest of your code stays the same.

```bash
curl https://api.opencheap.si/v1/chat/completions \
  -H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
  -d '{ "model": "opencheap/hy4-preview", "messages": [{ "role": "user", "content": "Hi" }] }'
```

```python
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/hy4-preview",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)
```

```javascript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/hy4-preview",
  messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);
```

## About Hy4 Preview

Hy4 Preview costs from $0.78 per 1M input tokens and $2.35 per 1M output tokens on OpenCheap, with cached input at $0.039 per 1M tokens. Its list price is $0.83 per 1M input tokens and $2.50 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 6 % less here. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.01, and 1,000 such requests about $10.19. Prices as of 2026-12-04 12:01 UTC.

7 providers serve Hy4 Preview on OpenCheap. Each request goes to the cheapest healthy provider of the model, and every answer reports what it cost in `usage.cost`. Its context window is 1M tokens (1,048,576), room for roughly 790,000 words of English in one request.

Hy4 Preview is one of [7 Tencent models](https://opencheap.si/models/lab/tencent) on OpenCheap. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, `https://api.opencheap.si/v1`.

## Pricing questions

### How much does the Hy4 Preview API cost per 1M tokens?

Hy4 Preview costs from $0.78 per 1M input tokens and $2.35 per 1M output tokens on OpenCheap, with cached input at $0.039 per 1M tokens. Prices as of 2026-12-04 12:01 UTC.

### What does one Hy4 Preview request cost?

A request with 10,000 input tokens and 1,000 output tokens costs about $0.01, and 1,000 such requests about $10.19. Every answer reports its own cost in usage.cost.

### Is Hy4 Preview cheaper on OpenCheap than its list price?

Its list price is $0.83 per 1M input tokens and $2.50 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 6 % less here.

### Which providers serve Hy4 Preview?

7 providers serve Hy4 Preview on OpenCheap. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.

### What is the context window of Hy4 Preview?

Its context window is 1M tokens (1,048,576), room for roughly 790,000 words of English in one request.

### How do I call the Hy4 Preview API?

Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/hy4-preview. One OpenCheap key works for every model; the rest of your code stays the same.

## More from Tencent

- [Hy-MT2-1.8B](https://opencheap.si/models/hy-mt2-1.8b) (`hy-mt2-1.8b`): $0.046 / $0.19 per 1M · 8.1K context
- [Hy-MT2-30B-A3B](https://opencheap.si/models/hy-mt2-30b-a3b) (`hy-mt2-30b-a3b`): $0.078 / $0.31 per 1M · 8.1K context
- [Hy-MT2-7B](https://opencheap.si/models/hy-mt2-7b) (`hy-mt2-7b`): $0.078 / $0.31 per 1M · 8.1K context
- [Hy3](https://opencheap.si/models/hy3) (`hy3`): $0.066 / $0.26 per 1M · 262K context
- [Hy4](https://opencheap.si/models/hy4) (`hy4`): $0.42 / $1.25 per 1M · 1M context
- [Hy4 Flash](https://opencheap.si/models/hy4-flash) (`hy4-flash`): $0.066 / $0.26 per 1M · 1M context

[All 7 Tencent models](https://opencheap.si/models/lab/tencent)

## Similar models

- [GLM 5.4](https://opencheap.si/models/glm-5.4): Zhipu · 1M context · $0.70 / $2.20 per 1M, 7 % cheaper · [Compare with Hy4 Preview](https://opencheap.si/compare/hy4-preview-vs-glm-5.4)
- [Kimi K3](https://opencheap.si/models/kimi-k3): Moonshot · 1M context · $1.57 / $0.94 per 1M, 44 % cheaper · [Compare with Hy4 Preview](https://opencheap.si/compare/hy4-preview-vs-kimi-k3)
- [Step 5](https://opencheap.si/models/step-5): StepFun · 1M context · $0.94 / $2.54 per 1M · [Compare with Hy4 Preview](https://opencheap.si/compare/hy4-preview-vs-step-5)
- [Nvidia Nemotron 3 Ultra 550B](https://opencheap.si/models/nemotron-3-ultra-550b-a55b): NVIDIA · 1M context · $0.45 / $2.19 per 1M, 11 % cheaper · [Compare with Hy4 Preview](https://opencheap.si/compare/hy4-preview-vs-nemotron-3-ultra-550b-a55b)
- [Muse Spark 1.3](https://opencheap.si/models/muse-spark-1.3): Meta · 1M context · $0.63 / $2.13 per 1M, 11 % cheaper · [Compare with Hy4 Preview](https://opencheap.si/compare/hy4-preview-vs-muse-spark-1.3)
- [Ergo 1.0](https://opencheap.si/models/ergo-1.0): Other labs · 1M context · $0.94 / $2.83 per 1M · [Compare with Hy4 Preview](https://opencheap.si/compare/hy4-preview-vs-ergo-1.0)

[Compare Hy4 Preview with any model](https://opencheap.si/compare)

---

Source: https://opencheap.si/models/hy4-preview · All models: https://opencheap.si/models · Prices as JSON: https://api.opencheap.si/v1/prices · Index for agents: https://opencheap.si/llms.txt
