We took Gemma 4 26B, an open language model from Google that translates well between many languages, and compressed it so it runs on a single 24 GB graphics card. In our tests it translates practically as well as the full-size original: 89.13 points on a standard translation test against 89.19 for the original. A popular compressed alternative (AWQ 4-bit) scores 88.78, and its losses are concentrated in smaller European languages such as Latvian, Lithuanian and Estonian. The model is free to download under the Apache-2.0 license.
In short
What we did. A language model is, at its core, billions of numbers learned during training, called weights. The original model stores each of them in BF16, a 16-bit format; that full-size version is our reference point throughout this post. Quantization stores the weights with fewer bits, much like saving a photo in a lighter file format: the file shrinks, and the question is how much quality goes with it. We stored most of the model in 4 bits (INT4) and the parts that suffer most from compression in 8 bits (INT8). The result is a 20.7 GB file, about 6 bits per weight on average.
Why it matters. The compressed model fits on a 24 GB consumer graphics card such as the RTX 3090, where its weights take 17.3 GiB of the card's memory. It runs in vLLM, a widely used server program for language models, which supports its file format natively.
How we checked quality. We compared three versions: the original (BF16), ours (INT4/INT8), and a popular 4-bit build made with AWQ, a common compression method. On each test, higher is better.
- Translation, 38 languages to and from English (76 directions): 89.13 for our build, 89.19 for the original, 88.78 for AWQ. The score is COMET, an automatic translation-quality measure reported on a scale of roughly 0 to 100.
- From English into eight smaller European languages (Latvian, Lithuanian, Estonian, Hungarian, Finnish, Slovenian, Croatian, Slovak): 87.82 for ours, 88.19 for the original, 85.86 for AWQ. Ours loses 0.37 points, AWQ loses 2.33.
- General knowledge and reasoning (MMLU-Pro, 12,032 exam-style questions): 81.1 for ours, 81.3 for the original, 78.3 for AWQ. Only the AWQ drop is statistically significant, meaning it is unlikely to be chance.
- Customer-support chat, graded blind by another AI model: 63 bad translations out of 1,900 for ours, 65 for the original, 88 for AWQ and 61 for a 5-bit build for llama.cpp, a program popular for running models on personal computers.
What this means in practice. A COMET number on its own is hard to picture. The support-chat test turns it into something countable: our build and the original produce about the same number of bad translations, while AWQ, the build that loses 2.33 COMET points in smaller languages, produces 25 more than ours. In Hungarian, AWQ got 6 of 50 messages badly wrong where the original and our build each got 1. Our build is not lossless everywhere: in 7 of 38 languages it is statistically significantly worse than the original, by 1.0 point at most (Estonian). It is also slower than AWQ when many requests arrive at once.
The rest of this post is for technical readers: how the model is built, what we measured and how, how to run it, and where it falls short.
What we built
Gemma 4 26B-A4B is a mixture-of-experts (MoE) model: instead of one large network, each layer holds many smaller sub-networks ("experts"), and for each token (a word or part of a word) a router picks a few of them. Of the 26B parameters in the name, about 4B are active for any one token. Our build mixes two integer precisions and leaves a few parts alone:
| part | precision |
|---|---|
| MoE experts, layers 3–26 | INT4, symmetric, group size 32 (GPTQ) |
| MoE experts, layers 0–2 and 27–29 | INT8, symmetric, group size 704 (GPTQ) |
| attention (q/k/v/o) and dense MLP, all layers | INT8, symmetric, per channel (GPTQ) |
| router, embeddings / LM head, vision and audio encoders | unquantized (BF16) |
How to read the table: the middle layers' experts, which hold most of the weights, are stored in 4 bits; the first and last three layers' experts and the parts shared by every token are stored in 8 bits; the small parts that steer the model or handle images and audio are not compressed at all. GPTQ is the rounding method: it compresses the weights layer by layer and corrects the rounding error using sample text (calibration data). Group size is how many weights share one scaling factor; smaller groups are more precise and cost a little more space.
Only weights are quantized. Activations, the intermediate values the model computes while it runs, stay 16-bit, so the formats are W4A16 and W8A16. The checkpoint (the saved model files) uses the compressed-tensors format, which vLLM serves natively.
The choice of the first three and last three expert layers came from an ablation, a series of runs that change one thing at a time. On a 3,800-line support-chat test scored by an LLM judge, all experts at INT4 (group size 32) gave 123 bad lines. Moving the experts of those six layers to INT8 brought it to 105, and better calibration data to 99; the AWQ build we compare against had 164. The 8-bit edge layers did most of the work. We have no prior reason for picking exactly these layers beyond that measurement.
Results: int4/int8 vs AWQ INT4 vs BF16
Translation on FLORES+
FLORES+ is a standard benchmark: a set of sentences that professional translators rendered into many languages, so machine translations can be compared with the same human reference. Its devtest split has 1,012 sentences. We ran 38 languages in both directions to and from English, 76,912 translations per model. All three versions used the same vLLM setup at temperature 0, which removes randomness: the model always picks its most likely next word. The instruction went in as the system message and the source sentence alone as the user message:
Translate the following text from {source} to {target}. Reply with the translation only.
Scores are COMET-22 ×100 and chrF++ (mean sentence score). COMET is a neural model trained on human quality ratings; it compares the machine translation with the source and the human reference. chrF++ is older and simpler: it counts how many character and word sequences the translation shares with the reference. For both, higher is better. The Δ columns are computed from the table, as each quantized build minus BF16: a value near zero means "same as the original".
| BF16 | int4/int8 (ours) | AWQ INT4 | Δ ours | Δ AWQ | |
|---|---|---|---|---|---|
| COMET, all 76 directions | 89.19 | 89.13 | 88.78 | −0.06 | −0.41 |
| COMET, English → 38 languages | 89.57 | 89.48 | 88.87 | −0.09 | −0.70 |
| COMET, 38 languages → English | 88.80 | 88.79 | 88.69 | −0.01 | −0.11 |
| COMET, English → lv/lt/et/hu/fi/sl/hr/sk | 88.19 | 87.82 | 85.86 | −0.37 | −2.33 |
| chrF++, all | 60.3 | 60.2 | 59.6 | −0.1 | −0.7 |
The gap is in translating out of English. Into English, our build is within 0.1 COMET of BF16 in every language, and the AWQ build loses up to 0.4 (Latvian, Estonian).
The eight smaller European languages
English → X, COMET-22 ×100, from the card's per-language table. Higher is better; Δ columns are computed from the table against BF16.
| language | BF16 | int4/int8 (ours) | AWQ INT4 | Δ ours | Δ AWQ |
|---|---|---|---|---|---|
| Latvian | 84.21 | 83.82 | 80.42 | −0.39 | −3.79 |
| Lithuanian | 86.21 | 85.71 | 82.26 | −0.50 | −3.95 |
| Estonian | 86.39 | 85.34 | 82.56 | −1.05 | −3.83 |
| Hungarian | 87.54 | 87.56 | 85.07 | +0.02 | −2.47 |
| Finnish | 93.26 | 93.17 | 92.88 | −0.09 | −0.38 |
| Slovenian | 87.04 | 86.42 | 85.00 | −0.62 | −2.04 |
| Croatian | 91.11 | 91.06 | 90.44 | −0.05 | −0.67 |
| Slovak | 89.72 | 89.48 | 88.25 | −0.24 | −1.47 |
The Baltic languages and Hungarian are where AWQ INT4 loses the most, between 2.47 and 3.95 points. Our build loses 1.05 at most (Estonian) and matches BF16 in Hungarian.
To tell real differences from noise, we ran a paired bootstrap per target language at 95%: we redrew the set of test sentences at random (with replacement) many times and checked whether the gap between two versions holds across the redraws. A difference that holds is called statistically significant. The AWQ build is significantly below BF16 in 26 of 38 languages. Our build is significantly below in 7: Estonian (−1.0), Slovenian (−0.6), Lithuanian (−0.5), and Greek, Bulgarian, Romanian and Chinese by 0.2 or less. It is slightly above BF16 in Japanese.
The full per-language table for all 38 languages is on the model card. Per-sentence outputs and scores are in darkaIO/flores-plus-translation-eval (gated, FLORES+ terms).
Support-chat test
We also tested on 1,900 synthetic customer-support chat messages: 50 per language, both directions to and from English, greedy decoding (the same no-randomness setting as temperature 0). They come from a 3,800-message set whose other half was used for calibration; only the unseen half is reported.
Every output was first screened by liquid/d1-ultra, a decision model. Every line where any version looked doubtful or the versions disagreed (1337 of the 1,900) was then scored 1–5 by Gemini 3.5 Flash, with all versions blind and shuffled in one prompt, so the judge did not know which version wrote which translation. "Bad" means a score of 2 or lower: wrong or partly wrong meaning, wrong language, or added text.
The table counts bad translations, so here lower is better. The last three columns break the total down by language group (lv/lt/et = Latvian, Lithuanian, Estonian; hu = Hungarian; fi/sl/hr/sk = Finnish, Slovenian, Croatian, Slovak), with the number of messages in brackets.
| version | bad (1,900) | lv/lt/et (150) | hu (50) | fi/sl/hr/sk (200) |
|---|---|---|---|---|
| BF16 (unquantized, same vLLM setup) | 65 | 35 | 1 | 14 |
| int4/int8 (ours) | 63 | 33 | 1 | 14 |
| AWQ INT4 (cyankiwi QAT) | 88 | 41 | 6 | 18 |
| llama.cpp UD-Q5_K_XL (5-bit GGUF) | 61 | 34 | 1 | 11 |
Our build and BF16 land within two bad lines of each other. AWQ INT4 has 25 more bad lines than ours, and in Hungarian it has 6 where both other vLLM versions have 1. The 5-bit GGUF is about level with ours.
General knowledge and reasoning
Translation is what we built this for, but a quantized model should not get worse at everything else. We ran five standard benchmarks, i.e. fixed test sets with known answers:
- MMLU-Pro: multiple-choice questions on knowledge and reasoning across many subjects;
- IFEval: whether the model follows explicit instructions, such as length or format;
- GSM8K: school-level maths word problems;
- Belebele: reading comprehension, here in the eight smaller European languages;
- Global-MMLU: knowledge questions in several languages.
We used lm-evaluation-harness 0.4.13 against a vLLM server, through the chat endpoint with the chat template applied, lm-eval's default few-shot settings, and thinking off (the Gemma 4 template default). GSM8K got 2,048 output tokens, because the default 512 cuts Gemma 4 off. Belebele and Global-MMLU were asked as chat questions with a one-letter answer; about 0.7% of answers could not be parsed and count as wrong. Global-MMLU English is a fixed random sample of 2,000 questions. Scores are accuracy in percent (share of correct answers, higher is better); Δ is computed from the table against BF16.
| benchmark | questions | BF16 | int4/int8 (ours) | AWQ INT4 | Δ ours | Δ AWQ |
|---|---|---|---|---|---|---|
| MMLU-Pro (knowledge and reasoning) | 12,032 | 81.3 | 81.1 | 78.3 | −0.2 | −3.0 |
| IFEval, prompt-level strict (instructions) | 541 | 88.5 | 88.4 | 86.9 | −0.1 | −1.6 |
| GSM8K (math) | 1,319 | 94.5 | 94.8 | 94.6 | +0.3 | +0.1 |
| Belebele, lv/lt/et/hu/fi/sl/hr/sk (reading) | 7,200 | 91.1 | 90.8 | 90.0 | −0.3 | −1.1 |
| Global-MMLU, English | 2,000 | 79.8 | 79.5 | 77.5 | −0.3 | −2.3 |
| Global-MMLU, German/Czech/Polish | 6,000 | 72.5 | 72.4 | 70.7 | −0.1 | −1.8 |
We tested each difference with a paired bootstrap (1,000 resamples). The result is a 95% confidence interval: the range in which the true difference most likely lies. If the range includes zero, the difference may be chance. On MMLU-Pro the 95% interval for our build is −0.64 to +0.22 points, which includes zero; for AWQ it is −3.53 to −2.49, entirely below zero. The AWQ build is significantly below BF16 on MMLU-Pro, Belebele and both Global-MMLU rows. Our build is not significantly below BF16 on any row of this table. Looking at single languages, it is slightly but significantly below in Belebele Finnish (91.8 against 93.0) and Belebele English (96.0 against 96.6).
An all-4-bit variant of ours, built the same way, loses about 3 MMLU-Pro points just like AWQ (78.6). So the 8-bit parts appear to be what keeps general knowledge intact. That variant differs from the released build in more than bit width, so take this as a strong hint, not a proof.
Speed
All models on the same A100 80 GB (a data-centre GPU), vLLM 0.35.0rc1 nightly, 8k context, 380 translations of prompts around 270 tokens, temperature 0:
| model | weights in GPU memory | one request (p50) | 8 parallel | 16 parallel |
|---|---|---|---|---|
| int4/int8 (ours) | 17.3 GiB | 0.17 s | 26/s (p50 0.28 s) | 37/s (p50 0.40 s) |
| AWQ INT4 (cyankiwi QAT) | 15.6 GiB | 0.16 s | 34/s (p50 0.22 s) | 48/s (p50 0.30 s) |
How to read it: p50 is the median response time, so half the requests were faster. The parallel columns show throughput, the number of translations per second the server completes when 8 or 16 requests run at once; there, higher is better. One request at a time, the two are about equally fast. Under load the AWQ build serves about 25–30% more requests per second, because its weights are all 4-bit.
We did not measure the unquantized BF16 model on this setup.
Against other models
The card also compares the build with dense and MoE alternatives (a dense model uses all its parameters for every token). Two results matter for choosing a model:
- EuroLLM-22B-Instruct-2512 (BF16) is clearly better in Latvian, Lithuanian and Estonian on the support-chat test (7 bad lines against 33 for ours) and makes more mistakes in the other languages. It takes 42.2 GiB in GPU memory and is about 5× slower per request (0.82 s against 0.17 s p50).
- Qwen4-35B-A3B (BF16) is much stronger into Latvian, Lithuanian and Estonian on FLORES+ (89.12 against 84.96 for our build) and weaker into most other languages (English → the other 35 languages: 88.79 against 89.86). Into English the two are about equal. On one RTX 3090 at 8 parallel requests, our build runs 13 translations/s (p50 0.55 s), the community W4A16 Qwen4 build 6.4/s (p50 1.19 s).
If your traffic is mostly Baltic languages, those two are worth testing. Across all 38 languages on the support-chat test, our build had fewer bad lines in total than EuroLLM 22B (63 against 253) and, in a separate judging run, than Qwen4-35B-A3B BF16 (61 against 85).
Method notes
The checkpoint was produced with llm-compressor 0.15, using oneshot with GPTQModifier:
- dampening 0.01, maximum sequence length 2048;
moe_calibrate_all_experts=True, so every expert sees every calibration token;- fused experts unpacked first with
load_quantizable_moe.
The full recipe ships in the repository as recipe.yaml. It also uses static activation ordering, the memoryless_minmax observer and a GPTQ block size of 128.
Two constraints shaped the scheme. vLLM's MoE integer path needs the group strategy, and all projections of one expert must share one scheme. That is why the 8-bit experts use group size 704: it divides both 2816 and 704.
Calibration data is the sample text GPTQ uses to measure and correct rounding errors, so its content steers what the compressed model keeps best. Ours: 4,108 chat samples, about 600k tokens, 38 languages, both directions to and from English. A short translation instruction makes up 13% of tokens and non-English text 35%. Latvian, Lithuanian, Estonian, Hungarian, Finnish, Slovenian, Croatian and Slovak get double weight. The samples come from two sources:
- synthetic customer-support chat messages with the model's own translations (made by us; not released);
- sentence pairs from Tatoeba (CC BY 2.0 FR), grouped into multi-turn chats.
How to run it
The command from the model card, text only:
vllm serve darkaIO/gemma-4-26B-A4B-it-multilingual-int4-int8 --max-model-len 32768 \
--limit-mm-per-prompt '{"image":0,"video":0,"audio":0}' # text only; drop this line for images
This was tested with vLLM 0.35.0rc1 (nightly, 2026-12) on an H100, text input only.
On a 24 GB RTX 3090 the card reports a run with --gpu-memory-utilization 0.95 and multimodal inputs disabled. Adding that flag to the command above:
vllm serve darkaIO/gemma-4-26B-A4B-it-multilingual-int4-int8 --max-model-len 32768 \
--gpu-memory-utilization 0.95 \
--limit-mm-per-prompt '{"image":0,"video":0,"audio":0}'
With those settings the weights take 17.3 GiB and the KV cache, the memory the model uses to hold the text it is currently working on, holds about 63k tokens at --max-model-len 32768 (91k at 65536; 131072 does not fit). fp8 KV cache is not available on 3090-class GPUs. With prompts around 270 tokens, the 3090 did 0.20 s per translation alone, 13 translations/s at 8 parallel requests (p50 0.55 s) and 17/s at 16 (p50 0.84 s).
vLLM exposes an OpenAI-compatible API, so existing client code for that interface works unchanged. A request with the same prompt we used for FLORES+:
curl http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "darkaIO/gemma-4-26B-A4B-it-multilingual-int4-int8",
"temperature": 0,
"messages": [
{"role": "system", "content": "Translate the following text from English to Latvian. Reply with the translation only."},
{"role": "user", "content": "The meeting is moved to Friday."}
]
}'
All published evaluations used this layout: the instruction as the system message, the text to translate alone as the user message, temperature 0, and the model's own chat template with thinking off.
Limits and caveats
- Not lossless everywhere. Our build is significantly below BF16 in 7 of 38 target languages, most in Estonian (−1.0).
- Slower than AWQ under load. The INT8 layers cost about 25–30% throughput at 8 and 16 parallel requests on the A100, and the weights take 1.7 GiB more GPU memory (17.3 against 15.6 GiB, computed from the speed table).
- Baltic languages are still the weak spot of the base model. Even BF16 Gemma 4 scores lowest into Latvian, Lithuanian and Estonian among the eight. EuroLLM 22B and Qwen4-35B-A3B do better there.
- Calibration is translation-heavy. The calibration set is chat samples with translations. Knowledge, instruction-following and math held up in our tests, but we ran no coding benchmark.
- Support-chat results use an LLM judge on synthetic data, and the calibration half of that set is excluded from the reported numbers.
Links
- Model: darkaIO/gemma-4-26B-A4B-it-multilingual-int4-int8
- Base model: google/gemma-4-26B-A4B-it
- Evaluation outputs: darkaIO/flores-plus-translation-eval
- General benchmarks: lm-evaluation-harness
- Quantization: llm-compressor
- Benchmark: FLORES+
- Metric: COMET-22 (Unbabel/wmt22-comet-da)
- AWQ comparison build: cyankiwi/gemma-4-26B-A4B-it-qat-AWQ-INT4
- Calibration sentences: Tatoeba
The model is released under Apache-2.0, the same license as the base model. The base model is by Google DeepMind.
