Skip to content
Updated minutes ago
ReleasedSeptember 19, 2024Verified 3mo ago · huggingface.co
Alibaba

Qwen 2.5 14B

Alibaba · dense · 14.8B parameters · 131,072 context

Quality
76.0

Parameters

14.8B

Context Window

128K tokens

Architecture

Dense

Best GPU

A100 40GB SXM

Cheapest API

$0.30/M

Quality Score

76/100

Intelligence Brief

Qwen 2.5 14B is a 14.8B parameter DENSE model from Alibaba, featuring Grouped Query Attention (GQA) with 48 layers and 5,120 hidden dimensions. With a 131,072 token context window, it supports tools, structured output, code, math, multilingual. On standardized benchmarks, it achieves MMLU 79.9, HumanEval 50, GSM8K 87. The most cost-effective API deployment is via together at $0.30/M output tokens. For self-hosted inference, A100 40GB SXM delivers optimal throughput at $807/month.

Provider pricing

2 providers · canonical: alibaba
Provider Input $/M Output $/M ▲Notes
together$0.300$0.300cheapest input · cheapest output
alibabacanonical$0.400$0.400—

Prices update via the nightly pricing cron + admin approvals at /admin/ingest-queue. The leaderboard's Input/Output cells show the canonical rate above; this table shows the full spread.

Recent changes

Loading…

Related models

5 suggestions

Picks: same family first, then same vendor within ±2× params, then top tag-overlap matches. Price shown is the cheapest Output $/M across providers — the row's page shows the canonical anchor.

Architecture Details

TypeDENSE
Total Parameters14.8B
Active Parameters14.8B
Layers48
Hidden Dimension5,120
Attention Heads40
KV Heads8
Head Dimension128
Vocab Size152,064

Memory Requirements

BF16 Weights

29.6 GB

FP8 Weights

14.8 GB

INT4 Weights

7.4 GB

KV-Cache per Token196608 bytes
Activation Estimate1.50 GB

GPU Compatibility Matrix

Qwen 2.5 14B is compatible with 82% of GPU configurations across 41 GPUs at 3 precision levels.

BF16 (Full)
FP8 (Half)
INT4 (Quarter)
Blackwell(7 GPUs)
B200 NVL (pair)360GB
B300288GB
B100 SXM192GB
GB200 NVL72 (per GPU)192GB
Hopper(7 GPUs)
H100 NVL 94GB (per GPU pair)188GB
H200 SXM141GB
H2096GB
GH20096GB
Ada Lovelace(11 GPUs)
L40S48GB
L4048GB
RTX 6000 Ada48GB
L2048GB
Ampere(16 GPUs)
A100 80GB SXM80GB
A100 80GB PCIe80GB
A1664GB
RTX A600048GB
Legend:No fitVery tightTightModerateGoodExcellent

GPU Recommendations

A100 40GB SXMoptimal

BF16 · 1 GPU · vllm

95/100

score

Throughput

283.7 tok/s

Latency (ITL)

3.5ms

Est. TTFT

1ms

Cost/Month

$807

Cost/M Tokens

$1.08

Use this config →
RTX A6000optimal

BF16 · 1 GPU · vllm

95/100

score

Throughput

140.1 tok/s

Latency (ITL)

7.1ms

Est. TTFT

1ms

Cost/Month

$465

Cost/M Tokens

$1.26

Use this config →
A40optimal

BF16 · 1 GPU · vllm

95/100

score

Throughput

127.0 tok/s

Latency (ITL)

7.9ms

Est. TTFT

1ms

Cost/Month

$399

Cost/M Tokens

$1.19

Use this config →

Deployment Options

API

API Deployment

together

$0.30/M

output tokens

Self-Hosted

Single GPU

A100 40GB SXM

$807/mo

Min VRAM: 15 GB

Scale

Multi-GPU

RTX 3090 x2

283.9 tok/s

TP· $361/mo

API Pricing Comparison

ProviderInput $/MOutput $/MBadges
together$0.30$0.30
Cheapest
alibaba$0.40$0.40

Cost Analysis

ProviderInput $/MOutput $/M~Monthly Cost
togetherBest Value$0.30$0.30$3
alibaba$0.40$0.40$4

Cost per 1,000 Requests

Short (500 tok)

$0.21

via together

Medium (2K tok)

$0.84

via together

Long (8K tok)

$3.00

via together

Performance Estimates

Throughput by GPU

A100 40GB SXM
283.7 tok/s
RTX A6000
140.1 tok/s
A40
127.0 tok/s

VRAM Breakdown (A100 40GB SXM, BF16)

Weights
Act
Weights 29.6 GBKV-Cache 3.2 GBActivations 12.0 GBOverhead 2.4 GB

Precision Impact

bf16

29.6 GB

weights/GPU

~283.7 tok/s

fp8

14.8 GB

weights/GPU

int4

7.4 GB

weights/GPU

Quality Benchmarks

Above Average
81th percentile across all models
MMLU
79.9
Average (56th pctile)
HumanEval
50.0
Below Average (44th pctile)
GSM8K
87.0
Average (58th pctile)
MT-Bench
82.0
Bottom 25% (0th pctile)

Capabilities

Features

✓ Tool Use✗ Vision✓ Code✓ Math✗ Reasoning✓ Multilingual✓ Structured Output

Supported Frameworks

vllmsglangtgitensorrt-llm

Supported Precisions

BF16 (default)FP8INT4

Where to Deploy Qwen 2.5 14B

Similar Models

Qwen 2.5 7B

7.6B params · dense

Quality: 70

from $0.00/M

Lower quality, CheaperCompare →

Qwen 2.5 32B

32.5B params · dense

Quality: 73

from $0.80/M

More expensive, Larger modelCompare →
Cheaper, Larger modelCompare →
Higher qualityCompare →

Phi-4

14.7B params · dense

Quality: 73

from $0.14/M

Smaller context, CheaperCompare →

Frequently Asked Questions

How much VRAM does Qwen 2.5 14B need for inference?

Qwen 2.5 14B requires approximately 29.6 GB of VRAM at BF16 precision, 14.8 GB at FP8, or 7.4 GB at INT4 quantization. Additional VRAM is needed for KV-cache (196608 bytes per token) and activations (~1.50 GB).

What is the best GPU for Qwen 2.5 14B?

The top recommended GPU for Qwen 2.5 14B is the A100 40GB SXM using BF16 precision. It achieves approximately 283.7 tokens/sec at an estimated cost of $807/month ($1.08/M tokens). Score: 95/100.

How much does Qwen 2.5 14B inference cost?

Qwen 2.5 14B API inference starts from $0.30/M input tokens and $0.30/M output tokens. Self-hosted inference costs depend on your GPU configuration — use our ROI calculator for a detailed breakdown.