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.075/M
Output
$0.095/M
Speed
154 tok/s
TTFT
0.55s
Liquid AI

LFM2 24B A2B

Input
$0.03/M
Output
$0.12/M
Speed
126 tok/s
TTFT
0.33s

Winner by Category

Cheaper
LFM2 24B A2B
Faster (tok/s)
Llama 3.1 Instruct 8B
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.075$0.03
Output ($/M tokens)$0.095$0.12
Cost for 1M input + 100K output tokens:
Llama 3.1 Instruct 8B$0.08
LFM2 24B A2B$0.04

Speed Comparison

Output Speed (tokens/s) — higher is better
Llama 3.1 Instruct 8B
154 tok/s
LFM2 24B A2B
126 tok/s
Time to First Token (seconds) — lower is better
Llama 3.1 Instruct 8B
0.55s
LFM2 24B A2B
0.33s

Benchmark Comparison

Data from Artificial Analysis API — 12 benchmarks

Intelligence Index
7.64.9
Coding Index
5.4
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.08/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?

Llama 3.1 Instruct 8B generates tokens faster at 154 tok/s vs 126 tok/s. However, LFM2 24B A2B has lower time-to-first-token (0.33s vs 0.55s).

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 Llama 3.1 Instruct 8B for faster generation. For latency-sensitive apps, check the TTFT comparison above.