The AI arena is free today

Open Superagent

GPT-5.1 Codex vs Hy4 flash

GPT-5.1 Codex and Hy4 flash are closely matched at 28.8 and 41.0 on the LLM Stats Score. Hy4 flash is 28.0x cheaper per token.

OpenAI · Tencent · Updated for 2026

Which is better?

GPT-5.1 Codex and Hy4 flash are closely matched on the overall LLM Stats Score at 28.8 and 41.0.

On price, Hy4 flash is roughly 28.0x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

Hy4 flash also accepts a larger context window (960,000 input tokens), making it the stronger choice for long documents and large codebases.

Based on current LLM Stats indexes, shared benchmarks, pricing, and model metadata for 2026.

Choose GPT-5.1 Codex

  • you want predictable pricing at $1.25/M input and $10.00/M output

Choose Hy4 flash

  • your work emphasizes agents — it leads those capability indexes
  • cost matters — it's about 28.0x cheaper per token
  • you process long inputs — it offers a 960,000 token context window
  • you want the most recent training data — it shipped Nov 2026

At a glance

The differences that matter most.

Core performance indexes
28.8
#173
41.0
#85
29.0
#167
40.7
#78
20.6
#131
24.0
#107
9.6
#165
27.8
#71
Cost, coverage & limits
Benchmark wins
—
—
Input price
$1.25 / M
$0.07 / M
Output price
$10.00 / M
$0.28 / M
Context window
400,000
960,000

Individual benchmarks

3 reported for GPT-5.1 Codex · 9 for Hy4 flash

No common benchmarks found

GPT-5.1 Codex and Hy4 flashdon't have any common benchmark datasets to compare. They may have been evaluated on different testing suites.

Human preference

Blind head-to-head votes and playground preference scores

Pricing Analysis

Price comparison per million tokens

Hy4 flash costs less

For input processing, GPT-5.1 Codex ($1.25/1M tokens) is 17.9x more expensive than Hy4 flash ($0.07/1M tokens).

For output processing, GPT-5.1 Codex ($10.00/1M tokens) is 35.6x more expensive than Hy4 flash ($0.28/1M tokens).

In conclusion, GPT-5.1 Codex is more expensive than Hy4 flash.*

* Using a 3:1 ratio of input to output tokens

Lowest available price from all providers
Sun Nov 22 2026 • llm-stats.com
OpenAI
GPT-5.1 Codex
Input tokens$1.25
Output tokens$10.00
Best providerOpenAI
Tencent
Hy4 flash
Input tokens$0.07
Output tokens$0.28
Best providerTencent
Notice missing or incorrect data?

Context Window

Maximum input and output token capacity

Hy4 flash accepts 960,000 input tokens compared to GPT-5.1 Codex's 400,000 tokens. GPT-5.1 Codex can generate longer responses up to 128,000 tokens, while Hy4 flash is limited to 64,000 tokens.

OpenAI
GPT-5.1 Codex
Input400,000 tokens
Output128,000 tokens
Tencent
Hy4 flash
Input960,000 tokens
Output64,000 tokens
Sun Nov 22 2026 • llm-stats.com

Input capabilities

Documented input modalities across available providers

Both GPT-5.1 Codex and Hy4 flash support multimodal inputs.

They are both capable of processing various types of data, offering versatility in application.

GPT-5.1 Codex

Text
Images
Audio
Video

Hy4 flash

Text
Images
Audio
Video

Release Timeline

When each model was launched

GPT-5.1 Codex was released on 2025-11-19, while Hy4 flash was released on 2026-11-16.

Hy4 flash is 12 months newer than GPT-5.1 Codex.

GPT-5.1 Codex

Nov 19, 2025

1.0 years ago

Hy4 flash

Nov 16, 2026

5 days ago

12mo newer

Knowledge Cutoff

When training data ends

GPT-5.1 Codex has a documented knowledge cutoff of 2024-09-30, while Hy4 flash's cutoff date is not specified.

We can confirm GPT-5.1 Codex's training data extends to 2024-09-30, but cannot make a direct comparison without Hy4 flash's cutoff date.

GPT-5.1 Codex

Sep 2024

Hy4 flash

—

Provider Availability

GPT-5.1 Codex is available from OpenAI. Hy4 flash is available from Tencent Cloud.

GPT-5.1 Codex

openai logo
OpenAI
Input Price:Input: $1.25/1MOutput Price:Output: $10.00/1M

Hy4 flash

tencent logo
Tencent
Input Price:Input: $0.07/1MOutput Price:Output: $0.28/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?

Judge for yourself.

Run your own prompts against GPT-5.1 Codex and Hy4 flash side-by-side, then vote on the output you prefer.

GPT-5.1 Codex
✓ Preferred
Hy4 flash
Open in Playground

FAQ

Common questions about GPT-5.1 Codex vs Hy4 flash.

Which is better, GPT-5.1 Codex or Hy4 flash?

GPT-5.1 Codex and Hy4 flash are closely matched on the LLM Stats Score at 28.8 and 41.0. GPT-5.1 Codex is made by OpenAI and Hy4 flash is made by Tencent. The best choice depends on your use case — compare their capability indexes, individual benchmarks, pricing, and limits above.

How does GPT-5.1 Codex compare to Hy4 flash in benchmarks?

GPT-5.1 Codex scores SWE-Bench Verified: 73.7%, SWE-Lancer: 66.3%, Terminal-Bench 2.0: 52.8%. Hy4 flash scores MMMU-Pro: 75.8%, OSWorld 2.1 (partial): 68.1%, DeepSWE 1.1: 64.6%, APEX-Agents: 63.1%, Humanity's Last Exam (with tools): 55.2%.

Is GPT-5.1 Codex cheaper than Hy4 flash?

Hy4 flash is 17.9x cheaper for input tokens. GPT-5.1 Codex costs $1.25/M input and $10.00/M output via openai. Hy4 flash costs $0.07/M input and $0.28/M output via tencent.

What are the context window sizes for GPT-5.1 Codex and Hy4 flash?

GPT-5.1 Codex supports 400K tokens and Hy4 flash supports 960K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between GPT-5.1 Codex and Hy4 flash?

Key differences include LLM Stats Score (28.8 vs 41.0), context window (400K vs 960K), input pricing ($1.25 vs $0.07/M), licensing (Proprietary vs Unknown). See the full comparison above for benchmark-by-benchmark results.

Who makes GPT-5.1 Codex and Hy4 flash?

GPT-5.1 Codex is developed by OpenAI and Hy4 flash is developed by Tencent.