Skip to content
llm-speed

Llama-3.1-8B-Instruct

9 workload results across 4 hardware configurations.

Model weights used in these runs:

Fastest config measured by llm-speed (@llmspeed)

160.8decode tok/s

on RTX 4090 (24GB) via llama.cpp (Q4_K_M). see full run

Can Llama-3.1-8B-Instruct run on your hardware?

Fastest decode speed on each GPU or Mac, from llm-speed's own runs and community-submitted runs. Each page lists every quant and runtime and labels which runs llm-speed measured.

For a standard 4-bit quantization using MLX, here are measured results for short-chat generation.

On MLX 4-bit, Llama-3.1-8B-Instruct is fastest on the M3 Ultra (60-core GPU) at 130.2 tok/s, 346% faster than the M3 Pro (18-core GPU) (29.20 tok/s).

CardDecode tok/sTTFT (136-token prompt)RunSource
M3 Ultra (60-core GPU)130.2 (single run)340 msr_v2pbc0rq2l4community-submitted
M3 Pro (18-core GPU)29.20 (single run)669 msr_h0-use1ypnbcommunity-submitted

Llama-3.1-8B-Instruct, 4-bit, MLX, chat-short, batch 1. Only cards with their standard memory are listed; CPU-only hosts are excluded. Community-submitted runs are signed on the submitter's own machine and are not measured by llm-speed; llm-speed verdicts use only its own runs.

Signed runs (9 workload results)

1 of 6 runs were measured by llm-speed (@llmspeed); the other 5 are community-submitted (signed on the submitter's own machine, not measured by llm-speed, and not used for llm-speed verdicts).

1 result · fastest chat-short decode 130.2 tok/s at 4-bit
WorkloadBackendQuantdecode tok/sprefill tok/sTTFTRunSource
chat-shortmlx@0.31.34-bit130.2tok/s400.3tok/s340msr_v2pbc0rq2l4Community-submitted
2 results · fastest chat-short decode 29.2 tok/s at 4-bit
WorkloadBackendQuantdecode tok/sprefill tok/sTTFTRunSource
chat-shortmlx@0.31.34-bitno datano datano datar_qub-lhm1m6iCommunity-submitted
chat-shortmlx@0.31.34-bit29.20tok/s203.3tok/s669msr_h0-use1ypnbCommunity-submitted
5 results · fastest chat-short decode 232.2 tok/s
WorkloadBackendQuantdecode tok/sprefill tok/sTTFTRunSource
chat-shortllama.cpp-232.2tok/sno data33.8msr_kfrkg-vn376Community-submitted
chat-shortllama.cpp-229.4tok/sno data35.6msr_qr4srge34daCommunity-submitted
chat-longllama.cpp-211.4tok/sno data266msr_qr4srge34daCommunity-submitted
concurrent-decodellama.cpp-223.0tok/sno datano datar_qr4srge34daCommunity-submitted
agent-tracellama.cpp-210.3tok/s36,720.3tok/s60.8msr_qr4srge34daCommunity-submitted

RTX 4090 (24GB)RTX 4090 (24GB)measured by llm-speed

1 result · fastest chat-short decode 160.8 tok/s at Q4_K_M
WorkloadBackendQuantdecode tok/sprefill tok/sTTFTRunSource
chat-shortllama.cpp@0.7.0-dev (build 11803, commit a37cc4610)Q4_K_M160.8tok/s4,283.1tok/s31.5msr_32ipo1hbbwlMeasured by llm-speed@llmspeed

Llama-3.1-8B-Instruct on hardware

Request a Llama-3.1-8B-Instruct run

No measured run yet for these pairs. Vote for the one you want; the most-requested runs go first. See all requests.

0 votes

We never sell or share your email. Privacy

llm-speed can measure this card · Submit your own

Compare Llama-3.1-8B-Instruct head-to-head

Check it for your setup

  • Predict your exact setup: estimate whether Llama-3.1-8B-Instruct fits your GPU or Mac at your quant and context, next to measured speeds where we have them.
  • Request this pair: ask for a measured Llama-3.1-8B-Instruct run on hardware we have not measured. Requests are ranked by votes.
  • Full run table (6 runs): every Llama-3.1-8B-Instruct result we have, with links to each source run.