# Codestral vs Hy4 preview

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

- Canonical page: https://noometry.com/compare/codestral-vs-hy4-preview
- Last updated: 2026-10-10
- Shared benchmarks: 0

## Summary

- The widest gap is in coding, where Hy4 preview leads 51.4 to 26.9.
- Codestral is cheaper at $0.30 / $0.90 per million input/output tokens, against $0.83 / $2.50 for Hy4 preview.
- Hy4 preview accepts more context: 1.05M tokens versus 256K.

## Snapshot

| | Codestral | Hy4 preview |
|---|---|---|
| Provider | Mistral AI | Tencent |
| Noometry Index | 30.1 | 44.6 |
| Rank | 287 | 73 |
| Context | 256K | 1.05M |
| Input $/M | $0.30 | $0.83 |
| Output $/M | $0.90 | $2.50 |
| Weights | Open | Open |

## Coding

- Codestral: 26.9 (#316)
- Hy4 preview: 51.4 (#36)

| Benchmark | Codestral | Hy4 preview |
|---|---|---|
| Aider Polyglot | 11.1% | — |
| LMArena WebDev | — | 1633 |
| BigCodeBench Instruct | 41.8% | — |
| BigCodeBench Complete | 52.5% | — |
| ALE-Bench | 137.78 | — |
| HumanEval+ | 73.8% | — |
| MBPP+ | 61.9% | — |

## Reasoning

- Codestral: 19.1 (#244)
- Hy4 preview: 30.6 (#75)

| Benchmark | Codestral | Hy4 preview |
|---|---|---|
| Kagi LLM Benchmark | 32.5% | — |
| NYT Connections (extended) | — | 68.2% |

## Math

- Codestral: —
- Hy4 preview: 54.5 (#37)

| Benchmark | Codestral | Hy4 preview |
|---|---|---|
| ProofBench | — | 75% |

## FAQ

### Is Codestral better than Hy4 preview?

Hy4 preview is the stronger model overall, scoring 44.6 to 30.1 on the Noometry Index. Codestral costs 2.8× 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.83 and $2.50.

### Is Codestral or Hy4 preview better for coding?

Hy4 preview scores higher on coding benchmarks: 51.4 versus 26.9 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.
