Skip to page content
SAVRN
Search Plan a project

Open-weight model · Text generation

Llama-3.1-8B-Instruct-CQ-4bit

by ThousandML thousandml/Llama-3.1-8B-Instruct-CQ-4bit

Llama-3.1-8B-Instruct-CQ-4bit is an open-weight model for text generation from ThousandML, released under Meta Llama 3.1 Community License. It has 1.1B parameters and a 131,072-token context. At 16-bit it needs about 2.5 GB of GPU memory, which fits on 1x MI300X from $1.85 an hour, at the lowest prices in the SAVRN Index. It draws 78 downloads a month.

Llama 3.1 8B Instruct quantized to 4-bit with Coded Quantization (CQ). CQ is a calibration-free 4-bit quantization method designed to preserve the behavior of the original model without requiring a calibration dataset.

Parameters1.1B
Context131,072
Weights5.6 GB
Licensellama3.1
AccessOpen weights
Monthly Downloads78

Runs On

What it takes to serve Llama-3.1-8B-Instruct-CQ-4bit (1.1B parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 2.1 GB 2.5 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 1.1 GB 1.3 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 0.5 GB 0.6 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Oct 16, 2026.

Llama-3.1-8B-Instruct-CQ-4bit on every accelerator the SAVRN Index prices, at every precision

Model Card

Llama 3.1 8B Instruct quantized to 4-bit with Coded Quantization (CQ). CQ is a calibration-free 4-bit quantization method designed to preserve the behavior of the original model without requiring a calibration dataset. Because CQ does not optimize the quantization around a fixed calibration corpus, it is designed to generalize beyond calibration-specific data and workloads. This repository contains the 8B-parameter Llama 3.1 Instruct model quantized with Coded Quantization (CQ) 4-bit. Calibration-free. CQ does not require a representative calibration dataset before quantization. This avoids tying the quantization procedure to a particular calibration corpus and is intended to provide better…

Excerpt from the card by ThousandML, licensed llama3.1.

Configuration

Architecture
LlamaForCausalLM
Context length (tokens)
131,072
Layers
32
Hidden size
4,096
Feed-forward size
14,336
Attention heads
32
Key/value heads
8
Head dimension
128
Vocabulary size
128,256
Model type
llama
Quantization
cq

Identity and Version

Repository
thousandml/Llama-3.1-8B-Instruct-CQ-4bit
Publisher
ThousandML
Task
Text generation
Modality
Text
Library
Not stated by the source
Parameters
1.1B parameters
Languages
cq
Revision
9cd5daebe8b69b1ad354e5fc7d55b526fbf23055
First published
2026-08-10
Last updated
2026-10-16

Files and Weights

17 files, 5.7 GB in total. The weights are 5 files totalling 5.6 GB in safetensors.

Weights5 files · 5.6 GB
Configuration6 files · 150.8 KB
Tokenizer2 files · 9.1 MB
Documentation3 files · 17.3 KB
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
model-00001-of-00004.safetensorsWeights1.1 GB 573a52519fe6
model-00002-of-00004.safetensorsWeights190.7 KB eae75bf7bb73
model-00003-of-00004.safetensorsWeights190.3 KB 5abc09f4d543
model-00004-of-00004.safetensorsWeights1.1 GB 45ad2ba6df67
quantization_data/cq-00001-of-00001.safetensorsWeights3.5 GB f472ce5da415
config.jsonConfiguration1.4 KB —
generation_config.jsonConfiguration184 B —
model.safetensors.index.jsonConfiguration23.9 KB —
quantization_data/_layers.jsonConfiguration4.5 KB —
quantization_data/cq_shards.jsonConfiguration120.4 KB —
special_tokens_map.jsonConfiguration296 B —
LICENSEDocumentation7.6 KB —
README.mdDocumentation5.0 KB —
USE_POLICY.mdDocumentation4.7 KB —
.gitattributesRepository1.5 KB —
tokenizer.jsonTokenizer9.1 MB —
tokenizer_config.jsonTokenizer55.4 KB —

License and Download

License
llama3.1
Access
Open weights, no gate
Download size
5.6 GB
Download from ThousandML

Released by ThousandML through its official repository on Hugging Face.

Built From

Memory Requirements

PrecisionWeights in memory
As published5.6 GB
16-bit2.1 GB
8-bit1.1 GB
4-bit0.5 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About Llama-3.1-8B-Instruct-CQ-4bit

How much GPU memory does Llama-3.1-8B-Instruct-CQ-4bit need?

About 2.5 GB at 16-bit and 0.6 GB at 4-bit: the weights (1.1B parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run Llama-3.1-8B-Instruct-CQ-4bit on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use Llama-3.1-8B-Instruct-CQ-4bit commercially?

Yes, with conditions. Llama-3.1-8B-Instruct-CQ-4bit is released under Meta Llama 3.1 Community License. The Llama 3.1 Community License permits commercial use, except that a licensee whose products had more than 700 million monthly active users on the release date must request a license from Meta. It requires attribution as the license specifies and compliance with Meta's Acceptable Use Policy.

What is Llama-3.1-8B-Instruct-CQ-4bit's context length?

131,072 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Text generation

quartz-micro-preview

Vertex AGI

The instruction-tuned release of Quartz Micro Preview Base — the same ~1B-parameter mixture-of-experts model, trained completely from scratch on a single consumer GPU, now given a full-parameter supervised fine-tune so it follows instructions instead of just completing text. This is a preview, not a finished product. It is small on every axis by design, and its evaluation below is reported honestly, including where it still falls short — that's this project's standing practice, not a disclaimer added after the fact. - Full-parameter SFT, not LoRA — the base model has zero instruction-following behavior, so a light adapter touch isn't the right tool; every parameter was updated.…

Open weights apache-2.0 1.1B parameters 2,048 tokens transformers

Model · Text generation

OpenELM-1_1B-Instruct

Apple

Sachin Mehta, Mohammad Hossein Sekhavat, Qingqing Cao, Maxwell Horton, Yanzi Jin, Chenfan Sun, Iman Mirzadeh, Mahyar Najibi, Dmitry Belenko, Peter Zatloukal, Mohammad Rastegari We introduce OpenELM, a family of Open Efficient Language Models. OpenELM uses a layer-wise scaling strategy to efficiently allocate parameters within each layer of the transformer model, leading to enhanced accuracy. We pretrained OpenELM models using the CoreNet library. We release both pretrained and instruction tuned models with 270M, 450M, 1.1B and 3B parameters. We release the complete framework, encompassing data preparation, training, fine-tuning, and evaluation procedures, alongside multiple pre-trained…

Open weights apple-amlr 1.1B parameters transformers

Model · Text generation

Mini-K3-1H-attnres-block1-v1_D

Nkkbr

This repository contains a text-only Mini-K3-1H checkpoint from the controlled Attention Residuals follow-up study. The comparison includes standard PreNorm, three block granularities, and full sublayer-level AttnRes. The original Block-4 baseline is the separately published nkkbr/Mini-K3-1H-v2; this model's only architectural change is the depth-wise residual mechanism. - Hidden width / attention heads / KDA head width: 1024 / 12 / 128 - Residual mode / decoder layers per block: block / 1 - Vocabulary / BOS / generation EOS / PAD: 163840 / 163584 / 163586 / 163839 control state retained in FP32 where defined by the implementation Every numbered checkpoint is an immutable Git tag. main…

Open weights 1B parameters 131,072 tokens pytorch

Model · Text generation

Mini-K3-1H-kda-kernel-1-v2

Nkkbr

This repository contains a text-only Mini-K3-1H v2 pretraining checkpoint from a controlled 20-architecture comparison. The family retains Kimi-K3's KDA and Gated MLA operators, block Attention Residuals, Stable LatentMoE, SiTU activations, output gates, and Quantile Balancing at approximately one billion logical parameters. The exact architecture for this repository is listed below; some ablations deliberately replace the baseline KDA/MLA ratio, decay granularity, convolution length, or positional encoding. - Hidden width / attention heads / KDA head width: 1024 / 12 / 128 - Vocabulary / BOS / generation EOS / PAD: 163840 / 163584 / 163586 / 163839 control state retained in FP32 where…

Open weights 1B parameters 131,072 tokens pytorch

Model · Text generation

Mini-K3-1H-decay-g64-v2_B

Nkkbr

This repository contains a text-only Mini-K3-1H v2 pretraining checkpoint from a controlled 20-architecture comparison. The family retains Kimi-K3's KDA and Gated MLA operators, block Attention Residuals, Stable LatentMoE, SiTU activations, output gates, and Quantile Balancing at approximately one billion logical parameters. The exact architecture for this repository is listed below; some ablations deliberately replace the baseline KDA/MLA ratio, decay granularity, convolution length, or positional encoding. This decay-group run was recovered after the original launch stopped before its initialization checkpoint because the training and portable checkpoint layouts of dtbias differed. It…

Open weights 1B parameters 131,072 tokens pytorch