Best Zero-Shot Text Classification Model by Workload: DeBERTa, ModernBERT, bge-m3, Qwen3, gte or GLiClass
Short English text suits MoritzLaurer's DeBERTa zeroshot v2.0, long text ModernBERT, other languages bge-m3, and big label sets gte or GLiClass. Qwen3-Reranker-8B buys the most accuracy.
For short English text, the best zero-shot text classification model to start with is MoritzLaurer's deberta-v3-large-zeroshot-v2.0. ModernBERT-large-zeroshot-v2.0 suits longer English text, and bge-m3-zeroshot-v2.0 suits other languages. For hundreds of labels, the embedding model gte-large-en-v1.5 or a GLiClass checkpoint keeps cost flat as labels are added. When accuracy matters most and a GPU is available, Qwen3-Reranker-8B scored highest in the BTZSC benchmark of March 2026, at 0.72 average macro-F1.
The evidence behind these picks is uneven. BTZSC tested Qwen3-Reranker-8B and gte-large-en-v1.5 on 22 English datasets. It did not test the MoritzLaurer zeroshot v2.0 models or GLiClass, whose scores come from their authors on other datasets.
Each model type scores labels in a way that sets its cost and its limits.
A zero-shot classifier takes your text and a list of label names that you write at run time, and it returns a score for each label. The way that score is computed determines how the cost grows with more labels.
- An NLI cross-encoder, such as the MoritzLaurer DeBERTa and ModernBERT models, turns each label into a sentence like "This text is about sports" and scores whether the text supports it. That takes one forward pass per label.
- An embedding model, such as gte-large-en-v1.5, compares one vector for the text with stored vectors for the labels. The label vectors are computed once, so extra labels add almost no cost.
- A reranker, such as Qwen3-Reranker-8B, scores each pair of text and label description by comparing the probabilities of "yes" and "no" tokens. Like a cross-encoder, it needs one pass per label, but with an 8-billion-parameter model.
- The GLiClass design from Knowledgator processes the text and all labels together in one forward pass, and it supports multi-label output with a threshold.
The six classifier checkpoints differ in context length, languages and evidence.
Each row links the model to its official card and gives the quality figure that its evidence supports.
| Model | Best fit | Context and languages | Published quality evidence |
|---|---|---|---|
| Qwen3-Reranker-8B | Highest accuracy with a GPU | 32K tokens, 100+ languages | 0.72 macro-F1 on BTZSC |
| deberta-v3-large-zeroshot-v2.0 | Short English text | 512 tokens, English | 0.673 on author's 28 datasets |
| ModernBERT-large-zeroshot-v2.0 | Long English text, throughput | 8k tokens, English | Slightly below DeBERTa, per author |
| bge-m3-zeroshot-v2.0 | Multilingual text | 8,192 tokens, 100+ languages | Author's card, multilingual weaker |
| gte-large-en-v1.5 | Large label sets, low cost | 8,192 tokens, English | 0.62 macro-F1 on BTZSC |
| gliclass-large-v3.0 | Multi-label, many labels | Not stated on card | 0.7001 on Knowledgator's 14 datasets |
The two kinds of score in the last column cannot be ranked against each other. BTZSC, published by Ilias Aarab of the European Central Bank, ran 38 checkpoints on the same 22 English single-label datasets. The author scores for DeBERTa and GLiClass come from different dataset sets. facebook/bart-large-mnli scored 0.51 on BTZSC and 0.497 on Laurer's table, but one shared model is not enough to link the two rankings.
Short English text with a modest label count fits deberta-v3-large-zeroshot-v2.0.
Moritz Laurer's collection, updated January 6, 2025, calls deberta-v3-large-zeroshot-v2.0 the "most performant model" in his series. Its card reports 0.673 mean macro-F1 across 28 datasets, none of which was used in training. The model has 0.43 billion parameters, accepts 512 tokens and runs on CPUs as well as GPUs.
The licence of the training data needs checking before you ship. Models without "-c" in the name include data under mixed licences. The "-c" version uses only commercially friendly data and scores 0.676 on the same table. For lower compute, deberta-v3-base-zeroshot-v2.0 has 0.18 billion parameters and scores 0.643.
BTZSC found that NLI cross-encoders plateau as the backbone grows, so a larger model of this type is not a reliable way to gain accuracy.
Long English documents fit ModernBERT-large-zeroshot-v2.0 or gte-large-en-v1.5.
ModernBERT-large-zeroshot-v2.0 accepts an 8k window. Its author describes it as "slightly less accurate" than DeBERTa but "multiple times faster" with "multiple times less memory". The card reports a mean of 1,116 texts per second on an A100 40GB at batch size 32. The author plans a newer version to make full use of the 8k window, so long-input results should be tested rather than assumed.
gte-large-en-v1.5 also accepts 8,192 tokens and scored 0.62 macro-F1 on BTZSC. The BTZSC documents averaged at most 293 tokens, however. No published benchmark covers either model on long documents, so their long-document accuracy has not been measured.
Multilingual text fits bge-m3-zeroshot-v2.0, with translation and Qwen3 as alternatives.
bge-m3-zeroshot-v2.0 covers more than 100 languages and accepts 8,192 tokens. Its card warns that multilingual models perform worse than English-only ones. The collection suggests machine translation into English, followed by an English-only model, as an alternative that can perform better. Qwen3-Reranker-8B also covers more than 100 languages, and its card recommends writing its instructions in English. BTZSC tested English only, so no independent multilingual comparison exists.
Hundreds of labels or multi-label output fit an embedding model or GLiClass.
Cross-encoders and rerankers grow slower with every label. GLiClass keeps the slowdown small. On an A6000 at batch size 1, gliclass-large-v3.0 processes 29.27 examples per second with 8 labels and 17.60 with 128 labels. Its Apache-2.0 licence and built-in classification_type='multi-label' option suit tagging tasks, with a threshold that you set per call.
The smallest checkpoint shows the trade-off. gliclass-edge-v3.0 has 32.7 million parameters and runs at 97.29 examples per second on average. Its average F1 falls to 0.4873, and it scores 0.0272 on the banking intent dataset, so it needs testing on your own labels.
An embedding model avoids per-label cost entirely, because label vectors are stored once. Aarab found that strong embedding models give the best trade-off between accuracy and latency in BTZSC.
The highest accuracy fits Qwen3-Reranker-8B, at the cost of a larger GPU.
Qwen3-Reranker-8B scored 0.72 macro-F1 and 0.76 accuracy on BTZSC, ahead of Mistral-Nemo-Instruct-2407 at 0.67 and Qwen3-8B at 0.66. It has 8 billion parameters, so its BF16 weights take about 16 GB. It accepts 32K tokens under an Apache-2.0 licence and needs transformers 4.51.0 or later. The smaller Qwen3-Reranker-0.6B scored 0.61, higher than every NLI cross-encoder in the study.
Parsec's TOD returns one probability per supplied option but has no result on these benchmarks.
Parsec, a small language model lab, publishes TOD as a "universal decision model" that ranks a supplied list of options. The release that Parsec's page labels "TOD decision v1 release evaluation, 29 September 2026" ships as LoRA adapters on google/gemma-4-12B-it plus a ModernBERT-base retriever. The Gemma base weights are not included and must be obtained under Gemma 4's terms. Its predict function returns one probability per option, summing to 1, so it gives a single choice rather than independent multi-label scores. TOD only scores the options and does not carry out actions. Parsec's TOD page lists a price of $0.30 per 1,000 decisions. On Parsec's own JevBench test, this release scored below its untrained base model, and Parsec states that the regression will be fixed in the next release. It was not part of BTZSC, and the Tribune has not measured it on text classification.
A batch job on a rented GPU costs a few dollars a month, while an always-on endpoint costs hundreds.
The cost example uses 1 million short English documents a month and 10 labels. Prices are Hugging Face Inference Endpoints list rates on AWS, which are billed by the minute while an endpoint is running. The assumptions are as follows:
- ModernBERT runs at the 1,116 texts per second that its card reports on an A100 40GB. Each pair of text and label is counted as one text, because the card does not state how labels enter that figure. The job runs on an A100 80GB at $2.50 an hour, which is assumed to be no slower.
- gliclass-large-v3.0 runs at its 8-label speed of 29.27 examples per second at batch size 1. The A6000 used for that figure is not on the price list, so an L40S at $1.80 an hour is assumed to match it.
- Always-on endpoints run 730 hours a month, whatever the traffic.
| Setup | Compute needed | Price per hour | Cost per month |
|---|---|---|---|
| ModernBERT batch job, A100 80GB | 10 million pairs, about 2.5 hours | $2.50 | About $6 |
| gliclass-large-v3.0 batch job, L40S | 1 million texts, about 9.5 hours | $1.80 | About $17 |
| Always-on T4 endpoint | 730 hours | $0.50 | $365 |
| Always-on L40S endpoint | 730 hours | $1.80 | $1,314 |
| Always-on A100 80GB endpoint | 730 hours | $2.50 | $1,825 |
The result shows that the model matters less to the bill than the way it is served. A nightly batch job on a rented GPU costs a few dollars, while keeping any GPU online all month costs hundreds or more. Startup time is not included in the batch figures. The DeBERTa card states that the model runs on CPUs, and a 4-vCPU endpoint lists at $0.134 an hour, but its CPU throughput has not been measured. No throughput figure is published for Qwen3-Reranker-8B, so its cost per document cannot be computed. Its 16 GB of weights fit on the 48 GB L40S.
A test on your own documents shows which finalist fits your workload.
No one has published p50 and p95 latency, peak memory and cost for all of these models on the same hardware, and the Tribune has not run that test. Confidence scores also need calibration. Guo and co-authors showed at ICML 2017 that modern neural networks are poorly calibrated, so thresholds for multi-label output or for sending a document to a person must be set on labeled data.
A fair test follows these steps:
- Label a few hundred real documents per class, and keep the data that you use for choosing thresholds separate from the final test set.
- Pin each model revision, and record the GPU, precision, batch size and maximum input length.
- Report macro-F1 for each dataset, with single-label and multi-label tasks scored separately.
- Measure p50 and p95 latency and peak memory at your real label count, and again at twice that count.
- Count the documents that exceed each model's context limit, because those documents are truncated.
- Report coverage at your target error rate, which shows how much work the model can take on alone.
Some tasks need no model. Fixed keywords, product codes or sender addresses are cheaper to handle with rules that are easy to audit. When zero-shot scores stay below target, a fine-tuning experiment is the next step. The DeBERTa card reports 0.846 mean macro-F1 with up to 500 examples per class, against 0.673 zero-shot, on the author's datasets. That gain may not appear on other data, so the same held-out test set should judge it.
Sources
- BTZSC: A Benchmark for Zero-Shot Text Classification Across Cross-Encoders, Embedding Models, Rerankers and LLMs: https://arxiv.org/html/2603.11991v1
- Zeroshot Classifiers, a MoritzLaurer collection: https://huggingface.co/collections/MoritzLaurer/zeroshot-classifiers
- MoritzLaurer/deberta-v3-large-zeroshot-v2.0: https://huggingface.co/MoritzLaurer/deberta-v3-large-zeroshot-v2.0
- MoritzLaurer/ModernBERT-large-zeroshot-v2.0: https://huggingface.co/MoritzLaurer/ModernBERT-large-zeroshot-v2.0
- MoritzLaurer/bge-m3-zeroshot-v2.0: https://huggingface.co/MoritzLaurer/bge-m3-zeroshot-v2.0
- Qwen/Qwen3-Reranker-8B: https://huggingface.co/Qwen/Qwen3-Reranker-8B
- Alibaba-NLP/gte-large-en-v1.5: https://huggingface.co/Alibaba-NLP/gte-large-en-v1.5
- GLiClass repository: https://github.com/Knowledgator/GLiClass
- knowledgator/gliclass-large-v3.0: https://huggingface.co/knowledgator/gliclass-large-v3.0
- knowledgator/gliclass-edge-v3.0: https://huggingface.co/knowledgator/gliclass-edge-v3.0
- On Calibration of Modern Neural Networks: https://arxiv.org/abs/1706.04599
- Hugging Face Inference Endpoints pricing: https://huggingface.co/docs/inference-endpoints/pricing
- Parsec, TOD: https://parseclab.ai/tod/
- Parsec, TOD model card: https://huggingface.co/parsecai/tod
- Parsec, TOD repository: https://github.com/daseinlabs/tod