Skip to content
localllm

TheDrummer

Artemis-31B-v1.2

Image input

Parameters
30.7B
Max context length
262,144
Architecture
gemma4
llama.cpp
b8637+

About Artemis-31B-v1.2

Artemis-31B-v1.2 is a GGUF model based on TheDrummer/Artemis-31B-v1.2 on Hugging Face. GGUF files are published by bartowski/TheDrummer_Artemis-31B-v1.2-GGUF. It has about 30.7B parameters, the gemma4 architecture, a maximum context length of 262,144 tokens (values written in the GGUF).

There are 25 quantizations, with file sizes from 9.16 GB (IQ2_XXS) to 61.4 GB (BF16) (actual sizes on Hugging Face).

Running Q4_K_M (19.5 GB) with an 8,192-token context needs an estimated 22.5 GB of memory, and an estimated 24.5 GB at 32,768 tokens. For 8,192 tokens, a GPU with 24 GB or more of VRAM (such as GeForce RTX 3090 Ti, GeForce RTX 4090), or a Mac with 24 GB or more of unified memory, is a rough guide (macOS caps how much memory the GPU can use, so leave some headroom). The smallest, IQ2_XXS (9.16 GB), needs an estimated 12.2 GB at 8,192 tokens.

File size and estimated memory per quantization

  • Up to 8 GB
  • Up to 16 GB
  • Up to 24 GB
  • Up to 48 GB
  • Up to 128 GB
  • More

File sizes are the actual values on Hugging Face. Memory is estimated for each context length (KV cache f16). The formula is in How memory is calculated.

All memory figures are Estimated (KV cache f16). It should run on a setup with at least this much VRAM (or Mac unified memory). Click a value to see the devices and models that fit that amount (Find by GPU / Mac).

Using image input: This model supports image input. To use images, an mmproj file is loaded as well.

About the "quality guide" (how far a quantization drifts from the original)

For each quantization type, how far the output drifts from the original model, grouped into six levels from values llama.cpp measured on Llama-3-8B.

The value is mean KLD (the difference between the original and quantized model in next-token probabilities); smaller means closer to the original. Quantizations made with an imatrix (importance data) come out slightly smaller. Levels use the value without an imatrix (or with one, for types that only have that).

These values were not measured on this model. Larger models and MoE models tend to drift less with the same type. Distributor-specific mixed types (such as UD-Q4_K_XL) cannot be matched by type name alone, so they show "-".

Quantization Quality guide KLD (no imatrix) KLD (imatrix) Size (Llama-3-8B)
Q8_0 Nearly identical 0.0014 - 7.96 GiB
Q6_K Very small 0.0055 - 6.14 GiB
Q5_K_M Very small 0.0108 - 5.33 GiB
Q5_K_S Small 0.0166 - 5.21 GiB
Q5_1 Small 0.0180 - 5.65 GiB
Q5_0 Small 0.0222 - 5.21 GiB
Q4_K_M Small 0.0313 0.0282 4.58 GiB
Q4_K_S Medium 0.0431 0.0320 4.37 GiB
IQ4_NL Small - 0.0357 4.35 GiB
IQ4_XS Small - 0.0363 4.14 GiB
Q4_1 Medium 0.0717 - 4.78 GiB
Q4_0 Medium 0.0719 - 4.34 GiB
Q3_K_L Medium 0.0872 0.0731 4.03 GiB
Q3_K_M Medium 0.1019 0.0844 3.74 GiB
IQ3_M Medium - 0.1025 3.53 GiB
IQ3_S Medium - 0.1113 3.42 GiB
IQ3_XS Large - 0.1387 3.28 GiB
IQ3_XXS Large - 0.1836 3.05 GiB
Q3_K_S Large 0.2282 0.1998 3.41 GiB
IQ2_M Large - 0.3260 2.74 GiB
Q2_K Very large 0.4451 0.3322 2.96 GiB
Q2_K_S Very large - 0.4034 2.96 GiB
IQ2_S Very large - 0.4392 2.56 GiB
IQ2_XS Very large - 0.5463 2.43 GiB
IQ2_XXS Very large - 0.8120 2.24 GiB
IQ1_M Very large - 1.3931 2.01 GiB
IQ1_S Very large - 2.2546 1.88 GiB

Source: llama.cpp (MIT), measured on Llama-3-8B against FP16, Wikitext-2, revision f364eb6f. Original table · Reading and choosing quantizations

GGUF source

bartowski/TheDrummer_Artemis-31B-v1.2-GGUF

Converted and published by a third party About this label

Last checked: Nov 11, 2026

Architecture
gemma4
llama.cpp b8637 and later
Parameters
30.7B
Max context length
262,144
File size and memory per quantization for Artemis-31B-v1.2 (bartowski/TheDrummer_Artemis-31B-v1.2-GGUF)
Quantization File size Measured Quality guide 4,096 8,192 16,384 32,768 65,536 131,072 262,144 max
IQ2_XXS 9.16 GB Very large 11.8 GB 12.2 GB 12.8 GB 14.2 GB 16.9 GB 22.2 GB 33.0 GB
IQ2_XS 9.61 GB Very large 12.3 GB 12.6 GB 13.3 GB 14.6 GB 17.3 GB 22.7 GB 33.4 GB
IQ2_S 10.2 GB Very large 12.9 GB 13.2 GB 13.9 GB 15.2 GB 17.9 GB 23.3 GB 34.0 GB
IQ2_M 11.3 GB Large 14.0 GB 14.3 GB 15.0 GB 16.4 GB 19.0 GB 24.4 GB 35.2 GB
Q2_K 11.9 GB Very large 14.6 GB 14.9 GB 15.6 GB 16.9 GB 19.6 GB 25.0 GB 35.7 GB
IQ3_XXS 13.3 GB Large 16.0 GB 16.3 GB 17.0 GB 18.3 GB 21.0 GB 26.4 GB 37.1 GB
Q3_K_S 14.0 GB Large 16.6 GB 17.0 GB 17.6 GB 19.0 GB 21.7 GB 27.0 GB 37.8 GB
IQ3_XS 14.0 GB Large 16.7 GB 17.0 GB 17.7 GB 19.1 GB 21.7 GB 27.1 GB 37.8 GB
Q3_K_M 14.7 GB Medium 17.4 GB 17.7 GB 18.4 GB 19.7 GB 22.4 GB 27.8 GB 38.5 GB
Q3_K_L 15.6 GB Medium 18.3 GB 18.6 GB 19.3 GB 20.6 GB 23.3 GB 28.7 GB 39.4 GB
IQ3_M 16.4 GB Medium 19.1 GB 19.4 GB 20.1 GB 21.4 GB 24.1 GB 29.5 GB 40.2 GB
IQ4_XS 17.2 GB Small 19.9 GB 20.2 GB 20.9 GB 22.2 GB 24.9 GB 30.3 GB 41.0 GB
Q4_0 18.1 GB Medium 20.7 GB 21.1 GB 21.8 GB 23.1 GB 25.8 GB 31.1 GB 41.9 GB
Q4_K_S 18.3 GB Medium 21.0 GB 21.3 GB 22.0 GB 23.3 GB 26.0 GB 31.4 GB 42.1 GB
IQ4_NL 19.4 GB Small 22.1 GB 22.4 GB 23.1 GB 24.4 GB 27.1 GB 32.5 GB 43.2 GB
Q4_K_M 19.5 GB Small 22.2 GB 22.5 GB 23.2 GB 24.5 GB 27.2 GB 32.6 GB 43.3 GB
Q4_1 19.8 GB Medium 22.4 GB 22.8 GB 23.4 GB 24.8 GB 27.5 GB 32.8 GB 43.6 GB
Q4_K_L 20.9 GB - 23.6 GB 23.9 GB 24.6 GB 25.9 GB 28.6 GB 34.0 GB 44.7 GB
Q5_K_S 22.0 GB Small 24.7 GB 25.0 GB 25.7 GB 27.0 GB 29.7 GB 35.1 GB 45.8 GB
Q5_K_M 23.5 GB Very small 26.2 GB 26.5 GB 27.2 GB 28.5 GB 31.2 GB 36.6 GB 47.3 GB
Q6_K_S 25.8 GB - 28.4 GB 28.8 GB 29.4 GB 30.8 GB 33.5 GB 38.8 GB 49.6 GB
Q6_K 27.0 GB Very small 29.6 GB 30.0 GB 30.6 GB 32.0 GB 34.7 GB 40.0 GB 50.8 GB
Q6_K_L 28.3 GB - 31.0 GB 31.3 GB 32.0 GB 33.3 GB 36.0 GB 41.4 GB 52.1 GB
Q8_0 32.6 GB Nearly identical 35.3 GB 35.6 GB 36.3 GB 37.7 GB 40.3 GB 45.7 GB 56.4 GB
BF16 (2 parts) 61.4 GB Original precision 64.1 GB 64.4 GB 65.1 GB 66.4 GB 69.1 GB 74.5 GB 85.2 GB

The mmproj file for image input (F16) is 1.20 GB Measured . It is not included in the memory above, so add it if you use images.

Ollama  ollama run hf.co/bartowski/TheDrummer_Artemis-31B-v1.2-GGUF:Q4_K_M
llama.cpp  llama-server -hf bartowski/TheDrummer_Artemis-31B-v1.2-GGUF:Q4_K_M

Generation speed on common GPUs and Macs (estimated)

A rough guide to how fast Q4_K_M (19.5 GB) generates text. Each token reads the model weights once, so the upper limit is memory bandwidth ÷ file size. The guide is 60–80% of that, where most published measurements fall.

Device Memory bandwidth Guide (tokens/s) Estimated Upper limit
GeForce RTX 3090 24 GB 936 GB/s 29–38 48
GeForce RTX 4090 24 GB 1,008 GB/s 31–41 52
GeForce RTX 5090 32 GB 1,792 GB/s 55–73 92
Apple M4 32 GB 120 GB/s 3.7–4.9 6.1
Apple M4 Pro 48 GB 273 GB/s 8.4–11 14
Apple M5 Ultra 96 GB 1,200 GB/s 37–49 61

Estimates only. Prompt processing speed (limited by compute) is not included. Longer contexts and offloading part of the model to the CPU make it slower. Macs are shown only when installed memory is at least 4/3 of what is needed. Devices without published bandwidth (some GeForce cards, etc.) are not shown.

How to run

Mainline llama.cpp can load this model's format (gemma4) from b8637 (Apr 2, 2026) onward. Ollama and LM Studio bundle llama.cpp internally, so an older app fails to load it with errors such as "unknown model architecture". If that happens, update the app.

Example commands using Q4_K_M. To use another quantization, replace the name with one from the table above. How to run local LLMs

Ollama

Run it by pointing directly at the GGUF on Hugging Face.

ollama run hf.co/bartowski/TheDrummer_Artemis-31B-v1.2-GGUF:Q4_K_M

llama.cpp

Pass the repository and quantization name to llama-server (or llama-cli) with -hf.

llama-server -hf bartowski/TheDrummer_Artemis-31B-v1.2-GGUF:Q4_K_M

LM Studio

Paste bartowski/TheDrummer_Artemis-31B-v1.2-GGUF into the search box, download it, and choose the quantization from the file list.

Frequently asked questions

How much memory do I need to run Artemis-31B-v1.2 (Q4_K_M)?
The file size is 19.5 GB (measured). With a 8,192-token context, the estimated memory including the KV cache is 22.5 GB. The formula is published at https://localllm.az-arte.com/en/guide/memory-calculation.
Does Artemis-31B-v1.2 run in 8 GB, 12 GB, 16 GB or 24 GB of VRAM?
8 GB: no quantization fits; 12 GB: up to IQ2_XS (est. 12.6 GB); 16 GB: up to IQ3_XS (est. 17.0 GB); 24 GB: up to Q5_K_S (est. 25.0 GB) (estimated at 8,192 tokens with an f16 KV cache, files from the most-downloaded source).
What is the command to run Artemis-31B-v1.2 with Ollama?
Run "ollama run hf.co/bartowski/TheDrummer_Artemis-31B-v1.2-GGUF:Q4_K_M" to use the GGUF on Hugging Face directly. To use another quantization, replace the name at the end.