llamaperf

Ollama benchmarks

A local model runner built on llama.cpp's GGML library, with a model registry and a one-line install.

45 community reports

Ollama results by GPU

Hardware with reported Ollama results, with each report's model, quant and speed, newest first. Runs on several cards, with speculative decoding, with batched requests or with part of the model in system RAM say so, since each describes a different setup.

Ollama on NVIDIA RTX 30903 reports

Filter Ollama reports on the NVIDIA RTX 3090

Ollama, GPU not identified9 reports

Ollama adds a model registry, a background server and an OpenAI-compatible API to a local runtime, so one command downloads a model and starts it.

It's built on GGML, the library under llama.cpp. Ollama picks most settings for you, which is quick to start with and leaves fewer knobs than llama.cpp's own flags. The matched comparisons below show how its reported speeds compare with other engines on the same card and model.

Compare GPUs running Ollama

Every card is compared on one model, Qwen2.5 7B at 4-bit, the size and bit class that most cards here have plain runs of. A card with no run of that model shows none rather than a figure from a different model.

GPUVRAMReportsMedian speed, Qwen2.5 7B 4-bit
NVIDIA RTX 5080nvidia16GB9Gen 176.6 t/sPP 9984.4 t/s · n=1
M4 32GBapple32GB7no Qwen2.5 7B 4-bit run reported
NVIDIA RTX 3060 12GBnvidia12GB7Gen 49.0 t/s
NVIDIA RTX 5070 Tinvidia16GB7no Qwen2.5 7B 4-bit run reported
NVIDIA RTX 5090nvidia32GB5no Qwen2.5 7B 4-bit run reported
NVIDIA RTX 3090nvidia24GB4no Qwen2.5 7B 4-bit run reported
M4 16GBapple16GB3no Qwen2.5 7B 4-bit run reported
NVIDIA DGX Sparknvidia128GB3no Qwen2.5 7B 4-bit run reported

Ollama against other engines

Pairs of plain runs on the same card, of the same model size at the same bit class: one device, one request, no speculative decoding, the whole model in memory. Context length and build still differ between the two sides, and each side shows its own.

Model and GPUOllamaOther engine
Qwen3.8 27B 4-bitAMD RX 7900 XTX34.4 t/sPrompt processing (prefill) 215.8 tokens/s (1)one generation report, 64K contextllama.cpp37.1 t/sPrompt processing (prefill) 877.8 tokens/s (1)median of 3 generation reports, 64K context, 2 not stated
Qwen3.6 35B · 3B active 4-bitM2 Max 64GB71.3 t/sone generation report, 32K contextLM Studio83.8 t/sone generation report, 256K context

Top models on Ollama

Frequently asked

Is Ollama faster than other engines?

llamaperf has 2 matched pairs of Ollama and other-engine runs on the same card, model size and bit class, but none is comparable enough to say which engine is faster: the sides have too few reports or were run at different context lengths. A pair counts toward a direction only when each side has at least 3 generation reports with a stated context, and the two sides' contexts overlap. The measured figures and their conditions are in the table on this page.

Is Ollama the same as llama.cpp?

No, but they share a foundation. Ollama is built on GGML, the library under llama.cpp, and adds a model registry, a background server and an API on top.

What's the best GPU for Ollama?

The question is the same as for any engine: which card has room for the models you want, and how fast its memory is. The VRAM calculator shows what fits a given card, and the best GPU ranking orders cards by measured speed.

Does Ollama support AMD or Apple Silicon GPUs?

Yes. It uses ROCm on AMD cards, Metal on Apple Silicon, and CUDA on NVIDIA, with the CPU as a fallback.