Created bymario-alka.dePowered bynoob2claw.detricoma.de
Contributed byMario AlkaGoogle

gemma4:31b

Performance benchmark · measured on 20.07.2026 15:02

Benchmark-IDrun-20260722-165905-25ce4d
Timebench 2 - Token-Generation / Output-DurchsatzDense31BRuntime: vLLMQuantisierung: INT8
Generation11,19tok/s
Prefill162,23tok/s
Time to First Token716,30ms
Total duration276,70s
Concurrency1parallel
Ranking in the field
1589of 1927 systems

Performance benchmark · Primary metric: Generation-Speed (tok/s) · 1× concurrent

This run is better than 17 % of all comparable systems.
Generation 11,2 tok/s
-86 % vs Ø 77,5
Prefill 162,2 tok/s
-94 % vs Ø 2.844,6
Time to First Token 716 ms
-97 % vs Ø 23.755
Distribution in the field0 – 471 tok/s
Ø 78 Median Dieser Lauf

Wie schlägt sich dieser Benchmark mit anderen Modellen?

How does this benchmark compare on other GPUs?

Same model on different hardware · 1× concurrent · Generation (tok/s)

Hardware

GPU: 3x AMD Radeon AI PRO R9700 · 32 GB VRAM
CPU: AMD Ryzen Threadripper PRO 7955WX 16-Cores
RAM: 184 GB
Mainboard: ASUSTeK COMPUTER INC. Pro WS WRX90E-SAGE SE

Setup

Runtime: vLLM
Quantization: INT8
Model: gemma4:31b

Configuration

benchmark-konfiguration — run-20260722-165905-25ce4d
# LLM-Benchmark Konfiguration # Modell : gemma4:31b # Engine : vLLM # Run-ID : run-20260722-165905-25ce4d # GPU : 3x AMD Radeon AI PRO R9700 # CPU : AMD Ryzen Threadripper PRO 7955WX 16-Cores # RAM : 184 GB bench@llm-benchmark:~$ /opt/python/bin/python /opt/python/bin/vllm serve nameistoken/Gemma-4-31B-it-Quark-W8A8-INT8 \ --served-model-name gemma-4-31b-it-int8 \ --tensor-parallel-size 1 \ --pipeline-parallel-size 3 \ --dtype auto \ --max-model-len 4096 \ --gpu-memory-utilization 0.92 \ --enforce-eager \ --trust-remote-code \ --host 0.0.0.0 \ --port 8000
Engine?Die Inferenz-Software, die das Modell ausliefert (z.B. vLLM oder llama.cpp). Sie bestimmt Geschwindigkeit, unterstuetzte Modellformate und welche Parameter ueberhaupt verfuegbar sind.vllm
Modellalias?Der Name, unter dem das Modell ueber die API angesprochen wird. Genau dieser Wert muss im Request-Feld 'model' stehen.gemma-4-31b-it-int8
Kontextlaenge?Maximale Anzahl Tokens (Eingabe + erzeugte Ausgabe zusammen), die das Modell pro Anfrage verarbeiten kann.4096
Alias?Anzeigename des Modells nach aussen (served model name), unabhaengig vom Dateinamen.gemma-4-31b-it-int8
Tensor-Parallel?Anzahl GPUs, auf die JEDER einzelne Modell-Layer aufgeteilt wird (Tensor-Parallelitaet). Mehr GPUs = mehr VRAM und meist mehr Speed, aber die Anzahl der Attention-Heads muss durch diesen Wert teilbar sein (z.B. 32 Heads -> nur 1, 2, 4, 8 ... moeglich, NICHT 3).1
Pipeline-Parallel?Anzahl GPUs, auf die die Modell-Layer der Reihe nach (als Pipeline) verteilt werden. Nutzt mehrere GPUs OHNE Teilbarkeits-Anforderung der Heads; erhoeht vor allem Kapazitaet und Durchsatz, die Latenz einer einzelnen Anfrage aber nicht zwingend.3
Dtype?Zahlenformat der Modellgewichte bei der Berechnung (z.B. auto, float16, bfloat16). 'auto' waehlt automatisch das vom Modell empfohlene Format.auto
Kontext?Groesse des Kontextfensters in Token. 0 = der beim Training verwendete Kontext des Modells.4096
GPU-Speicher?Anteil des GPU-Speichers (0 bis 1), den vLLM belegen darf. 0.92 = 92 %. Hoeher = mehr Platz fuer den KV-Cache (mehr/laengere parallele Anfragen), aber groesseres Risiko fuer 'Out of Memory'.0.92
Enforce-Eager?Schaltet die optimierte Graph-Ausfuehrung (CUDA-/HIP-Graphs) AB und rechnet Schritt fuer Schritt. Startet schneller und spart etwas VRAM, ist im laufenden Betrieb aber meist langsamer als mit Graphs.aktiv
Trust-Remote-Code?Erlaubt vLLM, mit dem Modell mitgelieferten Python-Code auszufuehren. Noetig fuer Architekturen, die vLLM nicht von Haus aus kennt. Nur bei vertrauenswuerdigen Modellen aktivieren.aktiv

All benchmarks of this model To leaderboard

Anzeige
Model comparison

gemma4:31b on various hardware

All published performance runs of this model – each bubble a variant: position = prefill (X) × generation (Y), bubble size = number of runs. Closer to the top right = faster. ★ Marked gold = this benchmark.

GPUby graphics card

22116611155,40,0433887331.078Prefill (tok/s)Generation (tok/s)NVIDIA GeForce RTX 3090 Ti - 174,1 tok/s Generation, 901 tok/s Prefill, TTFT 22.889 ms (6 Laufe)NVIDIA GeForce RTX 30...AMD Radeon AI PRO R9700 - 24,4 tok/s Generation, 219 tok/s Prefill, TTFT 271 ms (8 Laufe) | DIESER LAUF★ AMD Radeon AI PRO R97...
NVIDIA GeForce RTX 3090 Ti 174,1 tok/s★ AMD Radeon AI PRO R9700 24,4 tok/s this run

CPUby processor

22116611155,40,0433887331.078Prefill (tok/s)Generation (tok/s)AMD Ryzen 5 5600X 6-Core Processor - 174,1 tok/s Generation, 901 tok/s Prefill, TTFT 22.889 ms (6 Laufe)AMD Ryzen 5 5600X 6-C...AMD Ryzen Threadripper PRO 7955WX 16-Cores - 24,4 tok/s Generation, 219 tok/s Prefill, TTFT 271 ms (8 Laufe) | DIESER LAUF★ AMD Ryzen Threadrippe...
AMD Ryzen 5 5600X 6-Core Processor 174,1 tok/s★ AMD Ryzen Threadripper PRO 7955WX 16-Cores 24,4 tok/s this run

MBby mainboard

22116611155,40,0433887331.078Prefill (tok/s)Generation (tok/s)ASUSTeK COMPUTER INC. PRIME A520M-K - 174,1 tok/s Generation, 901 tok/s Prefill, TTFT 22.889 ms (6 Laufe)ASUSTeK COMPUTER INC....ASUSTeK COMPUTER INC. Pro WS WRX90E-SAGE SE - 24,4 tok/s Generation, 219 tok/s Prefill, TTFT 271 ms (8 Laufe) | DIESER LAUF★ ASUSTeK COMPUTER INC....
ASUSTeK COMPUTER INC. PRIME A520M-K 174,1 tok/s★ ASUSTeK COMPUTER INC. Pro WS WRX90E-SAGE SE 24,4 tok/s this run

ENGby engine

22116611155,40,0108319529740Prefill (tok/s)Generation (tok/s)unbekannt - 174,1 tok/s Generation, 628 tok/s Prefill, TTFT 13.842 ms (10 Laufe)unbekanntvLLM - 24,4 tok/s Generation, 219 tok/s Prefill, TTFT 271 ms (4 Laufe) | DIESER LAUF★ vLLM
unbekannt 174,1 tok/s★ vLLM 24,4 tok/s this run

DRVby driver

22116611155,40,0108319529740Prefill (tok/s)Generation (tok/s)unbekannt - 174,1 tok/s Generation, 628 tok/s Prefill, TTFT 13.842 ms (10 Laufe)unbekanntAMD 7.0.0-27-generic - 24,4 tok/s Generation, 219 tok/s Prefill, TTFT 271 ms (4 Laufe)AMD 7.0.0-27-generic
unbekannt 174,1 tok/sAMD 7.0.0-27-generic 24,4 tok/s
💰 Economics

Economics of this run

Operating cost, TCO and comparison with the next-best runs of the same model at identical concurrency (1× concurrent). Methodology →

⚙️ ConfigurationAll metrics and charts below follow these settings – based on a 24-month runtime.Save to URLReset
⚡ Electricity price EUR/kWh
⚙️ System utilization 100 %
🖥️ Acquisition EUR
🔌 Idle 125 W
⚡ TDP 971 W
☁️ External LLM (API)
Electricity0.30 EUR/kWh
Avg power (incl. idle)971 W estimated (TDP)GPU 900 + CPU 46 + Board 25 W full load
Avg cost / hourEUR 0.29
Electricity / 1M tokensEUR 7.23
Token / kWh41.49K
Acquisition (system)EUR 9,674 full priceGPU EUR 4,200 · CPU EUR 1,399 · Board EUR 1,299 · RAM EUR 2,576 · PSU EUR 200
Electricity (2 years)–
TCO (2 years)EUR 14,778
Output tokens (2 years)705.78M
☁️ External LLM (API) – comparison
External LLM cost (2 years)–
Savings vs. external (2 years)–

All values above and the charts below take the configured system utilization into account: at X% the system generates only X% of the time, the rest it idles (125 W). Cost per hour drops (more idle), cost per token rises.

Cost over 2 years – electricity only

Cost over 2 years – incl. acquisition (TCO)

Speed vs. tokens per euro

Euro per 1M tokens

Comparison vs. API – economics per benchmark

gemma4:31b3x AMD Radeon AI PRO R9700gemma4:31bNVIDIA GeForce RTX 3090 Tigemma4:31bNVIDIA GeForce RTX 3090 Tigemma4:31b2x AMD Radeon AI PRO R9700
Electricity cost (24 mo.)––––
Acquisition cost––––
Total cost (TCO)––––
Generated tokens (24 mo.)––––
Token price via API––––
Break-even point (days)––––
Result (savings / extra cost)––––

Comparison with up to 3 next-best runs of this model at the same concurrency (at least one on different hardware). Power = GPU TDP + CPU (idle + 15 %) + board (estimated), acquisition = full system (GPU + CPU + board + RAM + PSU), prices = stored market prices.

Contributed by

Mario Alka Administrator

@marioalka

Ich bin Unternehmer, Softwareentwickler und KI-Enthusiast. Seit vielen Jahren entwickle ich Unternehmenssoftware und beschäftige mich inzwischen fast täglich mit lokalen LLMs, KI-Agenten und leistungsfähiger KI-Hardware.

Mit LLM-Benchmark.de möchte ich eine Plattform schaffen, auf der Modelle, GPUs und Agenten objektiv und reproduzierbar miteinander verglichen werden.