Qwen2-7B

Newer version available: Qwen2.5-7B

Released
2024-06-05
Last refreshed
2026-10-17
Status
Researched 10d ago
Open sourceCommercial use: permittedCodingRAGLong contextClassificationJSON / Tool use
Alibaba releases · 53 in the last 12 monthsChangelog →
Specifications
Family
Qwen2
Released
2024-06-05
Context
128K
Parameters
7.07B
Architecture
Decoder Only
Specialization
general
Openness
Open source
License
Apache 2.0OSI-approvedPermitted
Weights
Unknown
Code
Unknown
Training
Fine-tuned
Created by

AI research institute of Alibaba Group.

Hangzhou, Zhejiang, China
Founded 2017
Website
Pricing

No tracked provider pricing is available yet.

About

Qwen2-7B is Alibaba's Qwen2 model. It offers a 128K-token context window and scores 55.4 on GPQA.

Top use-case fit: coding, agents, and build tasks

Coding

Q/$ A

Providers(2)

Compare all 2

Compare API pricing across 2 tracked provider routes for input and output tokens, batch, and cached reads when available.

ProviderInput / 1MOutput / 1MRoute
Microsoft Foundry--
ProvisionedPartial
NVIDIA NIM--
ServerlessPartial

Deprecated provider routes(3)

ProviderStatusCatalog ID
DeepInfra
DeprecatedRetired November 6, 2025
Qwen/Qwen2-7B-Instruct
OctoAI API (Deprecated)
Deprecated
—
Fireworks AI
Deprecated
—

Available via routers & gateways(7)

Capabilities

Structured Outputs

Benchmark peer barsfor Coding

Benchmark scores(5)

Scores are benchmark-specific and are direction-aware: the same numeric gap can mean very different outcomes across suites. Use the leaderboard context and this model's provider route to decide whether the winning margin is meaningful for your workload.
BenchmarkScoreVersionEvaluationSource
55.4diamondObserved 2026-03-06—
92.010-shotObserved 2026-03-06—
80.9pass@1Observed 2026-03-06—
80.25-shotObserved 2026-03-06—
82.7—Observed 2026-05-28—

Migration checks

No linked migration route is available for this model yet.

Compare Qwen2-7B with other models