Model comparison

Codestral vs Hy4 preview

Hy4 preview is the stronger model overall, scoring 45.3 to 30.6 on the Noometry Index. Codestral costs 2.5× less per token, which makes it the better buy when Hy4 preview's lead doesn't matter for your workload.

Last verified . 0 shared benchmarks.

Codestral Mistral AI

30.6

Rank #290 Reported

Hy4 preview Tencent

45.3

Rank #73 Reported

Summary

  • The widest gap is in coding, where Hy4 preview leads 51.6 to 27.3.
  • Codestral is cheaper at $0.30 / $0.90 per million input/output tokens, against $0.75 / $2.25 for Hy4 preview.
  • Hy4 preview accepts more context: 1.05M tokens versus 256K.
  • Hy4 preview has downloadable open weights; the other is API-only.

Side by side

Codestral and Hy4 preview specifications
CodestralHy4 preview
ProviderMistral AITencent
Noometry Index30.645.3
Released2024-05-292026-08-28
WeightsProprietaryOpen
Context window256K1.05M
Max output8K64K
Input $ / M tokens$0.30$0.75
Output $ / M tokens$0.90$2.25
Results tracked73

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding Hy4 preview leads

Codestral: 27.3 (#321), Hy4 preview: 51.6 (#38)

Coding benchmarks
BenchmarkCodestralHy4 preview
Aider Polyglot11.1%—
LMArena WebDev—1632
BigCodeBench Instruct41.8%—
BigCodeBench Complete52.5%—
ALE-Bench137.78—
HumanEval+73.8%—
MBPP+61.9%—

Reasoning Hy4 preview leads

Codestral: 19.8 (#251), Hy4 preview: 31.9 (#79)

Reasoning benchmarks
BenchmarkCodestralHy4 preview
Kagi LLM Benchmark32.5%—
NYT Connections (extended)—68.2%

Math Not comparable

Codestral: —, Hy4 preview: 55.7 (#42)

Math benchmarks
BenchmarkCodestralHy4 preview
ProofBench—75%

Frequently asked questions

Is Codestral better than Hy4 preview?

Hy4 preview is the stronger model overall, scoring 45.3 to 30.6 on the Noometry Index. Codestral costs 2.5× less per token, which makes it the better buy when Hy4 preview's lead doesn't matter for your workload.

Which is cheaper, Codestral or Hy4 preview?

Codestral is cheaper. It lists at $0.30 per million input tokens and $0.90 per million output tokens; Hy4 preview lists at $0.75 and $2.25.

Is Codestral or Hy4 preview better for coding?

Hy4 preview scores higher on coding benchmarks: 51.6 versus 27.3 in the Noometry coding category.

Which has the bigger context window?

Hy4 preview does, with 1.05M tokens against 256K.

How many benchmarks do Codestral and Hy4 preview share?

0 benchmarks have published results for both models. Codestral has 7 scored results on Noometry and Hy4 preview has 3.

Related comparisons

Go deeper