In total there are 27 different commanders and they each have their own traits and skills that places them in a certain category which you needs to take into careful consideration when choosing a commander. The skills are especially important as they are easier to work on as they are based on the commander’s level, this means choosing the best skills based on a commander’s type will make them even better.
In total there are 11 types of commanders, their traits are as follows:
Leader
Grants powerful buffs to the unit.
Defender
Good at garrisoning (assign them at the wall)
Attacker
Good at attacking enemies' base.
Support
Helps friendly forces in the battle.
Infantry
Provides buff to the infantry units.
Archer
Archer type commanders can increase the archer units' attack and marching speed.
Cavalry
If you have cavalry units (more than other types), then send this type of hero as their skill's buff can increse the marching speed and attack power.
Gatherer
Increases the gathering speed (send them for gathering the resources on the map).
Nuker
Powerful active skills
Jungler
Has advantage when dealing with barbarians.
Disabler
Limit the enemy's battle capability
Best Overall Commander
Ultimately when it comes down to it there is no best commander, but if you were to choose one for all the nations it would be Tomoe Gozen, the late twelfth-century female samurai warrior who was known for her bravery and strength. Her four skills are Blood Sakura, Devine Bow, Beauty in Chaos and Eternal love. Tomoe Gozen's two traits are Archer and Support.
Best Commander for Attacking
Julius Caesar is without doubt the best attacker in the game and possesses amazing skills. The downside to this commander is that he is hard to get.
Best Commander for Defending
Charles Martel is a great choice to keep in your garrison to defend your resources. He possesses good skills and the more you unlock the better he gets.
Best Commmander for Gathering
Joan of Arc's trait is gathering resources and she is the in the game at it once you unlock her second skill as it gives her a massive boost to both gathering speed and also load capacity.
Best of the Rest
Others commanders you may want to consider are Pelaguis, Cao Cao, Minimoto no Yoshitsune, Boudica, and Scipio who are good attackers. If you are looking for a commander that also defends then Pelagius and Herman will be near the top of your list.
Below is a video showcasing all 27 commanders.
We have questions and answers related to this topic which may also help you: