whatmodel.sh / Llama 3.1 8B (base)

Llama 3.1 8B (base) is an open-weights language model from Meta, released July 2024. Its published size is 8.03B parameters. Licence: llama3.1.

Catalogue identity notes

Maker repo meta-llama/Llama-3.1-8B @d04e592: licence tag llama3.1. 8,030,261,248 parameters from the Hugging Face safetensors metadata (dense, so active = total). Released 2024-07: month the maker's Hugging Face repo was created (createdAt 2024-07-14). Pretrained base checkpoint (not an instruct/chat version). Gated repository (licence acceptance required on Hugging Face).

44.6±2.9#492 of 743 LLMsfrom 4 benchmark results across 3 sources

Score within the LMArena (text) comparison set only.

$ how it compares

The LLMs ranked either side of Llama 3.1 8B (base), out of 897 with a score, then more from Meta.

#modelscorewhereRAMreleased
591Hermes 2 Theta Llama 3 8B Nous Research45±2local~6.7GB2024-05
592OpenThinker 7B Open Thoughts45±2local~6GB2025-01
593Llama 3.1 8B (base) Meta45±3local~6.2GB2024-07
594Gemma 3n E2B IT Google45±1local~4.1GB2025-06
595Code Llama 70B (base) Meta45±1local~28GB2024-01
more from Meta
10Muse Wonder Full Meta81±1Muse Code only2026-10
20Muse Wonder Meta78±1api $8.00/M2026-10
31Muse Ember Meta76±1api $0.20/M2026-11

see all LLMs · find the ones that fit your machine

$ what it's good at

other tests4 not in a task · 96% of its score
testresultvs the others in its rundifficultycountswhy
Open Persian LLM Leaderboard v2 average (21 tasks)48.5% ✎▂▄▂▃█▄▃▆▃▅▂▂ beats 25/81medium · avg 57%▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 43%blunt · at its level
Open PT-LLM Leaderboard average (9 Portuguese tasks)65.4% ✎▃▁▁▁▁▁▁▁▂█▅▁ beats 116/276medium · avg 72%▇▇▇▇▇▇▇▇▇ 22%at its level · noisy
EuroEval HellaSwag (English), test split, 5-shot generative MC, accuracy46.0% ✎▃·▁▁▂▁▃▅█▇▄▁ beats 23/100medium · avg 67%▇▇▇▇▇▇▇ 17%sharp · at its level · noisy
EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy83.5% ✎▁▁▁▁▁▁▁▂▄█▄▃ beats 89/146easy · avg 82%▇▇▇▇▇ 14%at its level · noisy

$ where to run it

Memory is what a version takes in GPU memory (or a Mac's unified memory) with an 8k-token conversation. With less, it runs partly from system RAM, more slowly. Enter your machine to see what runs at full speed.

llama.cpp · recommended

version

  1. Install llama.cpp · Homebrew and winget installs name the commands llama-cli and llama-server instead.
    macOS / Linux
    curl -LsSf https://llama.app/install.sh | sh
    Windows
    irm https://llama.app/install.ps1 | iex

    other ways to install ↗

  2. Run Llama 3.1 8B (base) · needs 6.7 GB memory, 4.92 GB download · from huggingface.co/fedric95
    chat in the terminal
    llama cli -hf fedric95/Meta-Llama-3.1-8B-GGUF:Q4_K_M
  3. Or start a local server and open the address it prints (http://localhost:9931)
    llama serve -hf fedric95/Meta-Llama-3.1-8B-GGUF:Q4_K_M

LM Studio

version

  1. Install LM Studio · Open the app once before using the lms command.

    download it (macOS / Windows / Linux) ↗

  2. Run Llama 3.1 8B (base) · needs 6.7 GB memory, 4.92 GB download · from huggingface.co/fedric95

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/fedric95/Meta-Llama-3.1-8B-GGUF@Q4_K_M -y
  4. Then run lms ls to see its name, and lms chat followed by that name

Ollama

version

  1. Install Ollama

    download it (macOS / Windows) ↗

    Linux
    curl -fsSL https://ollama.com/install.sh | sh
  2. Run Llama 3.1 8B (base) · needs 6.7 GB memory, 4.92 GB download · from huggingface.co/fedric95
    chat in the terminal
    ollama run hf.co/fedric95/Meta-Llama-3.1-8B-GGUF:Q4_K_M

MLX (Mac)

version

  1. Install MLX (Mac) · Apple silicon Macs only, text only.
    with uv
    uv tool install mlx-lm
    or
    pip install mlx-lm
  2. Run Llama 3.1 8B (base) · needs 6.2 GB memory, 4.52 GB download, Mac only · from huggingface.co/mlx-community
    chat in the terminal
    mlx_lm.chat --model mlx-community/Meta-Llama-3.1-8B-4bit
  3. Or start an OpenAI-compatible server at http://localhost:8080/v1
    mlx_lm.server --model mlx-community/Meta-Llama-3.1-8B-4bit

Other ways to run it

  1. Run it as published · needs 18.4 GB memory, 16.1 GB download · from huggingface.co/meta-llama
    uv run --with torch --with 'transformers<5' --with accelerate python -c "from transformers import pipeline; print(pipeline('text-generation', model='meta-llama/Llama-3.1-8B', torch_dtype='auto', device_map='auto')('Once upon a time', max_new_tokens=40)[0]['generated_text'])"

Model repository and documentation: huggingface.co/meta-llama ↗

$ how the score was worked out · Open Persian LLM Leaderboard… 43%, EuroEval leaderboards (result… 31%, Open Portuguese LLM Leaderboa… 22%

Each result implies a score on its own, after adjusting for how hard its test is and who ran it. The score is their weighted average, with a small pull toward the middle for thinly tested models. Each test's weight is its counts column above; here it's added up by who ran the tests. How it works

sourceresultsshare of the scorelicence
Open Persian LLM Leaderboard v2 (Part DP AI and AUT NLP Lab)1Apache-2.0
EuroEval leaderboards (results collection), English generative leaderboard2MIT
Open Portuguese LLM Leaderboard (archived)1Apache-2.0
prior · pull toward the middle
weighted average= 44.6

$ improve this page

Use a short GitHub form or edit the data through a pull request. Every number needs a source; here's which ones we can use.

data updated · sources and licences · json