Tallywell.

Peanuts (roasted) vs Almonds

Both count toward 30 plants a week.

Peanuts (roasted)Almonds
Protein · per 100 g25.8 g21.2 g
Fiber · per 100 g8.5 g12.5 g
Energy · per 100 g567 kcal579 kcal
Protein · per 100 kcal4.6 g3.7 g
To hit 30 g protein116 g · 659 kcal142 g · 819 kcal

Bold marks the better side of each row. "Per 100 kcal" answers the density question — which food delivers more protein for the energy it costs. Portion row is computed live from the same USDA base values shown on each food page.