Textby Tencent

Hy4 flash

Hy4 flash is a cost-efficient variant of Hy4 from Tencent, served with roughly a quarter of the flagship's parameter count for lower latency and cost. It targets code assistance, agent...

  • By price it is among the cheapest of the 348 text models GenMagic runs (16th cheapest).
  • It has scores on 5 public benchmarks, listed below with their sources.
  • It was listed on Nov 16, 2026.

Data last changed Nov 21, 2026 · tracked since Nov 17, 2026 · Every model change

Try Hy4 flash

Generate with Hy4 flash right here. Verify your email to start with free credits.

<$0.01
Try

Specifications

Context window

1M tokens

Max output

66K tokens

Input price

$0.052 / 1M tokens

Output price

$0.21 / 1M tokens

Cached input

$0.0022 / 1M tokens

Benchmarks

How Hy4 flash scores on public benchmarks. Each card links to the benchmark explainer and to the original source.

Compare against every model in the full benchmark matrix.

Capabilities

Reasoning

Works through multi-step problems before answering, for harder tasks.

Vision input

Accepts images alongside text, so you can prompt with pictures and screenshots.

Tool use

Can call functions and tools, enabling agentic and structured workflows.

Structured output

Returns validated JSON that conforms to a schema you define.

Use Hy4 flash through the API

The model id is tencent/hy4-flash. Requests bill your GenMagic balance at the price above, and each response reports what it cost.

curl
curl https://genmagic.co/api/v1/chat/completions \
  -H "Authorization: Bearer $GENMAGIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "tencent/hy4-flash",
    "messages": [{ "role": "user", "content": "Explain vector databases in two sentences." }]
  }'
Python (openai SDK)
from openai import OpenAI

client = OpenAI(base_url="https://genmagic.co/api/v1", api_key="YOUR_GENMAGIC_API_KEY")

resp = client.chat.completions.create(
    model="tencent/hy4-flash",
    messages=[{"role": "user", "content": "Explain vector databases in two sentences."}],
)
print(resp.choices[0].message.content)

From an AI agent, call generate_text with "model": "tencent/hy4-flash" on the GenMagic MCP server. Keys, limits and every endpoint are in the API documentation.

Use Hy4 flash in n8n

  1. In n8n, open the nodes panel, search for GenMagic and install it (a verified community node), then add it to your workflow.
  2. Set Resource to Text and Operation to Generate.
  3. In Model Name or ID, pick Tencent: Hy4 flash, or enter tencent/hy4-flash as an expression.
  4. Connect your GenMagic API key (get one free). Each run is billed at the price above, and the node returns what it cost.

Ready-to-import workflows that already use the node are on GenMagic for n8n.

Similar-priced text models from other providers

Other text models GenMagic runs at a comparable price, on the same balance and API key.

ModelProviderPriceContext
Tencent: Hy4 flash (this model)Tencent$0.052 in / $0.21 out per 1M tokens1M
DeepSeek: DeepSeek V4 Flash LatestDeepSeek$0.066 in / $0.20 out per 1M tokens1M
Inference.net: Schematron V2 TurboInference Net$0.045 in / $0.23 out per 1M tokens128K
Qwen: Qwen3.7 FlashQwen$0.045 in / $0.20 out per 1M tokens1M
Reka EdgeReka$0.15 in / $0.15 out per 1M tokens16K
Mistral: Ministral 3 3B 2512Mistral AI$0.15 in / $0.15 out per 1M tokens131K

More from Tencent

All 9 Tencent models

Tencent: HY-World 2.1 Panorama

Image

HY-World 2.1 Panorama is a 360-degree panorama generation model from Tencent, part of the Hunyuan World family. It turns a single text prompt into one high-resolution equirectangular panorama suitable for...

View model

Tencent: Hy4

Text

The official release of Hy4 delivers comprehensive and substantial improvements over Hy4 Preview, with particularly strong gains in agentic capabilities and performance across a wide range of long-horizon, real-world productivity...

View model

Tencent: Hy Image 3.5 Preview

Image

Hy Image 3.5 Preview is a unified image generation and editing model from Tencent. It handles text-to-image, image-to-image, and multi-turn editing through one endpoint, taking up to 20 reference images...

View model

Tencent: Hy4 preview

Text

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...

View model

Tencent: Hy-MT2-1.8B

Text

Hy-MT2-1.8B is a compact 1.8B-parameter translation model from Tencent. It supports 33 language pairs and five Chinese dialect and minority-language pairs, with workflows for structured, delimiter-based, contextual, glossary-based, and style-guided...

View model

Tencent: Hy-MT2-30B-A3B

Text

Hy-MT2-30B-A3B is Tencent's flagship translation model in the Hy-MT2 family. It supports 33 language pairs and five Chinese dialect and minority-language pairs, with workflows for structured, delimiter-based, contextual, glossary-based, and...

View model

Price and listing history

Every change GenMagic has recorded for Hy4 flash since it began tracking the model on Nov 17, 2026. Prices are GenMagic's, the same the studio and the API charge.

DateChangeBeforeAfter
Nov 19, 2026Updated: huggingFaceId--
Nov 17, 2026Listed-$0.052 in / $0.21 out per 1M tokens

Where these figures come from

  • Price: GenMagic's own price, what the studio and the API charge, recomputed from the provider's price list every few minutes and recorded daily. How pricing works.
  • Specs and description: as Tencent publishes them (model card on Hugging Face), checked daily.
  • Benchmarks: 5 scores from Design Arena, re-read daily. Each score above links to its source.
  • Changes: the data on this page last changed on Nov 21, 2026, tracked since Nov 17, 2026. Every model's new listings, price changes and retirements are in the model changes log, and how every figure on GenMagic is sourced is on our sources page.

Generate with Hy4 flash today

One GenMagic plan unlocks Hy4 flash and every other model across text, image, audio, and video.