Skip to content
Updated minutes ago
Vikhyat

Moondream 2B

Vikhyat · dense · 1.86B parameters · 2,048 context

Quality
50.0

Parameters

1.86B

Context Window

2K tokens

Architecture

Dense

Best GPU

RTX 4060

Intelligence Brief

Moondream 2B is a 1.86B parameter DENSE model from Vikhyat, featuring Multi-Head Attention (MHA) with 24 layers and 2,048 hidden dimensions. With a 2,048 token context window, it supports vision. For self-hosted inference, RTX 4060 delivers optimal throughput at $209/month.

Architecture Details

TypeDENSE
Total Parameters1.86B
Active Parameters1.86B
Layers24
Hidden Dimension2,048
Attention Heads16
KV Heads16
Head Dimension128
Vocab Size51,200

Memory Requirements

BF16 Weights

3.7 GB

FP8 Weights

1.9 GB

INT4 Weights

0.9 GB

KV-Cache per Token98304 bytes
Activation Estimate0.20 GB

GPU Compatibility Matrix

Moondream 2B 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

RTX 4060optimal

BF16 · 1 GPU · vllm

100/100

score

Throughput

394.8 tok/s

Latency (ITL)

2.5ms

Est. TTFT

0ms

Cost/Month

$209

Cost/M Tokens

$0.20

Use this config →
RTX 3070optimal

BF16 · 1 GPU · vllm

100/100

score

Throughput

650.3 tok/s

Latency (ITL)

1.5ms

Est. TTFT

0ms

Cost/Month

$85

Cost/M Tokens

$0.05

Use this config →
A4000optimal

BF16 · 1 GPU · vllm

90/100

score

Throughput

650.3 tok/s

Latency (ITL)

1.5ms

Est. TTFT

0ms

Cost/Month

$161

Cost/M Tokens

$0.09

Use this config →

Deployment Options

API

API Deployment

No API pricing available

Self-Hosted

Single GPU

RTX 4060

$209/mo

Min VRAM: 2 GB

Scale

Multi-GPU

RTX 4060

394.8 tok/s

Best available config

API Pricing Comparison

No API pricing data available for this model.

Performance Estimates

Throughput by GPU

RTX 4060
394.8 tok/s
RTX 3070
650.3 tok/s
A4000
650.3 tok/s

VRAM Breakdown (RTX 4060, BF16)

Weights
KV
Act
Weights 3.7 GBKV-Cache 3.2 GBActivations 1.6 GBOverhead 0.3 GB

Precision Impact

bf16

3.7 GB

weights/GPU

~394.8 tok/s

fp8

1.9 GB

weights/GPU

int4

0.9 GB

weights/GPU

Capabilities

Features

Tool Use Vision Code Math Reasoning Multilingual Structured Output

Supported Frameworks

ollamavllm

Supported Precisions

BF16 (default)FP8INT4

Where to Deploy Moondream 2B

Similar Models

Larger context, Lower qualityCompare →
Smaller contextCompare →

Frequently Asked Questions

How much VRAM does Moondream 2B need for inference?

Moondream 2B requires approximately 3.7 GB of VRAM at BF16 precision, 1.9 GB at FP8, or 0.9 GB at INT4 quantization. Additional VRAM is needed for KV-cache (98304 bytes per token) and activations (~0.20 GB).

What is the best GPU for Moondream 2B?

The top recommended GPU for Moondream 2B is the RTX 4060 using BF16 precision. It achieves approximately 394.8 tokens/sec at an estimated cost of $209/month ($0.20/M tokens). Score: 100/100.

How much does Moondream 2B inference cost?

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