GPT-5.2-Codex vs Hy4

Price, context window & benchmark comparison

OpenAI

GPT-5.2-Codex

OpenAI
$1.75 / $14.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 7.7× cheaper than GPT-5.2-Codex on a typical 3:1 input/output mix. Hy4 has the larger context window (1M vs 400K).
GPT-5.2-CodexHy4
Input price / 1M$1.75$0.42
Output price / 1M$14.00$1.25
Blended price (3:1)$4.81$0.63
Cached input / 1M$0.17$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
Released2026-01-142026-11-04
Retirement——

Cost calculator

FAQ

Which is cheaper, GPT-5.2-Codex or Hy4?

Hy4 is 7.7× cheaper than GPT-5.2-Codex on a typical 3:1 input/output mix.

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

GPT-5.2-Codex: 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.2-Codex ≈ $10,500, Hy4 ≈ $1,459.

More comparisons