I would use an indoor bait that will be carried back to the nest. I would also follow up with an outdoor treatment to get any nearby nests.
I buy the professional grade products as the work better than the local store products. After you knock them out, you want to spray preventatively in the spring and fall.
Here is what i would use.
Indoor gel, you can apply a bit in several places with the syringe. You don't need a ton of this. And it can be used in crevces like outlet boxes.
$21
https://www.domyown.com/maxforce-carpenter-ant-bait-gel-p-112.html
For outdoor elimination and barrier I use this, it cannot be detected tasted by the ants/ termites and is carried back to the nest, not for quick knockdown. A bottle will last for years, unless you are doing a trench termite treatment. It's A generic version of Terminx's Termidor product, but less expensive, same concentration.
$43
but is very effective professional product and will usually last you for years.
https://www.domyown.com/taurus-sc-termit...amp;sub_id=1817
Once you have them eliminated, spray with this spring and fall for prevention, this also keeps spiders down. I spray around the foundation adn up inside and outside corners. ( I also spray a bit in liriope as ants seem to like to build nests in the roots) Its inexpensive. It is a wettable powder so it does not really dissolve. just clean out the sprayer, after use, don't let it sit or it will clog.
$8
and will make about 2 gallons( comes in 4 packets, 2 packs to a gallon)
Its Cypermethrin 40% ( compare that to any home depot or lowes product and see the percentage difference).
https://www.domyown.com/demon-wp-insecticide-p-74.html
Basically less than the cost of one exterminator treatment, you can knock this out with the same quality products they use. The Taurus will be enough to last years. you may not even need it that often if you do preventative treatments with the Demon product.
DO follow the directions to a T, be responsible. Avoid wells and becareful about runoff to ponds with any product.
Also for prevention, do not leave pet food out all the time, indoors or out. I measure amounts and feed my animals twice a day. They maintain a healthy weight better than all day access to food.
Food out all the time WILL attract ants.