AI model comparison

GPT-5.4 Mini vs Qwen3.5 397B A17B

Pricing, context window, benchmarks, and features compared side by side. Or skip the guesswork and send one prompt to both.

GPT-5.4 mini brings the core capabilities of GPT-5.4 to a faster, more efficient model optimized for high-throughput workloads.

Input / 1M
$0.75
Output / 1M
$4.50
Context
400K

The Qwen3.5 series 397B-A17B native vision-language model is built on a hybrid architecture that integrates a linear attention mechanism with a sparse mixture-of-experts model, achieving higher inference efficiency.

Input / 1M
$0.55
Output / 1M
$3.50
Context
262K

At a glance

Quick verdict

How the two models stack up on the things people ask about most.

Lower price

qwen logo

Qwen3.5 397B A17B

1.3x cheaper for a typical chat

Higher intelligence score

openai logo

GPT-5.4 Mini

24.1 vs 21.4 on Artificial Analysis

Larger context window

openai logo

GPT-5.4 Mini

400K vs 262K tokens

Newer release

openai logo

GPT-5.4 Mini

Released March 17, 2026

Benchmarks

Benchmark scores

Independent scores from Artificial Analysis. Higher is better.

Intelligence index

openai logoGPT-5.4 Mini24.1
qwen logoQwen3.5 397B A17B21.4

Coding index

openai logoGPT-5.4 Mini56.1
qwen logoQwen3.5 397B A17BNot available

Agentic index

openai logoGPT-5.4 Mini17.9
qwen logoQwen3.5 397B A17BNot available

Pricing

GPT-5.4 Mini vs Qwen3.5 397B A17B API pricing

Per-token API rates. Cheaper option highlighted.

Metricopenai logoGPT-5.4 Miniqwen logoQwen3.5 397B A17B
Input tokensPer 1M tokens$0.75$0.55
Output tokensPer 1M tokens$4.50$3.50
Cached input (read)Per 1M tokens$0.08$0.22
Cache writePer 1M tokensNot availableNot available
Web searchPer request$0.01Not available

What it costs in practice

Estimated cost per 1,000 requests at standard rates. Coding and long-document figures also show the cost when the input is already cached.

Chat message

2K in, 500 out

openai logoGPT-5.4 Mini$3.75
qwen logoQwen3.5 397B A17B$2.85

Coding task

30K in, 4K out

openai logoGPT-5.4 Mini$40.50$20.25 cached
qwen logoQwen3.5 397B A17B$30.50$20.75 cached

Long document summary

150K in, 2K out

openai logoGPT-5.4 Mini$121.50$20.25 cached
qwen logoQwen3.5 397B A17B$89.50$40.75 cached

Specs

Context window and capabilities

How much each model can read, how much it can write, and what it accepts as input.

Metricopenai logoGPT-5.4 Miniqwen logoQwen3.5 397B A17B
Context window400K tokens262K tokens
Max output128K tokens236K tokens
Input typesFile, Image, TextImage, Text, Video
Output typesTextText
Reasoning effort levelsExtra high, High, Medium, Low, NoneNot available
Default reasoning effortMediumNot available
Release dateMarch 17, 2026February 16, 2026

Features

Supported features

API features available for each model.

Metricopenai logoGPT-5.4 Miniqwen logoQwen3.5 397B A17B
Tool callingSupportedSupported
Structured outputsSupportedSupported
JSON modeSupportedSupported
ReasoningSupportedSupported
TemperatureNot supportedSupported
Stop sequencesNot supportedSupported
Deterministic seedSupportedSupported
Verbosity controlSupportedNot supported

Our take

Qwen3.5 397B A17B is 1.3x cheaper for a typical chat. GPT-5.4 Mini scores higher on the Artificial Analysis Intelligence Index (24.1 vs 21.4). GPT-5.4 Mini has the larger context window (400K vs 262K tokens). The right pick depends on your workload, so the quickest way to settle it is to send the same prompt to both and compare.

FAQ

Frequently asked questions

Is GPT-5.4 Mini or Qwen3.5 397B A17B cheaper?

Qwen3.5 397B A17B is cheaper for a typical chat (2K input tokens and 500 output tokens). Qwen3.5 397B A17B costs $0.55 per 1M input tokens and $3.50 per 1M output tokens, while GPT-5.4 Mini costs $0.75 per 1M input tokens and $4.50 per 1M output tokens.

Which has a bigger context window, GPT-5.4 Mini or Qwen3.5 397B A17B?

GPT-5.4 Mini supports up to 400K tokens of context, compared with 262K for Qwen3.5 397B A17B.

Is GPT-5.4 Mini smarter than Qwen3.5 397B A17B?

On the Artificial Analysis Intelligence Index, GPT-5.4 Mini scores 24.1 and Qwen3.5 397B A17B scores 21.4, putting GPT-5.4 Mini ahead. Benchmarks don't capture everything, so the best test is running your own prompts through both.

Can I use GPT-5.4 Mini and Qwen3.5 397B A17B at the same time?

Yes. Shortcut Chat sends one prompt to multiple models at once, so you can see GPT-5.4 Mini and Qwen3.5 397B A17B answer side by side and keep the better response.

openai logoqwen logo

Why choose? Ask both.

Send one prompt to GPT-5.4 Mini and Qwen3.5 397B A17B at the same time. Compare the answers side by side and keep the best one.