Codestral 2508 vs Hy4

Price, context window & benchmark comparison

Mistral AI

Codestral 2508

Mistral AI
$0.30 / $0.90
Input / Output · per 1M tokens
VS
Tencent

Hy4

Tencent
$0.42 / $1.25
Input / Output · per 1M tokens
Compare different models
Mistral AI
Tencent
Verdict: Codestral 2508 is 28% cheaper than Hy4 on a typical 3:1 input/output mix. Hy4 has the larger context window (1M vs 256K).
Codestral 2508Hy4
Input price / 1M$0.30$0.42
Output price / 1M$0.90$1.25
Blended price (3:1)$0.45$0.63
Cached input / 1M$0.03$0.021
Context window256K1M
Max output205K66K
Intelligence index—34.6
Coding index——
Providers—1
Best provider uptime (30m)—100.0%
Vision inputNoYes
ReasoningNoYes
Tool callingYesYes
Released2025-08-012026-11-04
Retirement——

Cost calculator

FAQ

Which is cheaper, Codestral 2508 or Hy4?

Codestral 2508 is 28% cheaper than Hy4 on a typical 3:1 input/output mix.

Codestral 2508 vs Hy4: which has a bigger context window?

Codestral 2508: 256,000 tokens. Hy4: 1,048,576 tokens.

How much would 1 million requests cost?

At 2,000 input + 500 output tokens per request: Codestral 2508 ≈ $1,050, Hy4 ≈ $1,459.

More comparisons