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:
| Model | Intelligence | Coding | Speed | Input $/M | Output $/M | Blended $/M | Context |
|---|---|---|---|---|---|---|---|
| GLM-5.3 Flash | 57.5◆ | 71.5◆ | 41.8◆ | $0.15◆ | $0.50◆ | $0.24◆ | 1.05M◆ |
| Tencent Hy3 | 42.2◆ | 58.8◆ | 69.1◆ | $0.14◆ | $0.58◆ | $0.25◆ | 262K◆ |
| Gemini 3.5 Flash Lite | 37.4◆ | 49.3◆ | 368.8◆ | $0.30◆ | $2.50◆ | $0.85◆ | 1M◆ |
| Claude Haiku 4.5 | 24.1◆ | —◆ | 103.9◆ | $1◆ | $5◆ | $2◆ | 200K◆ |
| Tencent Hy4 Preview ◆ | —◆ | —◆ | —◆ | $0.83◆ | $2.50◆ | $1.25◆ | 1.05M◆ |
| DeepSeek V4 Pro (latest)pinned | 53.2◆ | 68.8◆ | 61◆ | $0.66◆ | $1.98◆ | $0.99◆ | 1M◆ |
| DeepSeek V4 Flash (latest)pinned | 52◆ | 69.1◆ | 129◆ | $0.22◆ | $0.66◆ | $0.33◆ | 1M◆ |
usage calculator
How far a month of credits goes on Tencent Hy4 Preview.
Input tokensfresh prompt
800Output tokensmodel reply
180Cache read tokensre-read context
50Kcost / 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
| Task | Tokens in · out | Tencent Hy4 Preview | GLM-5.3 Flash | Claude Haiku 4.5 |
|---|---|---|---|---|
| Quick lookup / one-liner | 8K · 1K | $0.0035 | $0.0008 | $0.0065 |
| Review a 500-line PR | 60K · 4K | $0.03 | $0.0060 | $0.04 |
| Fix a bug (agent loop) | 180K · 12K | $0.07 | $0.02 | $0.12 |
| Refactor a module | 320K · 20K | $0.13 | $0.03 | $0.21 |
| Full-repo agent run | 900K · 45K | $0.31 | $0.07 | $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.1)commandcode.ai/models/hy4-preview