速度测试
gemma-4-12B-it-qat-q4_0-gguf
RTX 3080 10GB · llama.cpp · b10472 · Q4_0
ntindle社区2026年8月18日
解码
71.2tok/s
预填充
2.7ktok/s
首个 token 延迟
977ms
总计
—
峰值 VRAM
7.5GB
上下文长度
32K
KV 深度
—
批大小
1
功耗
369W
验证
未验证 — 实验性结果
已验证的运行使用标准测试提示词,并记录足够的数据以核对结果。
启动命令
llama-server -m gemma-4-12b-it-qat-q4_0.gguf -c 32768 -ngl 99 -fa on -ctk q8_0 -ctv q8_0 --parallel 1 --jinja --spec-type none
Theoretical memory ceiling
105.0–109.0 tok/s
760.3 GB/s memory bandwidth (spec sheet) · 6.98 GB model weights · 8.5-bit KV cache · 1–2,585 tokens of context
65–68%
of the ceiling reached
High confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from google/gemma-4-12B-it-qat-q4_0-unquantized; size from google/gemma-4-12B-it-qat-q4_0-gguf/gemma-4-12b-it-qat-q4_0.gguf. Hardware source · Open calculator
模型
- GPU
- RTX 3080
- 数量
- 1
- VRAM
- 10 GB
- OS
- Windows 11
引擎
- 引擎
- llama.cpp
- 版本
- b10472
- 量化
- Q4_0
- GPU 层
- 99
- KV 缓存
- q8_0
- 前缀缓存
- 否
- 预填块
- 512
- Attn
- flash_attn
- Flash Attn
- 是
运行配置
- 上下文
- 32,768 个 token
- 批量大小
- 1
- 提示词 token
- 2585
- 预填 tok/s
- 2,698.8 tok/s
- 功耗
- 369 W
- 输出 token
- 256
- 备注
- Gemma 4 12B IT QAT q4_0 (official Google GGUF, 6.50 GiB), 48 layers, ALL on GPU, fully resident at 32K in 7.47 GB. By far the best latency of the four models I measured on this card: TTFT 977 ms and 2699 tok/s prefill, against 2525 ms / 1080 tok/s for a 27B at 2-bit. Decode is within 2% of the 27B models while prefill is 2.5x faster, so for interactive and long-prompt work this is the better pick on 10GB. Gemma's 40 sliding-window layers cache only 1024 tokens; do not add --swa-full. Headless 3080 (both displays on the 7900X iGPU; desktop holds ~64 MiB on the card). Workload: single non-repetitive synthetic log-summarisation prompt, 256 output tokens, temp 0, cache_prompt off, medians of 3 reps (2 where noted). Prefill/decode from llama-server timings; TTFT measured client-side on a streaming request. Prompt token counts differ per model because tokenizers differ. llama.cpp b10472 (60eeeb608), Windows 11 / CUDA 12.4, driver 591.86, PCIe 4.0 x16, stock 370 W.
已记录的证据
- 提示词哈希(SHA-256)
- —
提示词样本—
输出样本—
