NVIDIA L4 vs NVIDIA T4, AI & Machine Learning Comparison

NVIDIA L4
NVIDIA L4
vs
NVIDIA T4
NVIDIA T4

NVIDIA L4 wins 134 of 154 benchmarks, averaging 53.2% faster.

Both cards were measured first-party on our bench, same suite, same test rig.

What the numbers say

The gap is widest in Sana 1.6B, where NVIDIA L4 leads by 1125% (13.84 vs 1.13 images/min); the closest fight is Qwen2.5 1.5B + 0.5B draft (8% apart); VRAM decides part of this one: NVIDIA L4 runs 138 of our 12 AI workloads while the other card runs 111, models that don't fit score zero.

Benchmark results head-to-head

BenchmarkNVIDIA L4NVIDIA T4Difference
Qwen3-4B tok/s8467.71+24%
Llama 3.1 8B tok/s50.4535.01+44%
Qwen2.5-Coder 14B tok/s27.4619.76+39%
Qwen3-32B tok/s12.420n/a
Llama 3.3 70B tok/s00n/a
Stable Diffusion XL images/min5.182.36+119%
FLUX.1 dev images/min00n/a
FLUX.1 Kontext dev images/min00n/a
Qwen-Image-Edit images/min00n/a
Wan 2.2 5B (720p) frames/s0.150n/a
DeepSeek-R1 Distill Llama 8B tok/s50.3936.36+39%
DeepSeek-R1 Distill 1.5B tok/s191.38148.72+29%
DeepSeek-R1 Distill 14B tok/s27.3919.21+43%
DeepSeek-R1 Distill 7B tok/s53.2737.58+42%
Gemma 3 12B tok/s31.0123.12+34%
Gemma 3 4B tok/s82.0365.12+26%
Gemma 4 12B tok/s31.4924.03+31%
Llama 3.2 1B tok/s259.48207.71+25%
Llama 3.2 3B tok/s107.185.94+25%
Mistral 7B v0.3 tok/s54.0240.01+35%
Mistral Small 24B tok/s17.3311.33+53%
Phi-4 14B tok/s27.2417.46+56%
Phi-4 Mini 3.8B tok/s88.4864.15+38%
Qwen2.5-Coder 7B tok/s53.2637.54+42%
Qwen3 0.6B tok/s357.79263.47+36%
Qwen3 1.7B tok/s177.5139.92+27%
Qwen3 14B tok/s27.6119.31+43%
Qwen3 30B A3B tok/s96.150n/a
Qwen3 8B tok/s48.9536.51+34%
SmolLM3 3B tok/s112.0786.08+30%
Codestral 22B tok/s18.1412.59+44%
DeepSeek-R1 Distill 32B tok/s12.280n/a
Devstral Small 24B tok/s17.3411.4+52%
Dolphin 2.9.1 Yi 1.5 34B tok/s11.920n/a
Dolphin Mistral 24B Venice tok/s17.3411.36+53%
Dolphin X1 8B tok/s50.1235.66+41%
Dolphin 3.0 Llama 3.1 8B tok/s50.2435.68+41%
Dolphin 3.0 R1 Mistral 24B tok/s17.3211.32+53%
Gemma 3 27B tok/s14.180n/a
Qwen2.5-Coder 32B tok/s12.290n/a
Qwen3-Coder 30B A3B tok/s99.140n/a
QwQ 32B tok/s12.280n/a
StarCoder2 15B tok/s24.415.66+56%
BiRefNet images/min305.81183.48+67%
Depth Anything V2 Large images/min770.37402.34+91%
Depth Anything V2 Small images/min916.66612.25+50%
Dolphin X1 Trinity Nano 6B tok/s166.6114.21+46%
SAM ViT-Base images/min315.89180.73+75%
SAM ViT-Huge images/min70.4634.91+102%
Swin2SR 4x Upscaler images/min18.2310.53+73%
Sana 1.6B images/min13.841.13+1125%
FLUX.1 Schnell images/min00n/a
PixArt-Sigma XL images/min8.080n/a
Qwen2.5-1.5B-Instruct tok/s191.39148.14+29%
AuraFlow v0.3 images/min1.020n/a
gpt-oss-20b tok/s91.7863.63+44%
Kokoro TTS 82M x realtime97.3542.88+127%
MusicGen Small x realtime1.010.92+10%
Phi-3.5-mini-instruct tok/s90.5672.07+26%
Qwen2.5-3B-Instruct tok/s110.8486.04+29%
Stable Diffusion 3.5 Large images/min00n/a
Stable Diffusion 3.5 Medium images/min2.960n/a
Whisper large-v3 x realtime70.1144.36+58%
Florence-2 Base images/min174.65148.61+18%
Florence-2 Large images/min93.7783.43+12%
Qwen-AgentWorld-35B-A3B tok/s70.230n/a
Meta-Llama-3.1-8B-Instruct tok/s50.3637.8+33%
Qwen2.5-7B-Instruct tok/s53.3239.01+37%
Ornith-1.0-35B tok/s70.310n/a
Kwaipilot_KAT-Coder-V2.5-Dev tok/s79.010n/a
Qwen2.5-0.5B-Instruct tok/s399.4295.47+35%
GLM-4.7-Flash tok/s75.030n/a
DeepSeek-R1-0528-Qwen3-8B tok/s49.0737.7+30%
gemma-2-2b-it tok/s114.1792.13+24%
gemma-3-1b-it tok/s216.27156.88+38%
gemma-3-270m-it tok/s493.31362.8+36%
Ornith-1.0-9B tok/s43.3532.93+32%
Qwen_Qwen3-0.6B tok/s356.93259.91+37%
Qwen2.5-14B-Instruct tok/s27.3719.84+38%
Qwen2.5 1.5B LoRA train tok/s3720.91434.4+159%
Qwen2.5 7B LoRA train tok/s1063.90n/a
SmolLM2 1.7B LoRA train tok/s3240.21561.9+107%
TinyLlama 1.1B LoRA train tok/s47561520.1+213%
Qwen2.5 1.5B served serve tok/s18271337.1+37%
Qwen2.5 7B served serve tok/s469.90n/a
SmolLM2 1.7B served serve tok/s1524.91222.5+25%
TinyLlama 1.1B served serve tok/s2584.31897.8+36%
AI21-Jamba-Reasoning-3B tok/s107.5986.91+24%
Olmo-3.1-32B-Think tok/s12.270n/a
Dolphin-Mistral-24B-Venice-Edition tok/s17.211.33+52%
DarkIdol-Llama-3.1-8B-Instruct-1.2-Uncensored tok/s48.8235.73+37%
DeepSeek-Coder-V2-Lite tok/s110.1183.49+32%
DeepSeek-R1 Distill 14B (Q3_K_M) tok/s27.8716.86+65%
DeepSeek-R1-Distill-Qwen-32B-abliterated tok/s12.260n/a
dolphin-2.9-llama3-8b tok/s50.0435.1+43%
EVA-Qwen2.5-14B-v0.2 tok/s27.319.92+37%
gemma-2-2b-it-abliterated tok/s11391.91+23%
gemma-2-9b tok/s33.828.62+18%
Gemma 3 12B (Q3_K_M) tok/s32.2919.79+63%
GLM-4.7-Flash-REAP-23B-A3B tok/s70.8753.83+32%
Josiefied-Qwen3-8B-abliterated-v1 tok/s48.7235.62+37%
Hermes-3-Llama-3.2-3B tok/s106.1484.99+25%
SmolLM3-3B tok/s110.7786.86+28%
L3-8B-Stheno-v3.2 tok/s50.0736.28+38%
LFM2.5-1.2B tok/s278.53221.66+26%
LFM2.5-8B-A1B tok/s170.2139.03+22%
Llama-2-7B tok/s56.0642.98+30%
Llama-3.2-3B-Instruct-uncensored tok/s101.1686.29+17%
Phi-4-mini tok/s87.2166+32%
Mistral-7B-Instruct-v0.1 tok/s53.640.63+32%
Mistral-7B-Instruct-v0.2 tok/s53.3141.31+29%
Mistral-7B-Instruct-v0.3 tok/s53.6639.87+35%
Mistral-Nemo-Instruct-2407 tok/s33.0122.98+44%
NemoMix-Unleashed-12B tok/s33.0223.19+42%
Hermes-4-14B tok/s27.4819.02+44%
phi-2 tok/s114.9989.6+28%
Phi-4 14B (Q3_K_M) tok/s27.8616.04+74%
Qwen3-1.7B tok/s176.08135.21+30%
Qwen3-14B tok/s27.4819.44+41%
Qwen3-30B-A3B tok/s95.020n/a
Qwen3-4B-Instruct-2507 tok/s83.0366.89+24%
Qwen3-8B tok/s48.3437.37+29%
Qwen1.5-0.5B tok/s431.41328.29+31%
Qwen2-1.5B tok/s189.18147.68+28%
Uncensored tok/s27.2918.94+44%
Qwen2.5-32B tok/s12.240n/a
Qwen2.5-Coder-0.5B tok/s397.1294.96+35%
Qwen2.5-Coder-1.5B tok/s184.6148.51+24%
Qwen2.5-Coder-14B-Instruct-abliterated tok/s27.2918.86+45%
Qwen2.5-Coder-3B tok/s109.4285.74+28%
Qwen2.5-Coder-7B-Instruct-abliterated tok/s53.0237.31+42%
Qwen3-4B-Instruct-2507 tok/s83.1367.45+23%
Qwen3-4B-Thinking-2507 tok/s83.1267+24%
SmolLM2-135M tok/s652.15416.24+57%
Cydonia-24B-v4.3 tok/s17.311.21+54%
Codestral 22B (Q3_K_M) tok/s17.9611.3+59%
Mistral Small 24B (Q3_K_M) tok/s16.6210.13+64%
Qwen2.5-Coder 32B (Q3_K_M) tok/s12.050n/a
Qwen3 30B A3B (Q3_K_M) tok/s94.0361.82+52%
Qwen2.5 1.5B + 0.5B draft x vs solo0.9680.9+8%
DeepSeek-R1-Distill-Llama-70B tok/s00n/a
Hermes-4-70B tok/s00n/a
Qwen3-Coder-Next-abliterated tok/s00n/a
Laguna-XS-2.1 tok/s00n/a
Llama-3.3-70B-Instruct-abliterated tok/s00n/a
Meta-Llama-3.1-70B tok/s00n/a
Nanbeige4.2-3B tok/s00n/a
Nemotron-3-Nano-30B-A3B tok/s00n/a
Qwen3-Coder-Next tok/s00n/a
Qwen3-Next-80B-A3B-Thinking tok/s00n/a
Qwen2.5-72B tok/s00n/a
Qwen3-Coder-Next tok/s00n/a
Qwen3-Next-80B-A3B-Thinking tok/s00n/a
Qwen3-Next-80B-A3B tok/s00n/a

Whole-job comparison

How long each card takes to finish a complete pipeline, not just one model. NVIDIA L4 is faster on 3 of 4; NVIDIA T4 on 1.

WorkflowNVIDIA L4NVIDIA T4Difference
50-image depth pass17 s13 sNVIDIA T4 1.28x faster
500-image masking run7.5 min14.4 minNVIDIA L4 1.93x faster
200-product catalogue cutout12.1 min20.3 minNVIDIA L4 1.68x faster
Full codebase review36.4 min50.7 minNVIDIA L4 1.39x faster

Specifications compared

NVIDIA L4NVIDIA T4
VRAM24GB16GB
ArchitectureAda LovelaceTuring
Memory bandwidth300 GB/s320 GB/s
Boost clock2,040 MHz1,590 MHz
TDP72 W70 W
Launch MSRP$2,500$2,299
Release2023-03-212018-09-13

FAQ

Which is better for ai & machine learning: NVIDIA L4 or NVIDIA T4?
NVIDIA L4 performs better for ai & machine learning, winning 134 of 154 benchmarks in our suite with an average 53.2% advantage.
What are the main hardware differences between NVIDIA L4 and NVIDIA T4?
NVIDIA L4 has 24GB VRAM and a 72W TDP, while NVIDIA T4 has 16GB VRAM and a 70W TDP.
Does VRAM matter more than speed between NVIDIA L4 and NVIDIA T4?
For AI, yes, NVIDIA L4 fits 20 more of our 12 workloads than NVIDIA T4. A model that exceeds VRAM doesn't run slower, it doesn't run at all, so the card that fits the model wins that workload outright.
Where is the biggest performance difference between NVIDIA L4 and NVIDIA T4?
Sana 1.6B: NVIDIA L4 leads by roughly 1125% (13.84 vs 1.13 images/min) in our testing.

NVIDIA L4 full review · NVIDIA T4 full review · All AI & Machine Learning rankings