GPT-5.1-Codex-Mini vs Hy4

Price, context window & benchmark comparison

OpenAI

GPT-5.1-Codex-Mini

OpenAI
$0.25 / $2.00
Input / Output · per 1M tokens
VS
Tencent

Hy4

Tencent
$0.42 / $1.25
Input / Output · per 1M tokens
Compare different models
OpenAI
Tencent
Verdict: Hy4 is 9% cheaper than GPT-5.1-Codex-Mini on a typical 3:1 input/output mix. Hy4 has the larger context window (1M vs 400K).
GPT-5.1-Codex-MiniHy4
Input price / 1M$0.25$0.42
Output price / 1M$2.00$1.25
Blended price (3:1)$0.69$0.63
Cached input / 1M$0.03$0.021
Context window400K1M
Max output128K66K
Intelligence index—34.6
Coding index——
Providers—1
Best provider uptime (30m)—100.0%
Vision inputYesYes
ReasoningYesYes
Tool callingYesYes
Released2025-11-132026-11-04
Retirement——

Cost calculator

FAQ

Which is cheaper, GPT-5.1-Codex-Mini or Hy4?

Hy4 is 9% cheaper than GPT-5.1-Codex-Mini on a typical 3:1 input/output mix.

GPT-5.1-Codex-Mini vs Hy4: which has a bigger context window?

GPT-5.1-Codex-Mini: 400,000 tokens. Hy4: 1,048,576 tokens.

How much would 1 million requests cost?

At 2,000 input + 500 output tokens per request: GPT-5.1-Codex-Mini ≈ $1,500, Hy4 ≈ $1,459.

More comparisons