NVIDIA L4 vs NVIDIA T4, AI & Machine Learning Comparison

NVIDIA L4
NVIDIA L4
vs
NVIDIA T4
NVIDIA T4

NVIDIA L4 wins 149 of 171 benchmarks, averaging 51.1% 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 172 of our 12 AI workloads while the other card runs 119, models that don't fit score zero.

Benchmark results head-to-head

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

Whole-job comparison

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

WorkflowNVIDIA L4NVIDIA T4DifferenceCost per run
Depth pass on a batch17 s13 sNVIDIA T4 1.28x faster$0.002 vs $0.001
Voiceovers from scripts36 s55 sNVIDIA L4 1.53x faster$0.004 vs $0.002
Transcribe and subtitle videos4.4 min6.9 minNVIDIA L4 1.56x faster$0.032 vs $0.017
Masking run7.5 min14.4 minNVIDIA L4 1.93x faster$0.055 vs $0.036
Caption a training dataset10.8 min12.1 minNVIDIA L4 1.12x faster$0.079 vs $0.030
Product catalogue cutout12.1 min20.3 minNVIDIA L4 1.68x faster$0.089 vs $0.050
Full codebase review36.4 min50.7 minNVIDIA L4 1.39x faster$0.267 vs $0.126

Renting by the hour, NVIDIA T4 finishes 7 of 7 cheaper. The quicker card is not automatically the cheaper way to get the work done.

Cost to rent

CardPer hour
NVIDIA L4$0.440
NVIDIA T4$0.149

NVIDIA T4 is 2.95x cheaper per hour. Cheapest on-demand rate we see across RunPod and Vast.

Specifications compared

NVIDIA L4NVIDIA T4
VRAM24GB16GB
Transistors35,800M13,600M
Die size294.5 mm²545 mm²
Process node4 nm12 nm
Transistor density121.6 M/mm²25 M/mm²
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 149 of 171 benchmarks in our suite with an average 51.1% 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 27 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