The different military units have different stats. I'll try to summarise them for you:
Military Resource Requirements Table
Military Unit | Resources to Train | Resources to Support | Base Military Value | |||||
Spearmen | 10 | 10 | 5 | 1 | 1 | 5 | ||
Gielinor Warrior | 20 | 15 | 5 | 2 | 2 | |||
Archer |
20 |
10 | 5 | 3 | 3 | |||
Swordsmen | 20 | 20 | 3 | 2 | 9 | |||
Scout | 4 | 2 |