Skip to content
One AI API Key
Blog

Hy4 flash for coding agents: fleet math at ¥0.26 a task and 6.7 minutes a run

Hy4 flash bills ¥0.26 per task in a 6.7-minute median run. The fleet math for agent pipelines: 1000 tasks a day, the cache prefix, and the output cap.

One AI API Key TeamPublished 6 min read
On this page

An agent fleet is a multiplication: tasks per day, tokens per task, minutes per task, and a queue wherever concurrency runs out. Hy4 flash entered that arithmetic on November 16 with three numbers that look like they were chosen for it: ¥0.26 per task, a 6.7-minute median task time, and a claimed 150+ tokens per second decode. This post runs the fleet math on those numbers, and marks every place the math stops being Tencent’s and starts being yours.

The verdict up front. At ¥0.26 a task, a 1,000-task-a-day fleet bills ¥26,000 a month — about $3,640 at the 7.15 rate the launch material implies, and about $1,820 inside the 50% TokenHub window. That is the cheapest metered flash-tier arithmetic we have seen since the free lanes, with one catch: it is a per-task figure from a vendor table, not a rate card, and the 64K output cap will redraw your agent harness before the price redraws your bill.

The fleet math, in four lines

Take the blind-test table’s own row — ¥0.26 per task, 6.7 min median — and scale it:

Fleet Tasks/mo Task cost/mo At 50% promo
Side project 10,000 ¥2,600 ¥1,300
Small product 100,000 ¥26,000 ¥13,000
Serious fleet 1,000,000 ¥260,000 ¥130,000

Converted at ¥7.15 to the dollar, the serious fleet is roughly $36,400 a month at list, $18,200 in the promo window. Against the table’s other rows, the same million tasks cost ¥1,200,000 on the DeepSeek row and ¥4,730,000 on the Haiku row — which is the 4.6x and 18x the launch material keeps quoting, now in your currency.

Three honest asterisks. First, ¥0.26 is Tencent’s task mix, not yours; your tokens-per-task is the multiplier that matters, and only your logs have it. Second, the 6.7-minute median hides the tail; a fleet sized to the median queues on the p95. Third, the promo ends 12:00 Beijing time on 2026-11-30, and a fleet priced at half price is a fleet with a cliff in it. Budget at list, bank the promo.

The cache prefix is the real fleet discount

Every agent in a fleet repeats itself: the same system prompt, the same tool schemas, the same repo conventions, the same retrieved docs. Flash’s cached rate is ¥0.02 per million against ¥0.5 fresh — 25x cheaper — so the standing prefix is where fleet economics are won or lost. The pattern is the one our Qwen4-Max prompt caching guide documents for the frontier class: pin the prefix byte-for-byte, put the variable last, and watch cache-hit rate as your first-class metric. A broken prefix on a million-task fleet is not a bug you notice in answers; it is a bug you notice in the bill.

The 50% output-length claim cuts the same way. Launch material says flash generates output 50% shorter than the prior model, which for an agent means either half the tokens per answer or half the turns per task depending on the workload. Neither is verified outside Tencent’s conditions, and the benchmarks ledger keeps the caveats in one place.

The 64K cap redraws the harness

A coding agent that drafts, edits and tests in a loop is mostly safe on a 64K output cap — each call is short, the loop is the architecture. A coding agent that emits whole files in one call is not: generate, patch, verify, repeat. The 1M window is where the repo context lives; the 64K cap is where the answer has to fit. If your harness already chunks work per the 1M context guide, the cap is a footnote. If it does not, the cap is a rewrite.

Concurrency is the third design input, and it is the one with no published number. Flash’s 12B-active design implies cheap parallelism in theory; your provider’s rate limits decide it in fact. On our gateway the equivalent lesson is standing policy: the free lane’s daily allowance and the metered lanes’ ceilings are in the rate limits docs, and a queued agent is a slow pipeline no matter what the model costs. Until flash is metered somewhere you control, this is all a pilot plan, not a deployment.

What you can run today, honestly

  • Flash itself: TokenHub API at list, half price until 2026-11-30; free in WorkBuddy until the same date; hy4-flash-free on BeatAPI with its own request limits. Not on our gateway.
  • The free lanes: the Qwen3.8 27B fast lane answers today at $0, and the free lane page lists every qualifying route. A free lane you have already metered beats a cheap lane you have not.
  • The metered catalogue: the catalogue is where flash will land when it passes the live checks, and the changelog is where that listing is announced.

The cheapest credible pilot, in order: pin your prefix, run your twelve hardest recurring tasks through flash at list price during the promo, meter tokens-per-task, cache-hit rate, retries-per-task and ¥-per-task, and compare against your incumbent on the same twelve. That table — yours, not Tencent’s — is the fleet decision.

Sizing the fleet from published ceilings

Three published numbers bound your harness. The 64K output cap sets the per-turn generation budget: draft, patch, verify, repeat — never emit-whole-file. The ¥0.26 per-task figure sets the bill’s floor, but retries move the real number: a task that retries three times at twice the tokens bills six times, so meter retries-per-task alongside tokens-per-task and cache-hit rate — the same three-number rule as the cheapest-way post. And the 6.7-minute median sets throughput only against the concurrency you actually hold: 1 request per minute on BeatAPI’s free card is a sandbox, and TokenHub’s API limits are unpublished in the material we verified, so ask for the ceiling before you size a fleet. Queue math then does the rest: median time × concurrent lanes is your daily capacity, and a lane that queues is a slow pipeline regardless of what each task costs.

More Hy4 flash coverage

The rest of this cluster, ten angles on one launch:

Into the agent cluster: Qwen4-Max coding agents setup, choosing a model for coding agents, and the cost calculator for the monthly number.

The bottom line

At ¥0.26 a task and 6.7 minutes a run, Hy4 flash is the cheapest metered candidate for high-volume agent fleets this year, and the 25x cache spread makes the standing prefix the real discount. The catches are structural: a vendor table behind the ¥0.26, a 64K output cap that redraws harnesses, unpublished concurrency, and a promo cliff on November 30. Pilot it inside the window, meter the four numbers, and keep the free lanes as the control. The model that wins your fleet is the one whose bill you reproduced yourself — that rule has not changed, and it will not change with flash.

More in Blog

Try it

One API key for Claude, GPT, Grok, DeepSeek, Kimi, Qwen, GLM, MiniMax, Step, Crow, Dots, Beam, Nemotron, Jailbreak, MiMo, Gemini, Muse and Mistral.

One AI API Key speaks the OpenAI and Anthropic formats, so you change the base URL and the key, not your code. Credit packs start at $10, and every model has a published per-token rate.