I found this insect, in multiple zones of Imbabura - Ecuador. https://en.wikipedia.org/wiki/Imbabura_Province
Sorry for not having something to scale with, but it's about 15 cm long.
That is a male dobsonfly. I know this is a male because it has long mandibles which are used in mating. Female dobsonflies have short mandibles. larval dobsonflies are called hellgramites,and it really hurts a lot when they bite you.Look here https://en.wikipedia.org/wiki/Dobsonfly or here entnemdept.ufl.edu/creatures/misc/eastern_dobsonfly.htm
Not Corydalus cornutus. That species is only found in Eastern North America. There are several other Corydalus species found in that part of South America. It would require an expert in them to get a more specific ID. Note that the pictures are of two different insects as well. The one on top is a male, the bottom one a female (as the earlier answer noted, females have shorter, more robust and powerful mandibles, though males and females can each draw blood with a nip (personal experience)).