Qwen2 Models by Alibaba

AlibabaApache 2.0Open sourceHighlight
Alibaba releases · 52 in the last 12 monthsChangelog →
8 models2024Up to 128K ctxFrom $0.050/1M input

Last refreshed 2026-10-17. Next refresh: weekly.

Details

ResearcherAlibaba
LicenseApache 2.0OSI-approved
Commercial usePermitted
Models8
Released2024
Max context128K

Capabilities

Structured Outputs5 of 8 models

About

Qwen2 is Alibaba’s Qwen Team language-model generation that followed Qwen1.5, released as base and instruction-tuned sizes from Qwen2-0.5B through Qwen2-72B, including the MoE Qwen2-57B-A14B. The series emphasizes Grouped-Query Attention across sizes, stronger coding and math than the prior generation, broader multilingual training beyond English and Chinese, and long-context instruction models (up to 128K with extrapolation aids on the larger Instruct variants). Checkpoints were published on Hugging Face and ModelScope.

Decision facts

Best fit
structured outputscodingmath-heavy prompts
Capability starting point
Qwen2-0.5B
Lowest tracked input
Qwen2-7B · $0.050/1M · DeepInfra
Closest related family
Ember

Current Variants

Use-when guidance is based on each model's tracked capabilities, context window, release date, and replacement status.

5 in view3 retired

Use when the workload needs 128K context and 7B parameters.

2024-06128K context7B parameters

Use when the workload needs 32K context, 72B parameters, and structured outputs.

2024-0632K context72B parametersstructured outputs

Use when the workload needs 32K context, 7B parameters, and structured outputs.

2024-0632K context7B parametersstructured outputs
Qwen2-0.5BCurrent

Use when the workload needs 490M parameters.

2024-06490M parameters

Use when the workload needs 57.4B parameters and structured outputs.

2024-0657.4B parametersstructured outputs

Release Timeline

1 release group
2024-06
5 current · 3 retired
Qwen2-0.5B
490M parameters
Current
Qwen2-1.5B
1.5B parameters
Replaced
Qwen2-57B-A14B
57.4B parametersstructured outputs
Current
Qwen2-72B
128K context72.7B parametersstructured outputs
Replaced
Qwen2-7B
128K context7.1B parametersstructured outputs
Replaced
Qwen2-7B-Instruct
128K context7B parameters
Current
Together AI Qwen2-72B-Instruct
32K context72B parametersstructured outputs
Current
Together AI Qwen2-7B-Instruct
32K context7B parametersstructured outputs
Current

Replaced By

Keep for legacy integrations; evaluate Qwen2.5-1.5B before new work.

Keep for legacy integrations; evaluate Qwen2.5-72B before new work.

Keep for legacy integrations; evaluate Qwen2.5-7B before new work.

Specifications(8 models)

Qwen2 model specifications comparison
ModelReleasedContextParametersStructured Outputs
Qwen2-7B-Instruct2024-06128K7BNo
Together AI Qwen2-72B-Instruct2024-0632K72BYes
Together AI Qwen2-7B-Instruct2024-0632K7BYes
Qwen2-0.5B2024-06—490MNo
Qwen2-57B-A14B2024-06—57.41BYes

Pricing

Qwen2 model pricing by provider
ModelProviderInput / 1MOutput / 1MType
Together AI Qwen2-7B-InstructTogether AI$0.15$0.15Serverless
Qwen2-57B-A14BDeepInfra$0.16$0.16Serverless
Together AI Qwen2-72B-InstructTogether AI$0.7$0.7Serverless

Popular comparisons in this family