Compare/Qwen3 4B 2507 (Reasoning) vs GPT-5.4 mini (xhigh)

Qwen3 4B 2507 (Reasoning)vsGPT-5.4 mini (xhigh)

Side-by-side comparison of pricing, 12 benchmarks, and generation speed.

Alibaba

Qwen3 4B 2507 (Reasoning)

Input
$0/M
Output
$0/M
Speed
TTFT
OpenAI

GPT-5.4 mini (xhigh)

Input
$0.75/M
Output
$4.5/M
Speed
219 tok/s
TTFT
3.82s

Winner by Category

Cheaper
Qwen3 4B 2507 (Reasoning)
Faster (tok/s)
GPT-5.4 mini (xhigh)
Lower Latency
Qwen3 4B 2507 (Reasoning)
Benchmarks (4-7)
GPT-5.4 mini (xhigh)

Pricing Comparison

MetricQwen3 4B 2507 (Reasoning)GPT-5.4 mini (xhigh)
Input ($/M tokens)$0$0.75
Output ($/M tokens)$0$4.5
Cost for 1M input + 100K output tokens:
Qwen3 4B 2507 (Reasoning)$0.00
GPT-5.4 mini (xhigh)$1.20

Speed Comparison

Output Speed (tokens/s) — higher is better
Qwen3 4B 2507 (Reasoning)
GPT-5.4 mini (xhigh)
219 tok/s
Time to First Token (seconds) — lower is better
Qwen3 4B 2507 (Reasoning)
GPT-5.4 mini (xhigh)
3.82s

Benchmark Comparison

Data from Artificial Analysis API — 12 benchmarks

Intelligence Index
18.248.1
Coding Index
9.551.5
Math Index
82.7
GPQA Diamond
66.7%87.5%
MMLU-Pro
74.3%
LiveCodeBench
64.1%
AIME 2025
82.7%
MATH-500
Humanity's Last Exam
5.9%26.6%
SciCode
25.6%49.9%
IFBench
49.8%73.3%
TerminalBench
1.5%52.3%
Qwen3 4B 2507 (Reasoning)4 wins
7 winsGPT-5.4 mini (xhigh)

Frequently Asked Questions

Which is cheaper, Qwen3 4B 2507 (Reasoning) or GPT-5.4 mini (xhigh)?

Qwen3 4B 2507 (Reasoning) is cheaper overall. Its blended price (3:1 input/output ratio) is $0.00/M tokens vs $1.69/M for GPT-5.4 mini (xhigh).

Which model performs better on benchmarks?

GPT-5.4 mini (xhigh) wins 7 out of 12 benchmarks compared to 4 for Qwen3 4B 2507 (Reasoning). See the detailed benchmark chart above for per-category results.

Which is faster for real-time applications?

GPT-5.4 mini (xhigh) generates tokens faster at 219 tok/s vs 0 tok/s. Qwen3 4B 2507 (Reasoning) also has lower time-to-first-token (0.00s vs 3.82s).

When should I use Qwen3 4B 2507 (Reasoning) vs GPT-5.4 mini (xhigh)?

Choose based on your priorities: Qwen3 4B 2507 (Reasoning) for lower cost, GPT-5.4 mini (xhigh) for stronger benchmark performance, and GPT-5.4 mini (xhigh) for faster generation. For latency-sensitive apps, check the TTFT comparison above.