On CPU, LFM2.5-Encoder-230M is fastest across all sequence lengths, even faster than the smaller ModernBERT-base on short inputs. As input length increases, ModernBERT's throughput drops sharply, while LFM2.5-Encoders first rise then plateau. At 8192 tokens, ModernBERT-base takes over 90 seconds per forward pass, while LFM2.5-Encoder-230M takes about 28 seconds, a speedup of approximately 3.7x.
On GPU, ModernBERT-base leads below about 1K tokens, while LFM2.5-Encoders take the lead from about 2K tokens onward, indicating faster performance for long inputs.