GPT-5.4 mini vs Qwen3.8 27B
Qwen3.8 27B wins 3 of 3 benchmarks both models report and has a higher Epoch Capabilities Index (152.6 vs 149.4). Qwen3.8 27B is about 4× cheaper on a blended (3:1 input:output) token price. Qwen3.8 27B has the larger context window (1M vs 400K). Qwen3.8 27B has open weights, so you can self-host and fine-tune it; GPT-5.4 mini is API-only.
| Spec | GPT-5.4 mini | Qwen3.8 27B |
|---|---|---|
| Provider | OpenAI | Alibaba (Qwen) |
| Released | Mar 17, 2026 | Aug 14, 2026 (better) |
| Type | Reasoning LLM | Reasoning LLM |
| Parameters | — | 28B |
| Context window | 400K | 1M (better) |
| Max output | 125K | 128K (better) |
| Input price / 1M | $0.75 | $0.035 (better) |
| Output price / 1M | $4.50 | $1.50 (better) |
| Input modalities | text, image, file | text, image, video |
| Open weights | No | Yes |
| License | Proprietary | apache-2.0 |
| Reasoning mode | Yes | Yes |
| Tool calling | Yes | Yes |
| API providers | 43 | 72 (better) |
| Epoch Capabilities Index | 149.4 | 152.6 (better) |
| GPQA Diamond | 86.9% | — |
| WebDev Arena | 1397 | 1593 (better) |
| OTIS Mock AIME | 88.9% | — |
| FrontierMath | 51.2% | — |
| ARC-AGI-2 | 18.9% | 42.4% (better) |
| SimpleQA Verified | 29.4% | — |
Cost example
For a workload of 10M input + 2M output tokens per month: GPT-5.4 mini costs $16.50 and Qwen3.8 27B costs $3.35 at list price (OpenAI / openrouter pricing).
About GPT-5.4 mini
GPT-5.4 mini is a proprietary reasoning llm from OpenAI, released Mar 17, 2026. It has a 400K-token context window and accepts text, image, file input. API pricing starts at $0.75 per million input tokens and $4.50 per million output tokens. It is available from 43 API providers. It scores 149.4 on the Epoch Capabilities Index. Full GPT-5.4 mini specs →
About Qwen3.8 27B
Qwen3.8 27B is an open-weight reasoning llm from Alibaba (Qwen), released Aug 14, 2026. It has 28B parameters, a 1M-token context window and accepts text, image, video input. API pricing starts at $0.035 per million input tokens and $1.50 per million output tokens. It is available from 72 API providers. It scores 152.6 on the Epoch Capabilities Index. Full Qwen3.8 27B specs →
Compare other models
FAQ
Which is better, GPT-5.4 mini or Qwen3.8 27B?
Qwen3.8 27B wins 3 of 3 benchmarks both models report and has a higher Epoch Capabilities Index (152.6 vs 149.4). Qwen3.8 27B is about 4× cheaper on a blended (3:1 input:output) token price. Qwen3.8 27B has the larger context window (1M vs 400K). Qwen3.8 27B has open weights, so you can self-host and fine-tune it; GPT-5.4 mini is API-only.
Is GPT-5.4 mini cheaper than Qwen3.8 27B?
GPT-5.4 mini costs $0.75 input / $4.50 output per 1M tokens; Qwen3.8 27B costs $0.035 / $1.50. Qwen3.8 27B is cheaper overall.
Which has a bigger context window?
GPT-5.4 mini: 400,000 tokens. Qwen3.8 27B: 1,024,000 tokens.
Are GPT-5.4 mini and Qwen3.8 27B open source?
GPT-5.4 mini is proprietary; Qwen3.8 27B is open-weight.