Compare/Llama 3.1 Instruct 8B vs LFM2 24B A2B

Llama 3.1 Instruct 8BvsLFM2 24B A2B

Side-by-side comparison of pricing, 12 benchmarks, and generation speed.

Meta

Llama 3.1 Instruct 8B

Input
$0.1/M
Output
$0.1/M
Speed
194 tok/s
TTFT
0.47s
Liquid AI

LFM2 24B A2B

Input
$0.03/M
Output
$0.12/M
Speed
211 tok/s
TTFT
0.22s

Winner by Category

Cheaper
LFM2 24B A2B
Faster (tok/s)
LFM2 24B A2B
Lower Latency
LFM2 24B A2B
Benchmarks (10-2)
Llama 3.1 Instruct 8B

Pricing Comparison

MetricLlama 3.1 Instruct 8BLFM2 24B A2B
Input ($/M tokens)$0.1$0.03
Output ($/M tokens)$0.1$0.12
Cost for 1M input + 100K output tokens:
Llama 3.1 Instruct 8B$0.11
LFM2 24B A2B$0.04

Speed Comparison

Output Speed (tokens/s) — higher is better
Llama 3.1 Instruct 8B
194 tok/s
LFM2 24B A2B
211 tok/s
Time to First Token (seconds) — lower is better
Llama 3.1 Instruct 8B
0.47s
LFM2 24B A2B
0.22s

Benchmark Comparison

Data from Artificial Analysis API — 12 benchmarks

Intelligence Index
11.810.5
Coding Index
4.93.6
Math Index
4.3
GPQA Diamond
25.9%47.4%
MMLU-Pro
47.6%
LiveCodeBench
11.6%
AIME 2025
4.3%
MATH-500
51.9%
Humanity's Last Exam
5.1%4.4%
SciCode
13.2%10.9%
IFBench
28.6%45.9%
TerminalBench
0.8%0.0%
Llama 3.1 Instruct 8B10 wins
2 winsLFM2 24B A2B

Frequently Asked Questions

Which is cheaper, Llama 3.1 Instruct 8B or LFM2 24B A2B?

LFM2 24B A2B is cheaper overall. Its blended price (3:1 input/output ratio) is $0.05/M tokens vs $0.10/M for Llama 3.1 Instruct 8B.

Which model performs better on benchmarks?

Llama 3.1 Instruct 8B wins 10 out of 12 benchmarks compared to 2 for LFM2 24B A2B. See the detailed benchmark chart above for per-category results.

Which is faster for real-time applications?

LFM2 24B A2B generates tokens faster at 211 tok/s vs 194 tok/s. However, LFM2 24B A2B has lower time-to-first-token (0.22s vs 0.47s).

When should I use Llama 3.1 Instruct 8B vs LFM2 24B A2B?

Choose based on your priorities: LFM2 24B A2B for lower cost, Llama 3.1 Instruct 8B for stronger benchmark performance, and LFM2 24B A2B for faster generation. For latency-sensitive apps, check the TTFT comparison above.