Independent evaluator Artificial Analysis published Tencent Hunyuan Hy4 results on its Cyber Index on November 13. Hy4 scores 58 and ranks third, 1 point ahead of DeepSeek V4.1 Flash 1017 (max) and behind Kimi K3.1 Pro (64) and the trusted-access-only GPT-6 Sol (Daybreak Blue, max) at 69. On CWE-Bench-AA, one of the three component evaluations, Hy4 ranks first with a 76% pass@1, 6 to 7 points ahead of DeepSeek in second. It averages $0.92 and 64k output tokens per task, which puts it on the capability vs. cost Pareto frontier.

Key Takeaways

  • ✓Overall rank: 58 on the Cyber Index, third behind GPT-6 Sol (Daybreak Blue, max, trusted access only) at 69 and Kimi K3.1 Pro at 64; DeepSeek V4.1 Flash 1017 (max) follows at 57
  • ✓Top single score: 76% pass@1 on CWE-Bench-AA, versus 69% for DeepSeek V4.1 Flash 1017 (max) and 68% for Grok 4.7 (xhigh)
  • ✓Cost efficiency: $0.92 per task, 2 points above Grok 4.7 (xhigh) at about 1/11 of its cost and 1 point above DeepSeek at about 2x its cost
  • ✓Leaner output: about 64k output tokens per task, 43% fewer than DeepSeek and 37% fewer than Grok 4.7, but 49% more than Kimi K3.1 Pro
  • ✓Pricing basis: AA priced Hy4 at $0.834/$2.501 per 1M input/output tokens; OpenRouter currently lists tencent/hy4 at $0.417/$1.25, so real costs may be lower
Artificial Analysis Cyber Index: Tencent Hy4 Scores 58 to Rank Third and Tops CWE-Bench-AA Vulnerability Fixing at 76%, at $0.92 per Task
🖼️Official Media
Click to view high-res
🧭

Turn your technical choice into a development budget

Compare 40 dev plans & simulate token costs vs $20/mo subscriptions

🔬

In-Depth Technical Analysis

Background and the problem

Coding agents are increasingly used for code audits, but general leaderboards say little about whether a model can actually find and fix a vulnerability. Artificial Analysis (AA) built the Cyber Index, separate from its Intelligence Index, to measure defense only: finding vulnerabilities, reproducing and validating them, and patching without breaking existing behavior. Models are never asked to write working exploits. Tencent shipped Hy4 on November 4, AA already reported its Intelligence Index score, and this release adds the cyber dimension.

Architecture and how it works

The Cyber Index is an equally weighted average of three evaluations: CWE-Bench-AA (based on Collinear AI's CWE-bench), DeepsecBench-AA (based on Vercel's DeepsecBench) and CyberGym-E2E-AA (based on CyberGym-E2E from Berkeley RDI). CWE-Bench-AA has 120 private tasks covering all ten OWASP Top 10 (2025) categories across C/C++, Go, Java, JS/TS, Python and Rust. Each task names an area of concern but not the exact location. Models work in an offline sandbox on AA's open-source Stirrup agent harness with a 2-hour limit per task, and a task only passes when a programmatic check confirms the exploit no longer works and legitimate behavior still does. There is no partial credit.

Benchmarks and measured results

All figures are AA's independent results. Hy4 scores 58 on the Cyber Index and ranks third, behind the trusted-access-only GPT-6 Sol (Daybreak Blue, max) at 69 and Kimi K3.1 Pro at 64, and ahead of DeepSeek V4.1 Flash 1017 (max) at 57. On CWE-Bench-AA Hy4 ranks first at 76%, ahead of DeepSeek at 69% and Grok 4.7 (xhigh) at 68%. It averages $0.92 and about 64k output tokens per task. AA's scores are not directly comparable to Collinear's own leaderboard at cwe-bench.com, which runs each vendor's own agent product, four trials per task, with a partial-credit track.

Getting started for developers

Hy4 is available on Tencent Cloud and OpenRouter (model tencent/hy4, 1M context). To try it for dependency or codebase security scans, call it through OpenRouter from tools that accept custom models, such as Claude Code or Cline. Tencent says the final Hy4 weights will be open-sourced; what is downloadable on Hugging Face today is Hy4-preview under Apache 2.0. Benchmarks describe capability only, so patches in production still need human review and regression tests.

Action HubReady to adopt this in production?

Benchmark side-by-side against alternatives, or calculate monthly token cost vs subscription break-even.

Up NextArtificial Analysis Coding Agent Index v2.1 Moves to FrontierCode 2.0 and Terminal-Bench 4.1: Claude Fable 5.2 and Claude Opus 5.5 Tie for First at 58, Scores Drop 5 Points on Average
Read Now→