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 | ||||
Spearmen | 10 | 10 | 5 | 1 | 1 | |
Gielinor Warrior | 20 | 15 | 5 | 2 | 2 | |
Archer |
20 |
10 | 5 | 3 | 3 | |
Swordsmen | 20 | 20 | 3 | 2 |