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

gemma4:31b

Performance benchmark · measured on 20.07.2026 14:16

Benchmark-IDrun-20260722-165903-ec10bc
Dense31BRuntime: godclawQuantisierung: INT8
Generation10,54tok/s
Prefill199,17tok/s
Time to First Token141,00ms
Total duration7,83s
Concurrency1parallel
Ranking in the field
377of 496 systems

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

This run is better than 24 % of all comparable systems.
Generation 10,5 tok/s
-73 % vs Ø 38,4
Prefill 199,2 tok/s
-90 % vs Ø 2.069,9
Time to First Token 141 ms
-100 % vs Ø 32.977
Distribution in the field1 – 227 tok/s
Ø 38 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: 32x AMD Ryzen Threadripper PRO 7955WX 16-Cores
RAM: 184 GB
Mainboard: ASUSTeK COMPUTER INC. Pro WS WRX90E-SAGE SE

Setup

Runtime: godclaw
Quantization: INT8
Operating system: Ubuntu 26.04 LTS (Kernel 7.0.0-27-generic)
Driver: AMD 7.0.0-27-generic
Model: gemma4:31b

Configuration

benchmark-konfiguration — run-20260722-165903-ec10bc
# LLM-Benchmark Konfiguration # Modell : gemma4:31b # Run-ID : run-20260722-165903-ec10bc # GPU : 3x AMD Radeon AI PRO R9700 # CPU : 32x AMD Ryzen Threadripper PRO 7955WX 16-Cores # RAM : 184 GB bench@llm-benchmark:~$ cat benchmark.conf Konfigurationspfad nameistoken/Gemma-4-31B-it-Quark-W8A8-INT8 Engine vllm Modellalias gemma-4-31b-it-int8 Kontextlaenge 4096 Tensor-Parallel 2 Dtype auto GPU-Speicher 0.92 Trust-Remote-Code aktiv 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?Name, unter dem vLLM das Modell in der API anbietet. Der Client muss im Request-Feld 'model' exakt diesen Namen senden.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).2
Dtype?Zahlenformat der Modellgewichte bei der Berechnung (z.B. auto, float16, bfloat16). 'auto' waehlt automatisch das vom Modell empfohlene Format.auto
Kontext?Maximale Kontextlaenge in Tokens (Eingabe + Ausgabe zusammen). Begrenzt, wie gross eine einzelne Anfrage sein darf.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
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
Host?Netzwerk-Adresse, an die der API-Server bindet. 0.0.0.0 = auf allen Netzwerk-Schnittstellen erreichbar.0.0.0.0
Port?TCP-Port, auf dem der API-Server lauscht (bei vLLM standardmaessig 8000).8000

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)vLLM
unbekannt 174,1 tok/svLLM 24,4 tok/s

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) | DIESER LAUF★ AMD 7.0.0-27-generic
unbekannt 174,1 tok/s★ AMD 7.0.0-27-generic 24,4 tok/s this run
💰 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 105 W
⚡ TDP 671 W
☁️ External LLM (API)
Electricity0.30 EUR/kWh
Avg power (incl. idle)671 W estimated (TDP)GPU 600 + CPU 46 + Board 25 W full load
Avg cost / hourEUR 0.20
Electricity / 1M tokensEUR 5.31
Token / kWh56.55K
Acquisition (system)EUR 8,254 full priceGPU EUR 2,800 · CPU EUR 1,399 · Board EUR 1,299 · RAM EUR 2,576 · PSU EUR 180
Electricity (2 years)–
TCO (2 years)EUR 11,781
Output tokens (2 years)664.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 (105 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:31b2x 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.