Retainer

A fee paid to a person (this term is usually used for lawyers) before work is performed by them in order to secure any needed services for a length of time.