Will It Run AI

GoogleGoogle

Gemma 3 4B

当前
1.8M下载量1.3K点赞Mar 2025发布日期128K tokens上下文Gemma许可证51 良好质量

Gemma 3 4B (4B parameters) requires approximately 6.3 GB of VRAM with Q4_K_M quantization. For the best balance of quality and speed, we recommend hardware with at least 8 GB of VRAM.

快速开始

— 复制粘贴即可本地运行

Copy-paste commands to run Gemma 3 4B on your machine.

Run

ollama run gemma3:4b

Quick specs

Parameters4B
Architecturedense
Context128K tokens
Modalitytext
Min RAM1.6 GB
Rec. RAM2.4 GB (Q4_K_M)
LicenseGemma
FamilyGemma
Chat Reasoning

About this model

Gemma 3 4B is Google's efficient Gemma 3 model supporting vision and text. Ideal for on-device applications requiring multimodal understanding with fast inference speeds.

相关模型

你的硬件

检测中...

快速推荐

最佳硬件

Gemma 3 4B 的最佳选择

运行此模型

量化选项

各量化级别的 VRAM 估算

No hardware detected — fit column shows raw VRAM estimates

QuantBitsVRAMQualityFit
Q2_K
2
1.6 GB
Low
Q3_K_S
3
2.0 GB
Low
NVFP4
4
2.2 GB
Medium
Q4_K_M
4
2.4 GB
Medium
Q5_K_M
5
2.9 GB
High
Q6_K
6
3.3 GB
High
Q8_0
8
4.3 GB
Very High
F16
16
8.2 GB
Maximum

Quality benchmarks

Gemma 3 4B benchmark scores

Benchmark verified

Coding

SWE-bench Verified
HumanEval+71.3%
Aider Polyglot
LiveCodeBench12.6%

Reasoning

MMLU-Pro43.6%
GPQA Diamond30.8%
MATH-50075.6%
ARC Challenge

General

Chatbot Arena
IFEval90.2%

Source: official · 2025-03-12

硬件兼容性

全部硬件的适配估算

打开计算器

Computing compatibility...

内存详细分析

Reference: RTX 2060 6GB

Weights2.4 GB
KV Cache2.1 GB
Runtime1.2 GB
Headroom0.6 GB

常见问题

FAQ — Gemma 3 4B

另请参阅