I hate to beat a drum too long but I see this issue come up everyday… here is a comparison of the LD50 of advion vs borax… if you have a different product vs this please let me know and I will redact my statement if it is higher than advion
Borax has a ld50 of 2.66 g per kg meaning to kill half the population of a number of rats they infested 2.66g of borax per kg of their body weight.
Advion has an LD50 of 5000mg per kg (or to put into the same terms 5g per kg)
So essentially borax would be more lethal than the ant gel.
The question would be then, is it pure borax? If not then it is a chemical mixture with other ingredients in it as well and you would need information to determine if these were in fact organic or detergents that are synthesized with petroleum based solvents to aid the borax in some way. typically these would be considered inert and proprietary trade secrets.