Enter opens the highlighted result. Esc closes.

Codestral 2508 vs Hy4 preview

Updated October 21, 2026. 0 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

Codestral 2508Mistral AI
Coding
No data
Overall
No data
Output $/M
$0.90
Hy4 previewTencent
Coding
44.3
Overall
No data
Output $/M
$2.501
vs $0.90 vs $2.501 per 1M output tokens. Codestral 2508 is 2.8x cheaper.

Decision reading

Only Hy4 preview has a coding score, 44.3 on the Vibe Coding Index; Codestral 2508 has none, so the two cannot be ranked on coding.

Codestral 2508 has the edge where output tokens cost 2.8x less.

Shared results
0
Codestral 2508 only
7
Hy4 preview only
24
Like-for-like categories
0 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

Which one for your work

Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.

At a glance

Coding index
Codestral 2508 not benchmarked, Hy4 preview 44.3 from 3 benchmarks.
Widest category
No category has a result for both models.
Widest single gap
No benchmark has a result for both models.
Output price
Codestral 2508 $0.90 against Hy4 preview $2.501 per million output tokens, 2.8x apart.
Context window
Codestral 2508 takes 256K tokens, Hy4 preview 1.05M.

Benchmark by benchmark

First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.

CodingDirectional onlySix of these boards feed the Vibe Coding Index11 boards, none shared
Coding benchmarks for Codestral 2508 and Hy4 preview
BenchmarkCodestral 2508Hy4 previewLeader
LMArena WebDevNot measured1631Only Hy4 preview measured
Terminal-Bench 4 (Vals AI)Not measured8.1%Only Hy4 preview measured
Vibe Code Bench (Vals AI)Not measured77.5%Only Hy4 preview measured
Code migration (Vals AI)Not measured47.4%Only Hy4 preview measured
ProgramBench (Vals AI)Not measured0.0%Only Hy4 preview measured
IOI (Vals AI)Not measured59.3%Only Hy4 preview measured
Terminal-Bench 2.1 (Vals AI)Not measured55.1%Only Hy4 preview measured
CyberBench (Vals AI)Not measured65.4%Only Hy4 preview measured
ALE-Bench137.8Not measuredOnly Codestral 2508 measured
LMArena WebDev: ReactNot measured1653Only Hy4 preview measured
LMArena WebDev: HTMLNot measured1620Only Hy4 preview measured
Neither model has a result on the other 27 boards here
IntelligenceNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Intelligence benchmarks for Codestral 2508 and Hy4 preview
BenchmarkCodestral 2508Hy4 previewLeader
Neither model has a result on 2 boards here
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Agentic work benchmarks for Codestral 2508 and Hy4 preview
BenchmarkCodestral 2508Hy4 previewLeader
SREBench (Vals AI)Not measured2.3%Only Hy4 preview measured
Finance Agent (Vals AI)Not measured55.1%Only Hy4 preview measured
Tax Agent Bench (Vals AI)Not measured32.6%Only Hy4 preview measured
Legal Research Bench (Vals AI)Not measured45.2%Only Hy4 preview measured
Harvey's Legal Agent Benchmark (Vals AI)Not measured8.8%Only Hy4 preview measured
Excel Modeling Benchmark (Vals AI)Not measured58.1%Only Hy4 preview measured
BioMysteryBench (Vals AI)Not measured69.3%Only Hy4 preview measured
Terminal-Bench-Science (Vals AI)Not measured1.4%Only Hy4 preview measured
Neither model has a result on the other 31 boards here
ReasoningNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Reasoning benchmarks for Codestral 2508 and Hy4 preview
BenchmarkCodestral 2508Hy4 previewLeader
Neither model has a result on 21 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
Math benchmarks for Codestral 2508 and Hy4 preview
BenchmarkCodestral 2508Hy4 previewLeader
ProofBenchNot measured75.0%Only Hy4 preview measured
Neither model has a result on the other 12 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Knowledge benchmarks for Codestral 2508 and Hy4 preview
BenchmarkCodestral 2508Hy4 previewLeader
LegalBench (Vals AI)Not measured83.8%Only Hy4 preview measured
MedCode (Vals AI)Not measured43.3%Only Hy4 preview measured
Neither model has a result on the other 15 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Web design benchmarks for Codestral 2508 and Hy4 preview
BenchmarkCodestral 2508Hy4 previewLeader
Design Arena: websites1013Not measuredOnly Codestral 2508 measured
Design Arena: UI components1017Not measuredOnly Codestral 2508 measured
Design Arena: game dev968Not measuredOnly Codestral 2508 measured
Design Arena: data viz1017Not measuredOnly Codestral 2508 measured
Design Arena: 3D1020Not measuredOnly Codestral 2508 measured
Design Arena: all code categories1007Not measuredOnly Codestral 2508 measured
Neither model has a result on the other 3 boards here
GeneralDirectional onlyPublic boards, shown as published, kept out of the index3 boards, none shared
General benchmarks for Codestral 2508 and Hy4 preview
BenchmarkCodestral 2508Hy4 previewLeader
Vals IndexNot measured53.2%Only Hy4 preview measured
Public Benefits Bench (Vals AI)Not measured68.6%Only Hy4 preview measured
MedScribe (Vals AI)Not measured83.6%Only Hy4 preview measured
Neither model has a result on the other 43 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Codestral 2508 and Hy4 preview
BenchmarkCodestral 2508Hy4 previewLeader
Neither model has a result on 5 boards here

What each workload costs

Three fixed token mixes at each model's listed price, so per-token rates become a bill.

Chat turn

1K input + 500 output tokens

Codestral 2508$0.0008Fits in one request
Hy4 preview$0.0021Fits in one request

Codestral 2508 costs less

Repository review

50K input + 3K output tokens

Codestral 2508$0.018Fits in one request
Hy4 preview$0.049Fits in one request

Codestral 2508 costs less

Agent loop

200K input + 10K output tokens

Codestral 2508$0.069Fits in one request
Hy4 preview$0.192Fits in one request

Codestral 2508 costs less

Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.

Specification differences

The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.

Specifications of Codestral 2508 and Hy4 preview
SpecificationMistral Codestral 2508Tencent Hy4 preview
MakerMistral AITencent
WeightsNo public weights listedOpen weights
ReleasedAugust 1, 2025August 28, 2026
Context window256K1.05M
Input $/Mtok$0.30$0.834
Output $/Mtok$0.90$2.501
Coding indexNot benchmarked44.3
Independent measurements behind it03
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Codestral 2508 better than Hy4 preview for coding?

Only Hy4 preview has a coding score, 44.3 on the Vibe Coding Index; Codestral 2508 has none, so the two cannot be ranked on coding. Codestral 2508 has the edge where output tokens cost 2.8x less.

Which is cheaper, Codestral 2508 or Hy4 preview?

Codestral 2508 costs $0.30 per million input tokens and $0.90 per million output tokens; Hy4 preview costs $0.834 and $2.501. Cost per solved task is known for neither of them.

Which has the bigger context window, Codestral 2508 or Hy4 preview?

Hy4 preview, with 1.05M tokens against 256K.

How many benchmarks is the Codestral 2508 vs Hy4 preview comparison based on?

0 benchmarks have a result for both models as of October 21, 2026. Codestral 2508's coding index rests on 0 independent benchmarks and Hy4 preview's on 3. Where only one model has a result, the page says so instead of naming a winner.

Compare next