AI GLOSSARY · LOCAL AND OPEN MODELS
GPTQ
Definition
GPTQ is a post-training quantization method for GPT-style language models. It stores weights in fewer bits, using approximate second-order information, without retraining the model, so the model needs less memory.
Also called: GPTQ quantization, GPTQ model, GPTQ checkpoint, GPTQ quantized model.
In plain language
GPTQ is a way to shrink a language model after it has been trained so it fits on smaller hardware. Each stored number is rounded to use fewer bits, much like saving a photo at lower quality to get a smaller file. GPTQ does the rounding carefully, using a small sample of text to correct for the error it introduces. You will see the name on downloadable model files. The limit is that rounding loses some information, so quality can drop, especially at very low bit widths, and a GPTQ file is built for particular software and hardware support.
Technical definition
GPTQ, from the paper GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers, is described in its abstract as a one-shot weight quantization method based on approximate second-order information, with negligible accuracy degradation relative to the uncompressed baseline reported at 3 or 4 bits per weight. The Hugging Face documentation says GPTQ quantizes a model one layer at a time and uses a small calibration dataset to update the remaining weights so they compensate for each layer's rounding error. Transformers runs it through Optimum and the GPT-QModel library.
Worked examples in this catalogue
Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.
Skill by Skill Almanac · Illustrative, not executed
local-model-sizing 57/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- The skill works out whether an open-weight language model will run on a given GPU, Mac or PC, with a script that computes weight, KV-cache and overhead memory per quantization.
- Why it exercises the concept
- It is the catalogue's nearest tool for the question GPTQ answers, which is whether a model fits in memory at a given precision. It does not run GPTQ and has not been checked against GPTQ files.
Guide · Illustrative, not executed
Self-Hosting an AI Agent: What You Take On
- What you see
- A guide to what you own when an AI agent runs on your machine: model memory, network exposure, file access and vetting skills.
- Why it exercises the concept
- A quantized checkpoint such as a GPTQ file is one way people fit a model onto local hardware. The guide covers the surrounding decisions. It does not discuss GPTQ by name.
Skill by Skill Almanac · Illustrative, not executed
llm-cost-estimator 56/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- The skill turns a usage profile and your own price table into a monthly LLM cost range with cache, batch and subscription effects.
- Why it exercises the concept
- A contrast case: running a quantized model yourself changes the cost question from per-token prices to hardware. This skill works from your own price table and does not model GPTQ.
How it shows up when you use agents
You meet GPTQ when you run a model on your own machine to power a coding agent or another tool. Download pages for open models often list several variants of the same model, and one of them may be labelled GPTQ. That label tells you the weights were compressed with this method before you got them. It does not tell you how good the result is for your task.
What breaks when this is misunderstood is the assumption that a smaller file behaves like the original. The paper's abstract reports negligible accuracy degradation at 3 or 4 bits on the models it studied, but that is a result for those models and tests. The Hugging Face page lists limitations too, including that GPTQ supports only text models in Transformers.
A practical next step is to check that your software supports the format, size the model against your memory with a tool such as the sizing skill below, and run a few of your own prompts against it before relying on it. See Quantization for the general idea and Self-hosted LLM for the setup around it.
Common confusions
- GPTQ versus quantization. Quantization is the general idea of storing numbers in fewer bits. GPTQ is one specific method for doing it after training.
- Post-training versus training. GPTQ works on a model that is already trained and does not retrain it. It does use a small calibration dataset to adjust the remaining weights.
- GPTQ versus a file format. GPTQ names a method. A model file is a separate thing, and not all runtimes read GPTQ checkpoints.
- Myth. Fewer bits means the same model at lower quality in a predictable way. The effect depends on the model, the bit width and the settings, so test your own case.
Related terms
Terms that mention GPTQ
2 terms mention this one
More in Local and open models
Sources
- GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers, arXiv (accessed 2026-11-24)
- GPTQ, Transformers documentation, Hugging Face (accessed 2026-11-24)
Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-24. Wikipedia is never the only source.
Review record
Last verified
Drafted by claude-sonnet-5-5; sources and example targets checked by claude-haiku-5-5 source check; claude-sonnet-5-5 editor pass on 2026-11-24. Last verified .
This entry is still in review, so it is not listed in search engines yet.
Change log (1)
- : First version.