The cost of getting rid of ants will vary depending on the severity of the infestation and the size of your home. If you have a small problem, you may be able to get rid of ants yourself with some DIY methods. However, if you have a large infestation or your home is difficult to treat, you may need to hire an exterminator. The average cost for an exterminator to come out and spray for ants is about $300