KernelFox
Home / Models / Tencent / Hy4 flash

Hy4 flash

No independent score publishedEpoch AI does not score this model and no other independent index exists for it yet.
Released
16 Nov 2026
Type
Open weights
Custom license
Context
1,048,576 tokens
Up to 65,536 output tokens
Price per million
$0.035 in
$0.141 out

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.

What it costs

Through an API, per million tokens.

$0.035 in / $0.141 out

Cached input: $0.002 per million.

about $10for a heavy coding-agent month (13,000 calls, 4 billion tokens, mostly cached context). Measured on one heavy Claude Code user (September 2026), priced at list.

Flat-rate subscriptions can cost far less than API list prices for heavy use. Treat this as a reference, not a bill.

Running it at home

Hy4 Flash on a PC, with Strata

Strata has run Hy4 Flash since version 0.2.18 (21 November 2026), in three packs. It is a model of 220 billion parameters of which 11 billion work on each word, so a PC with 64 GB of RAM is enough to start. Version 0.2.20 (22 November 2026) made it up to four times faster when the RAM and the card share the work, and fixed crashes on Intel processors of the 12th to 14th generation.

Which pack to choose?

PackDisk neededMemoryWho it is for
SQ-64 start here130 GB64 GB of RAM + a card of 8, 12 or 16 GBThe one to start with on an ordinary gaming PC, and on a 128 GB Mac.
SQ-96157 GB96 GB of RAMFor 96 GB desktops and laptops.
SQ-128181 GB128 GB of RAM or more, or shared memoryClosest to the original (a gap of 0.0879 against BF16, according to the authors).

What users measure

The first reports from people who run it, next to the speed announced by the authors. Home PCs run at about a third of the best announced figures.

MachinePackSpeed measured by a userReading the promptAnnounced by the authorsSource
RTX 5070 12 GB + 64 GB DDR4SQ-6422 (16 à 26) tok/s412 tok/s–GitHub #6555
RTX 4090 24 GB + 64 GB DDR5SQ-6428 tok/s632 à 1 061 tok/s–GitHub #6530
Radeon AI PRO R9700 32 GB + 124 GB DDR4SQ-9622 à 23 tok/s1 046 tok/s62 tok/sGitHub #6521
Apple M5 Max 128 GBSQ-6465 à 86 tok/s~1 070 tok/s69 to 110 tok/sGitHub #6542
RTX 5090 32 GB + 128 GB DDR5SQ-64––128.25 (30 before 0.2.20) tok/sStrata 0.2.20

These are reports from users of the engine, not measurements by KernelFox. The RTX 5090 line is the authors’ own figure, not a user’s. Two limits to know: in an agent session the engine read the whole conversation again at every turn when this was reported (18 seconds before the first word on the RTX 5070; version 0.2.21 announces that agent sessions now reuse their prompt on every backend, which no user has checked on Hy4 Flash yet), and one user reproduces an endless loop in long reasoning with the default settings. On the Mac, SQ-64 is the pack to run even with 128 GB: the larger ones are much slower there. Strata on GitHub

Where to run it through an API

Same open model, several inference providers, very different prices. Cheapest first.

Provider
Input $/M
Output $/M
Precision
Context
Uptime
Tencent
0.035
0.141
fp8
1,048,576
100%
DeepInfra
0.07
0.281
fp4
1,048,576
100%
PrimaLabs
0.07
0.281
fp8
1,048,576
96.7%

Prices from OpenRouter’s public provider list. “Precision” is how the weights are stored: a lower-precision copy (fp4, fp8) is cheaper and faster but can be slightly less accurate. Uptime over the last 30 minutes.

Call Hy4 flash through the API

OpenRouter exposes this model through an OpenAI-compatible API. Create a key on OpenRouter, then use the model identifier tencent/hy4-flash.

Python
OpenRouter API
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://openrouter.ai/api/v1",
    api_key=os.environ["OPENROUTER_API_KEY"],
)

response = client.chat.completions.create(
    model="tencent/hy4-flash",
    messages=[{"role": "user", "content": "Explain 4-bit quantization in two sentences."}],
)
print(response.choices[0].message.content)
JavaScript
OpenRouter API
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://openrouter.ai/api/v1",
  apiKey: process.env.OPENROUTER_API_KEY,
});

const response = await client.chat.completions.create({
  model: "tencent/hy4-flash",
  messages: [{ role: "user", content: "Explain 4-bit quantization in two sentences." }],
});
console.log(response.choices[0].message.content);
cURL
OpenRouter API
curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "tencent/hy4-flash",
    "messages": [{"role": "user", "content": "Explain 4-bit quantization in two sentences."}]
  }'

Prices and providers are in the sections above. Check the exact identifier on the OpenRouter model page.

Specifications

Developer
Released
16 Nov 2026
Type
Open weights
License
Custom license
Parameters
220.3 billion
Layers
42 (30 sliding attention, 12 deepseek sparse attention)
Experts
512 experts, 16 active per token
Context window
1,048,576 tokens, up to 65,536 output tokens
Reads
text and image
Writes
text
Full weights on disk
440.5 GB
Name on Hugging Face

Where to get it

Download on Hugging Face Use it through OpenRouter License

To run it on your own machine, the two easiest tools are Ollama and LM Studio.

Frozen facts (name, specifications, links) are fixed when the page is created. Scores, prices and download numbers: refreshed daily; last update 24 Nov 2026. Scores: Epoch AI (Capabilities & benchmarking, CC BY 4.0), adapted by KernelFox.