Skip to content
Updated minutes ago
ReleasedApril 28, 2025Verified 3mo ago · huggingface.co
Alibaba

Qwen 3 1.7B

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

Quality
50.0

Parameters

1.7B

Context Window

128K tokens

Architecture

Dense

Best GPU

A4000

Intelligence Brief

Qwen 3 1.7B is a 1.7B parameter DENSE model from Alibaba, featuring Grouped Query Attention (GQA) with 28 layers and 1,536 hidden dimensions. With a 131,072 token context window, it supports tools, structured output, code, math, multilingual, reasoning. For self-hosted inference, A4000 delivers optimal throughput at $161/month.

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 Parameters1.7B
Active Parameters1.7B
Layers28
Hidden Dimension1,536
Attention Heads16
KV Heads8
Head Dimension128
Vocab Size151,936

Memory Requirements

BF16 Weights

3.4 GB

FP8 Weights

1.7 GB

INT4 Weights

0.8 GB

KV-Cache per Token57344 bytes
Activation Estimate0.30 GB

GPU Compatibility Matrix

Qwen 3 1.7B is compatible with 100% 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

A4000optimal

BF16 · 1 GPU · vllm

90/100

score

Throughput

711.5 tok/s

Latency (ITL)

1.4ms

Est. TTFT

0ms

Cost/Month

$161

Cost/M Tokens

$0.09

Use this config →
RTX 4080optimal

BF16 · 1 GPU · vllm

90/100

score

Throughput

1.1K tok/s

Latency (ITL)

0.9ms

Est. TTFT

0ms

Cost/Month

$304

Cost/M Tokens

$0.10

Use this config →
RTX 4070 Tioptimal

BF16 · 1 GPU · vllm

90/100

score

Throughput

800.4 tok/s

Latency (ITL)

1.2ms

Est. TTFT

0ms

Cost/Month

$237

Cost/M Tokens

$0.11

Use this config →

Deployment Options

API

API Deployment

No API pricing available

Self-Hosted

Single GPU

A4000

$161/mo

Min VRAM: 2 GB

Scale

Multi-GPU

A4000

711.5 tok/s

Best available config

API Pricing Comparison

No API pricing data available for this model.

Performance Estimates

Throughput by GPU

A4000
711.5 tok/s
RTX 4080
1.1K tok/s
RTX 4070 Ti
800.4 tok/s

VRAM Breakdown (A4000, BF16)

Weights
KV
Act
Weights 3.4 GBKV-Cache 1.9 GBActivations 2.4 GBOverhead 0.3 GB

Precision Impact

bf16

3.4 GB

weights/GPU

~711.5 tok/s

fp8

1.7 GB

weights/GPU

int4

0.8 GB

weights/GPU

Capabilities

Features

Tool Use Vision Code Math Reasoning Multilingual Structured Output

Supported Frameworks

vllmsglangtgitensorrt-llmollama

Supported Precisions

BF16 (default)FP8INT4

Where to Deploy Qwen 3 1.7B

Similar Models

Qwen 3 4B

4B params · dense

Quality: 57

from $0.10/M

Higher quality, Larger modelCompare →
Smaller contextCompare →

Frequently Asked Questions

How much VRAM does Qwen 3 1.7B need for inference?

Qwen 3 1.7B requires approximately 3.4 GB of VRAM at BF16 precision, 1.7 GB at FP8, or 0.8 GB at INT4 quantization. Additional VRAM is needed for KV-cache (57344 bytes per token) and activations (~0.30 GB).

What is the best GPU for Qwen 3 1.7B?

The top recommended GPU for Qwen 3 1.7B is the A4000 using BF16 precision. It achieves approximately 711.5 tokens/sec at an estimated cost of $161/month ($0.09/M tokens). Score: 90/100.

How much does Qwen 3 1.7B inference cost?

Qwen 3 1.7B inference costs vary by provider and GPU setup. Use our calculator for detailed cost estimates across all providers.