# Tencent: Hy4 Flash

Hy4 Flash is Tencent's open-weight Hy model with 220B total parameters, of which 12B are active per token. It takes text and images as input, generates text, and is aimed at everyday productivity work such as document processing and slide creation.

- **Model id:** `opencheap/hy4-flash`
- **Price per 1M tokens:** $0.066 input / $0.26 output
- **Cached input:** $0.0028 per 1M tokens
- **Context:** 1M tokens, 65K max output

## Providers

10 providers. Prices are per 1M tokens. As of 2026-12-04 11:56 UTC.

| Provider | Input price | Cache price | Output price | Latency | Speed | Uptime | Context | Max output |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Hugging Face · pearl-research · fp8 | $0.05 | $0.05* | $0.20 | — | — | — | 1M | — |
| Pearl Research · fp8 | $0.052 | $0.0032 | $0.21 | 2.38 s | 46 tok/s | 100 % | 1M | 943K |
| Surplus · quantization unknown | $0.066 | $0.0028 | $0.26 | — | — | — | 1M | 65K |
| NanoGPT · quantization unknown | $0.07 | $0.003 | $0.28 | — | — | — | 1M | 65K |
| Sandbase · quantization unknown | $0.07 | $0.003 | $0.28 | — | — | — | — | — |
| DeepInfra · fp8 | $0.073 | $0.0032 | $0.30 | 2.70 s | 57 tok/s | 99.7 % | 1M | 131K |
| Fireworks · quantization unknown | $0.073 | $0.0032 | $0.30 | 0.63 s | 109 tok/s | 100 % | 524K | 471K |
| Tencent · fp8 | $0.073 | $0.0032 | $0.30 | 2.74 s | 64 tok/s | 100 % | 1M | 65K |
| AiHubMix · quantization unknown | $0.081 | $0.0032 | $0.32 | — | — | — | 1M | — |
| Qubax · quantization unknown | $0.40 | $0.0045 | $1.60 | — | — | — | 1M | 65K |

\* No cache discount from this provider: cached tokens cost the input price.

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)

- **Hugging Face · pearl-research:** `temperature`, `top_p`, `top_k`, `seed`, `logit_bias`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `logprobs`, `top_logprobs`, `tools`, `tool_choice`
- **Pearl Research:** `temperature`, `top_p`, `top_k`, `seed`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `logprobs`, `top_logprobs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **Surplus:** `temperature`, `top_p`, `min_p`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **NanoGPT:** `temperature`, `top_p`, `top_k`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **Sandbase:** `temperature`, `top_p`, `top_k`, `min_p`, `logit_bias`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **DeepInfra:** `temperature`, `top_p`, `top_k`, `min_p`, `seed`, `logit_bias`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **Fireworks:** `temperature`, `top_p`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `logprobs`, `top_logprobs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **Tencent:** `temperature`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **AiHubMix:** `temperature`, `seed`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **Qubax:** `temperature`, `top_p`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `logprobs`, `top_logprobs`, `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-flash#price-history).

## API

Point the OpenAI SDK at OpenCheap and pass the model id `opencheap/hy4-flash`; 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-flash", "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-flash",
    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-flash",
  messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);
```

## About Hy4 Flash

Hy4 Flash costs from $0.066 per 1M input tokens and $0.26 per 1M output tokens on OpenCheap, with cached input at $0.0028 per 1M tokens. Its list price is $0.07 per 1M input tokens and $0.28 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.00092, and 1,000 such requests about $0.92. Prices as of 2026-12-04 11:48 UTC.

10 providers serve Hy4 Flash 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 Flash 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 Flash API cost per 1M tokens?

Hy4 Flash costs from $0.066 per 1M input tokens and $0.26 per 1M output tokens on OpenCheap, with cached input at $0.0028 per 1M tokens. Prices as of 2026-12-04 11:48 UTC.

### What does one Hy4 Flash request cost?

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

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

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

### Which providers serve Hy4 Flash?

10 providers serve Hy4 Flash 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 Flash?

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 Flash API?

Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/hy4-flash. 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 Preview](https://opencheap.si/models/hy4-preview) (`hy4-preview`): $0.78 / $2.35 per 1M · 1M context

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

## Similar models

- [Xiaomi Mimo V2.6 Flash](https://opencheap.si/models/mimo-v2.6-flash): Xiaomi · 1M context · $0.021 / $0.25 per 1M, 9 % cheaper · [Compare with Hy4 Flash](https://opencheap.si/compare/hy4-flash-vs-mimo-v2.6-flash)
- [deepseek-v4-flash](https://opencheap.si/models/deepseek-v4-flash): DeepSeek · 1M context · $0.073 / $0.15 per 1M, 40 % cheaper · [Compare with Hy4 Flash](https://opencheap.si/compare/hy4-flash-vs-deepseek-v4-flash)
- [Qwen3.8 Flash](https://opencheap.si/models/qwen3.8-flash): Qwen · 1M context · $0.14 / $0.44 per 1M · [Compare with Hy4 Flash](https://opencheap.si/compare/hy4-flash-vs-qwen3.8-flash)
- [OrcaCyber Hy4 Flash](https://opencheap.si/models/orcacyber-hy4-flash): OrcaRouter · 1M context · $0.07 / $0.28 per 1M · [Compare with Hy4 Flash](https://opencheap.si/compare/hy4-flash-vs-orcacyber-hy4-flash)
- [Ling 3.1 Flash](https://opencheap.si/models/ling-3.1-flash): inclusionAI · 1M context · $0.068 / $0.20 per 1M, 21 % cheaper · [Compare with Hy4 Flash](https://opencheap.si/compare/hy4-flash-vs-ling-3.1-flash)
- [XiaomiMiMo/MiMo-V2.6-Flash-RL](https://opencheap.si/models/mimo-v2.6-flash-rl): Xiaomi · 1M context · $0.14 / $0.28 per 1M · [Compare with Hy4 Flash](https://opencheap.si/compare/hy4-flash-vs-mimo-v2.6-flash-rl)

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

---

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