I got these 1 gallon glass jars from Amazon for fermentation but you could totally use them for a terrarium. 4 for $30 seemed like a pretty good price to me. That is, if you think you could use 4 of them. The lids are plastic so they won't be as pretty as a glass top, though.
Paksh Novelty 1-Gallon Glass Jar Wide Mouth with Airtight Plastic Lid - USDA Approved BPA-Free Dishwasher Safe Mason Jar for Fermenting, Kombucha, Kefir, Storing and Canning Uses, Clear (4 Pack) https://www.amazon.com/dp/B01DWR75W8/ref=cm_sw_r_cp_apa_EPQ0AbVXS1GVD
I use these for all sorts of things. Here they are on Amazon, but I bought mine at a Chinese super market for $3 each. They are super versatile and the big opening is perfect for all sorts of fermentation.
https://www.amazon.com/Paksh-Novelty-1-Gallon-Airtight-Plastic/dp/B01DWR75W8
Drill a half inch (12-13mm) hole in the lid, put a grommet in it. Any online homebrew supplier will sell these. You may even be able to find them at a brick and mortar hardware or homebrewer shop:
https://labelpeelers.com/grommet-5108/
and an airlock through the grommet. Same. Easy to find.
https://labelpeelers.com/equipment/air-locks/twin-bubble-air-lock/
You'll be good to go. Just a few bucks. The jars may be the expensive part, but the alternative is just use a large pickle jar instead. i've done that before in a pinch. The lids are also typically acid resistant, which is perfect.