Qwen3.8 27B is 2.9× cheaper per million tokens (blended). GPT-4.1 has the larger context window (1,047,576 vs 1,000,000 tokens). Qwen3.8 27B is open-weights; the other is not.

GPT-4.1 vs Qwen3.8 27B

Live catalog fields. Best-in-row is highlighted.

GPT-4.1

OpenAI · openai__gpt-4.1

Qwen3.8 27Bopen

Qwen · qwen__qwen3.8-27b

Identity

Fieldopenai__gpt-4.1qwen__qwen3.8-27b
ProviderOpenAIQwen
Slugopenai__gpt-4.1qwen__qwen3.8-27b
Statuslivelive
Open weightsNoYes
License
HuggingFaceQwen/Qwen3.8-27B

Quality

Fieldopenai__gpt-4.1qwen__qwen3.8-27b
Quality index (0–100)89.0

Cost

Fieldopenai__gpt-4.1qwen__qwen3.8-27b
Input $ / 1M tokens$2.00$0.42
Cached input $ / 1M$0.50$0.09
Output $ / 1M tokens$8.00$3.00

Context

Fieldopenai__gpt-4.1qwen__qwen3.8-27b
Max context tokens1,047,5761,000,000
Max output tokens32,768131,072

Modalities

Fieldopenai__gpt-4.1qwen__qwen3.8-27b
Inputimage, text, filetext, image, video
Outputtexttext