SAVRN Model Hub · Comparisons
ModernBERT-large vs xlm-roberta-large
ModernBERT-large has 396M parameters and xlm-roberta-large has 561M parameters; ModernBERT-large is released under Apache License 2.0 and xlm-roberta-large under MIT License; at 16-bit, ModernBERT-large needs about 1 GB (1x MI300X from $1.85 an hour) and xlm-roberta-large about 1.3 GB (1x MI300X from $1.85 an hour).
| Field | ModernBERT-large answerdotai/ModernBERT-large | xlm-roberta-large FacebookAI/xlm-roberta-large |
|---|---|---|
| Publisher | Answer.AI | Facebook AI community |
| Task | Fill mask | Fill mask |
| Modality | Text | Text |
| Parameters, as reported | 396M parameters | 561M parameters |
| Architecture | ModernBertForMaskedLM | XLMRobertaForMaskedLM |
| Library | transformers | transformers |
| Context length | 8,192 tokens | 514 tokens |
| Repository size | 7.9 GB | 11.2 GB |
| Artifact formats | safetensors, onnx, pytorch | safetensors, onnx, pytorch, jax, tf |
| License | apache-2.0 | mit |
| Access | Open weights, no gate | Open weights, no gate |
| Memory at 16-bit (weights and margin) | 1 GB | 1.3 GB |
| Cheapest GPUs at 16-bit, per hour | 1x MI300X, $1.85 | 1x MI300X, $1.85 |
| Memory at 4-bit (weights and margin) | 0.2 GB | 0.3 GB |
| Cheapest GPUs at 4-bit, per hour | 1x MI300X, $1.85 | 1x MI300X, $1.85 |
| Revision viewed | 45bb4654a4d5 | c23d21b0620b |
| Downloads reported by the hub | 750.2k | 3.2M |
| Last observed | 2026-09-18 | 2026-09-18 |
An evaluation row appears only where at least two of these models report the same benchmark with the same stated configuration, metric, unit and setup. Different evaluators stay named in each cell. Values are shown as reported: no unit conversion, no ranking.
Questions
Which is larger, ModernBERT-large or xlm-roberta-large?
xlm-roberta-large (561M parameters) is larger than ModernBERT-large (396M parameters), by the parameter counts their publishers report.
Which is cheaper to run, ModernBERT-large or xlm-roberta-large?
At 4-bit, ModernBERT-large fits on 1x MI300X from $1.85 an hour and xlm-roberta-large on 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.
Can I use ModernBERT-large commercially?
Yes. ModernBERT-large is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.
Can I use xlm-roberta-large commercially?
Yes. xlm-roberta-large is released under MIT License. The MIT License is a short permissive license. It permits commercial use, modification and redistribution, provided the copyright notice and permission notice are included.