GPUs & Macs › NVIDIA Tesla P4

NVIDIA Tesla P4: local LLM speed

Llama 2 7B (Q4_0) generates 33.3 tokens/s on the NVIDIA Tesla P4 (CUDA), and processes prompts at 515 tokens/s.

Measured results

ModelGenerate
tok/s
Prompt
tok/s
QuantBackendTestSource
Llama 2 7B33.3515Q4_0CUDA FA offtg128llama.cpp #15013 details
Llama 2 7B33.1530Q4_0CUDA FA ontg128llama.cpp #15013 details
Llama 2 7B28.4287Q4_0Vulkan FA ontg128llama.cpp #10879 details
Llama 2 7B28.0266Q4_0Vulkan FA offtg128llama.cpp #10879 details

What fits on the NVIDIA Tesla P4

Estimates for this chip are scaled from a measured run: Llama 2 7B Q4_0 at 33.3 tok/s (CUDA, source). Fit assumes the whole model in GPU memory with ~8K context.

ModelBest quant that fitsFileExpected tok/s
gemma-4-12B-itIQ4_XS6.4 GB20.0 estimate
Qwen3.5-9BQ5_K_S6.4 GB20.0 estimate
Qwen3.5-4BQ8_04.5 GB28.4 estimate
MiMo-V2.6-Distill-Qwen-9BQ4_K_M5.8 GB21.8 estimate
gemma-4-E4B-itQ5_K_M5.5 GB23.2 estimate
Qwen3-4BQ8_04.3 GB29.7 estimate
gemma-3-1b-itQ8_01.1 GB106 estimate
gemma-4-E2B-itQ8_05.0 GB25.6 estimate
DeepSeek-R1-0528-Qwen3-8BQ5_K_M5.9 GB21.8 estimate
Llama-3.2-3B-InstructQ8_03.4 GB37.2 estimate
Phi-4-mini-instructQ8_04.1 GB31.2 estimate
gemma-3-4b-itQ8_04.1 GB30.8 estimate
Qwen3-14BUD-IQ3_XXS6.0 GB21.2 estimate
gemma-3-12b-itQ3_K_M6.0 GB21.2 estimate

Open in the picker

Similar hardware

NVIDIA P106-100 · NVIDIA P102-100 · NVIDIA Tesla K80 · NVIDIA P104-100 · NVIDIA Tesla P100 · NVIDIA Tesla T4 · NVIDIA Tesla V100 16GB · NVIDIA A30