Tencent Hy4 Preview

tencent/hy4-preview

agentic coding & sustained multi-step tool use.

cmd --model tencent/hy4-preview
Intelligence index
not yet scored
Output speed
not yet scored
Input
$0.83 /M
Output
$2.50 /M
Cache read
$0.04 /M
Agent-loop cost
$0.28 /M in
Context window
1.05M tokens
Released
Modalities

vs. the lineup

Tencent Hy4 Preview beside its stablemates and nearest rivals. The ◆ marks the best value in each column across every row shown.

pin a rival:
ModelIntelligenceCodingSpeedInput $/MOutput $/MBlended $/MContext
Muse Spark 1.3 Contributor48.275.8418.4$0.10$0.20$0.131.05M
Muse Spark 1.348.275.8418.4$1.25$4.25$21.05M
Tencent Hy325.858.888$0.14$0.58$0.25262K
Claude Haiku 4.515.492.1$1$5$2200K
Tencent Hy4 Preview ◆$0.83$2.50$1.251.05M
DeepSeek V4 Pro (latest)pinned36.368.865.3$0.66$1.98$0.991M
DeepSeek V4 Flash (latest)pinned3569.1236.4$0.15$0.60$0.261M

usage calculator

How far a month of credits goes on Tencent Hy4 Preview.

Input tokensfresh prompt
800
Output tokensmodel reply
180
Cache read tokensre-read context
50K
cost / request $0.0032 · in $0.83 · out $2.50 · cache $0.04 per M
fresh input 21%output 14%cache reads 65%
Requests / 30 days
3.1K
$10 credits ÷ $0.0032 per request
~622 quick fixes~124 bug fixes~21 feature PRs

what real work costs

Real coding tasks priced end to end on Tencent Hy4 Preview, from a quick lookup to a full-repo agent run.

One agent task
$0.07
180K in at 75% cache hit, 12K out
What you pay
$0.38 /M
all-in across every token that task touched
Sticker input
$0.83 /M
cache reads bill at $0.04 /M instead
TaskTokens in · outTencent Hy4 PreviewMuse Spark 1.3 ContributorClaude Haiku 4.5
Quick lookup / one-liner8K · 1K$0.0035$0.0003$0.0065
Review a 500-line PR60K · 4K$0.03$0.0027$0.04
Fix a bug (agent loop)180K · 12K$0.07$0.0072$0.12
Refactor a module320K · 20K$0.13$0.01$0.21
Full-repo agent run900K · 45K$0.31$0.03$0.49

frequently asked

How much does Tencent Hy4 Preview cost?
$0.83/M input and $2.50/M output, cache reads $0.04/M. In an agent loop most input is cache-read, so the effective input rate is about $0.28/M.
Which plan do I need?
Available on Go and above.
How do I switch to it?
Run cmd --model tencent/hy4-preview, or type /model in a session and pick it. You can switch mid-session without losing context.

Ship code that matches your taste

Command Code is the AI coding agent that continuously learns your taste. Start for $1.

Benchmarks from Artificial Analysis (v4.3)commandcode.ai/models/hy4-preview