Created bymario-alka.dePowered bygodcore.denoob2claw.detricoma.de
Contributed byMario AlkaQwen (Alibaba)

Qwen3-4B

Performance benchmark · measured on 07.10.2026 21:09

Benchmark-IDrun-20261008-105915-cdc9d2
Timebench 3 - Kombi (Prefill + Generation)Dense4BRuntime: llama.cppQuantisierung: Q4_K_M
ℹ
Public note: Dell PowerEdge R820 . 2x AMD Radeon RX 7900 XTX (48 GB VRAM gesamt, ROCm/HIP) . RAM: 32x 16 GB SK Hynix DDR3-1600 ECC RDIMM (HMT42GR7AFR4A-PB) = 512 GB @ 1600 MT/s
Generation184,99tok/s
Prefill7.151,15tok/s
Time to First Token1.753,50ms
Total duration62,11s
Concurrency5parallel
Ranking in the field
51of 120 systems

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

This run is better than 58 % of all comparable systems.
Generation 185,0 tok/s
+12 % vs Ø 165,1
Prefill 7.151,2 tok/s
+13 % vs Ø 6.346,8
Time to First Token 1.754 ms
-90 % vs Ø 17.171
Distribution in the field2 – 496 tok/s
Ø 165 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 · 5× concurrent · Generation (tok/s)

Hardware

GPU: 2x AMD Radeon RX 7900 XTX · 24 GB VRAM
CPU: 4x Intel(R) Xeon(R) CPU E5-4657L v2 @ 2.40GHz
RAM: 504 GB
Mainboard: Dell Inc. PowerEdge R820

Setup

Runtime: llama.cpp
Quantization: Q4_K_M
Model: Qwen3-4B

Configuration

benchmark-konfiguration — run-20261008-105915-cdc9d2
# LLM-Benchmark Konfiguration # Modell : Qwen3-4B # Engine : llama.cpp # Run-ID : run-20261008-105915-cdc9d2 # GPU : 2x AMD Radeon RX 7900 XTX # CPU : 4x Intel(R) Xeon(R) CPU E5-4657L v2 @ 2.40GHz # RAM : 504 GB bench@llm-benchmark:~$ llama-server \ -m Qwen3-4B-Q4_K_M.gguf \ --alias Qwen3-4B \ -ngl 999 \ -sm layer \ -fa on \ -c 40960 \ -np 10 '(2x' RX 7900 XTX 'ROCm/HIP)'
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.llamacpp
Modellalias?Der Name, unter dem das Modell ueber die API angesprochen wird. Genau dieser Wert muss im Request-Feld 'model' stehen.Qwen3-4B
Kontextlaenge?Maximale Anzahl Tokens (Eingabe + erzeugte Ausgabe zusammen), die das Modell pro Anfrage verarbeiten kann.40960
Modellpfad?Pfad zur GGUF-Modelldatei, die geladen und ausgeliefert wird.Qwen3-4B-Q4_K_M.gguf
GPU-Layer?Anzahl der auf die GPU ausgelagerten Modell-Layer. Hoeher = mehr VRAM und schneller; der Rest laeuft auf der CPU. 999 = alles auf GPU.999
Split-Mode?Verteilung ueber mehrere GPUs: none (nur eine GPU), layer (Layer aufteilen) oder row (Tensoren zeilenweise).layer
faon
Kontext?Groesse des Kontextfensters in Token. 0 = der beim Training verwendete Kontext des Modells.40960
np10
execution_typelocal

All benchmarks of this model To leaderboard

Anzeige
Model comparison

Qwen3-4B 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

4233172111060,003.9707.94011.911Prefill (tok/s)Generation (tok/s)AMD Radeon AI PRO R9700 - 325,2 tok/s Generation, 7.193 tok/s Prefill, TTFT 1.751 ms (3 Laufe)AMD Radeon AI PRO R97...AMD Oberon (PlayStation 5) - 101,5 tok/s Generation, 782 tok/s Prefill, TTFT 9.208 ms (2 Laufe)AMD Oberon (PlayStati...CPU-only - 1,3 tok/s Generation, 8 tok/s Prefill, TTFT 374.500 ms (3 Laufe)CPU-onlyAMD Radeon RX 7900 XTX - 320,4 tok/s Generation, 9.607 tok/s Prefill, TTFT 1.584 ms (9 Laufe) | DIESER LAUF★ AMD Radeon RX 7900 XTX
AMD Radeon AI PRO R9700 325,2 tok/s★ AMD Radeon RX 7900 XTX 320,4 tok/s this runAMD Oberon (PlayStation 5) 101,5 tok/sCPU-only 1,3 tok/s

CPUby processor

4233172111060,004.5349.06813.602Prefill (tok/s)Generation (tok/s)AMD Ryzen 3 3100 4-Core Processor - 325,2 tok/s Generation, 7.193 tok/s Prefill, TTFT 1.751 ms (3 Laufe)AMD Ryzen 3 3100 4-Co...AMD Ryzen Threadripper PRO 3955WX 16-Cores - 320,4 tok/s Generation, 10.970 tok/s Prefill, TTFT 1.493 ms (6 Laufe)AMD Ryzen Threadrippe...AMD Zen2 8-Core (PlayStation 5) - 101,5 tok/s Generation, 782 tok/s Prefill, TTFT 9.208 ms (2 Laufe)AMD Zen2 8-Core (Play...AMD Jaguar 8-Core (PlayStation 4) - 1,3 tok/s Generation, 4 tok/s Prefill, TTFT 474.264 ms (1 Lauf)AMD Jaguar 8-Core (Pl...4 x Cortex-A78C + 4 x Cortex-A55 - 0,9 tok/s Generation, 11 tok/s Prefill, TTFT 324.617 ms (2 Laufe)4 x Cortex-A78C + 4 x...Intel(R) Xeon(R) CPU E5-4657L v2 @ 2.40GHz - 294,3 tok/s Generation, 6.880 tok/s Prefill, TTFT 1.765 ms (3 Laufe) | DIESER LAUF★ Intel(R) Xeon(R) CPU ...
AMD Ryzen 3 3100 4-Core Processor 325,2 tok/sAMD Ryzen Threadripper PRO 3955WX 16-Cores 320,4 tok/s★ Intel(R) Xeon(R) CPU E5-4657L v2 @ 2.40GHz 294,3 tok/s this runAMD Zen2 8-Core (PlayStation 5) 101,5 tok/sAMD Jaguar 8-Core (PlayStation 4) 1,3 tok/s4 x Cortex-A78C + 4 x Cortex-A55 0,9 tok/s

MBby mainboard

40330821311924,204.5159.03013.545Prefill (tok/s)Generation (tok/s)ASUSTeK COMPUTER INC. ROG STRIX X570-F GAMING - 325,2 tok/s Generation, 7.193 tok/s Prefill, TTFT 1.751 ms (3 Laufe)ASUSTeK COMPUTER INC....ASUSTeK COMPUTER INC. Pro WS WRX80E-SAGE SE WIFI - 320,4 tok/s Generation, 10.970 tok/s Prefill, TTFT 1.493 ms (6 Laufe)ASUSTeK COMPUTER INC....unbekannt - 101,5 tok/s Generation, 318 tok/s Prefill, TTFT 228.383 ms (5 Laufe)unbekanntDell Inc. PowerEdge R820 - 294,3 tok/s Generation, 6.880 tok/s Prefill, TTFT 1.765 ms (3 Laufe) | DIESER LAUF★ Dell Inc. PowerEdge R...
ASUSTeK COMPUTER INC. ROG STRIX X570-F GAMING 325,2 tok/sASUSTeK COMPUTER INC. Pro WS WRX80E-SAGE SE WIFI 320,4 tok/s★ Dell Inc. PowerEdge R820 294,3 tok/s this rununbekannt 101,5 tok/s

ENGby engine

3593413233052872.3307.05911.78816.517Prefill (tok/s)Generation (tok/s)vLLM - 320,4 tok/s Generation, 14.021 tok/s Prefill, TTFT 1.458 ms (3 Laufe)vLLMllama.cpp - 325,2 tok/s Generation, 4.826 tok/s Prefill, TTFT 82.646 ms (14 Laufe) | DIESER LAUF★ llama.cpp
★ llama.cpp 325,2 tok/s this runvLLM 320,4 tok/s

DRVby driver

3583423253092936.0626.3206.5786.836Prefill (tok/s)Generation (tok/s)unbekannt - 325,2 tok/s Generation, 6.449 tok/s Prefill, TTFT 68.319 ms (17 Laufe)unbekannt
unbekannt 325,2 tok/s
💰 Economics

Economics of this run

Operating cost, TCO and comparison with the next-best runs of the same model at identical concurrency (5× 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 35 W
⚡ TDP 749 W
☁️ External LLM (API)
Electricity0.30 EUR/kWh
Avg power (incl. idle)749 W estimated (TDP)GPU 710 + CPU 29 + Board 10 W full load
Avg cost / hourEUR 0.22
Electricity / 1M tokensEUR 0.34
Token / kWh889.43K
Acquisition (system)EUR 4,353 partial priceGPU EUR 2,098 · CPU EUR 59 · RAM EUR 2,016 · PSU EUR 180
Electricity (2 years)–
TCO (2 years)EUR 8,288
Output tokens (2 years)11.67B
☁️ 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 (35 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

Qwen3-4B2x AMD Radeon RX 7900 XTXQwen3-4B2x AMD Radeon RX 7900 XTXQwen3-4BAMD Radeon AI PRO R9700Qwen3-4B2x AMD Radeon RX 7900 XTX
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.