A retainer is often thought of as a single payment of money in advance from which a company draws down invoices to consume the balance. This is true of law firms where money is paid into a trust account, and then the law firm bills against the estimated trust account cost.
Sometimes a retainer is referred to as being a recurring monthly prepaid charge. For example, you may have a retainer with a marketing firm of $2,000 per month where they complete an agreed level of services. Companies must show how they've used the budget, equate the value on an ongoing basis, and mitigate any undercharges or overcharges. Ideally, if this is done well, the payment per month doesn't change, the client continues to see the value, and any adjustments are made by unused balance being carried forward and overages being allowed up to a certain limit.